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.
Namespace: Karamba.GeometryAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static Transform3 Mirror(
Point3 pointOnMirrorPlane,
Vector3 normalToMirrorPlane
)
Public Shared Function Mirror (
pointOnMirrorPlane As Point3,
normalToMirrorPlane As Vector3
) As Transform3
public:
static Transform3 Mirror(
Point3 pointOnMirrorPlane,
Vector3 normalToMirrorPlane
)
static member Mirror :
pointOnMirrorPlane : Point3 *
normalToMirrorPlane : Vector3 -> Transform3
- pointOnMirrorPlane Point3
- Point on the mirror plane.
- normalToMirrorPlane Vector3
- Normal vector to the mirror plane.
Transform3A transformation matrix which mirrors geometry in a specified plane.