Click or drag to resize
DigitalRunePoseMultiply Operator (Pose, Pose)
Multiplies two poses.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static Pose operator *(
	Pose p1,
	Pose p2
)

Parameters

p1
Type: DigitalRune.GeometryPose
The first pose p1.
p2
Type: DigitalRune.GeometryPose
The second pose p2.

Return Value

Type: Pose
The product of p1 and p2: p1 * p2.
Remarks

When product (p1 * p2) is applied to a vector v the transformation are applied in the following order: v' = p1 * p2 * v
That means, the vector is first transformed by p2 and then by p1.

Example: If p1 is the Pose of a CompositeShape and p2 is the Pose of a child IGeometricObject in the CompositeShape, the pose p2 transforms from child's space to the CompositeShape's space and p1 transforms from the CompositeShape's space to world space. The result of the multiplication p1 * p2 is a pose that transforms directly from the child's space to world space.

See Also