Matrix2d.CreateMirroring Method

Creates a matrix that reflects stuff over the line passing through two given points.
public static Matrix2d CreateMirroring( 
   Point2d p1
   Point2d p2 
)

Parameters

p1
Point2d

The first point of the mirror line.

p2
Point2d

The second point of the mirror line.

Return Value

Matrix2d

A new scaling matrix.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition