Click or drag to resize
DigitalRunePoseDMultiply Operator (PoseD, PoseD)
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 PoseD operator *(
	PoseD p1,
	PoseD p2
)

Parameters

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

Return Value

Type: PoseD
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 PoseD of a CompositeShape and p2 is the PoseD 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