Exemplo n.º 1
0
 public static IPolygon Apply(this Rotation2 @this, IPolygon polygon)
 {
     return(new Polygon(polygon.Contours.Select(c => @this.Apply(c))));
 }
Exemplo n.º 2
0
 public static IOpenPolyline Apply(this Rotation2 @this, IOpenPolyline line)
 {
     return(new OpenPolyline(line.Vertices.Select(v => @this.Apply(v))));
 }