|
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
)
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
Parameters
- pointOnMirrorPlane
- Type: Karamba.GeometryPoint3
Point on the mirror plane. - normalToMirrorPlane
- Type: Karamba.GeometryVector3
Normal vector to the mirror plane.
Return Value
Type:
Transform3A transformation matrix which mirrors geometry in a specified plane.
See Also