Creates a transform that represents a reflection across the given plane.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2014
Syntax
Visual Basic |
---|
Public Shared Function CreateReflection ( _
plane As Plane _
) As Transform |
Return Value
The new transform.
Examples
CopyC#
private Transform Reflect(ReferencePlane refPlane)
{
Transform mirTrans = Transform.CreateReflection(refPlane.GetPlane());
return mirTrans;
}
CopyVB.NET
Private Function Reflect(refPlane As ReferencePlane) As Transform
Dim mirTrans As Transform = Transform.CreateReflection(refPlane.GetPlane())
Return mirTrans
End Function
Exceptions
See Also