Click or drag to resize

Transform3Mirror Method (Point3, Vector3)

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

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Transform3 Mirror(
	Point3 pointOnMirrorPlane,
	Vector3 normalToMirrorPlane
)

Parameters

pointOnMirrorPlane
Type: Karamba.GeometryPoint3
Point on the mirror plane.
normalToMirrorPlane
Type: Karamba.GeometryVector3
Normal vector to the mirror plane.

Return Value

Type: Transform3
A transformation matrix which mirrors geometry in a specified plane.
See Also