/// <summary> /// 按直线的镜像矩阵 /// </summary> /// <param name="start"></param> /// <param name="end"></param> /// <returns></returns> public static Matrix2D Mirror(Point2D start, Point2D end) { return(Matrix2D.Mirror(start, end - start)); }
public Vector2D Mirror(Vector2D vec) { return(TransformBy(Matrix2D.Mirror(vec))); }
/// <summary> /// /// </summary> /// <param name="line"></param> /// <returns></returns> public static Matrix2D Mirror(LineSegment2D line) { return(Matrix2D.Mirror(line.StartPoint, line.EndPoint)); }