M_Rhino_Geometry_Transform_Mirror_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Transform.Mirror Method (Point3d, Vector3d)

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: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Transform Mirror(
	Point3d pointOnMirrorPlane,
	Vector3d normalToMirrorPlane
)

VB

Public Shared Function Mirror ( 
	pointOnMirrorPlane As Point3d,
	normalToMirrorPlane As Vector3d
) As Transform

Parameters

 

pointOnMirrorPlane
Type: Rhino.Geometry.Point3d
Point on the mirror plane.
normalToMirrorPlane
Type: Rhino.Geometry.Vector3d
Normal vector to the mirror plane.

Return Value

Type: Transform
A transformation matrix which mirrors geometry in a specified plane.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Transform Structure
Mirror Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️