Method Mirror
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Mirror(GeoPlane3)
Creates a mirroring across a plane.
public static GeoTransform3 Mirror(GeoPlane3 plane)
Parameters
planeGeoPlane3The mirror plane.
Returns
Remarks
Mirroring reverses handedness, so its determinant is negative and shapes come back with their winding flipped: a polygon normal points the other way afterwards.
A plane at 45 degrees swaps two coordinates, and its matrix has whole numbers for entries: (0, 10) across the plane y = x comes to (10, 0) and across y = x - 50 to (60, -50), where built from the unit normal (0.7071067811865476, -0.7071067811865476) every entry was a last digit off and the first came to 10.000000000000002. The matrix is built from the normal divided by its greatest component, over its squared length.