Transform3Mirror(Point3, Vector3) Method

Create mirror transformation matrix The mirror transform maps a point Q to Q - (2*(Q-P)oN)*N, where P = pointOnMirrorPlane and N = normalToMirrorPlane.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public static Transform3 Mirror(
	Point3 pointOnMirrorPlane,
	Vector3 normalToMirrorPlane
)

Parameters

pointOnMirrorPlane  Point3
Point on the mirror plane.
normalToMirrorPlane  Vector3
Normal vector to the mirror plane.

Return Value

Transform3
A transformation matrix which mirrors geometry in a specified plane.

See Also