C# Class MapAround.CoordinateSystems.Transformations.GeometryTransformer

Applies transformation to geometries' coordinates.
Datei anzeigen Open project: gkrsu/maparound.core Class Usage Examples

Public Methods

Method Description
TransformBoundingRectangle ( BoundingRectangle box, IMathTransform transform ) : BoundingRectangle

Transforms coordinates of the bounding rectangle.

TransformContour ( Contour contour, IMathTransform transform ) : Contour

Transforms coordinates of the contour.

TransformLinePath ( LinePath linePath, IMathTransform transform ) : LinePath

Transforms coordinates of the line path.

TransformMultiPoint ( MultiPoint multiPoint, IMathTransform transform ) : MultiPoint

Transforms coordinates of the multipoint.

TransformPoint ( PointD p, IMathTransform transform ) : PointD

Transforms coordinates of the point geometry.

TransformPolygon ( Polygon polygon, IMathTransform transform ) : Polygon

Transforms coordinates of the polygon.

TransformPolyline ( Polyline polyline, IMathTransform transform ) : Polyline

Transforms coordinates of the polyline.

TransformSegment ( Segment s, IMathTransform transform ) : Segment

Transforms coordinates of the segment.

Method Details

TransformBoundingRectangle() public static method

Transforms coordinates of the bounding rectangle.
public static TransformBoundingRectangle ( BoundingRectangle box, IMathTransform transform ) : BoundingRectangle
box BoundingRectangle Rectangle to transform
transform IMathTransform The transformation to apply
return BoundingRectangle

TransformContour() public static method

Transforms coordinates of the contour.
public static TransformContour ( Contour contour, IMathTransform transform ) : Contour
contour Contour Contour to transform
transform IMathTransform The transformation to apply
return Contour

TransformLinePath() public static method

Transforms coordinates of the line path.
public static TransformLinePath ( LinePath linePath, IMathTransform transform ) : LinePath
linePath LinePath Line path to transform
transform IMathTransform The transformation to apply
return LinePath

TransformMultiPoint() public static method

Transforms coordinates of the multipoint.
public static TransformMultiPoint ( MultiPoint multiPoint, IMathTransform transform ) : MultiPoint
multiPoint MultiPoint Multipoint to transform
transform IMathTransform The transformation to apply
return MultiPoint

TransformPoint() public static method

Transforms coordinates of the point geometry.
public static TransformPoint ( PointD p, IMathTransform transform ) : PointD
p PointD Point to transform
transform IMathTransform The transformation to apply
return PointD

TransformPolygon() public static method

Transforms coordinates of the polygon.
public static TransformPolygon ( Polygon polygon, IMathTransform transform ) : Polygon
polygon Polygon Polygon to transform
transform IMathTransform The transformation to apply
return Polygon

TransformPolyline() public static method

Transforms coordinates of the polyline.
public static TransformPolyline ( Polyline polyline, IMathTransform transform ) : Polyline
polyline Polyline Polyline to transform
transform IMathTransform The transformation to apply
return Polyline

TransformSegment() public static method

Transforms coordinates of the segment.
public static TransformSegment ( Segment s, IMathTransform transform ) : Segment
s Segment Segment to transform
transform IMathTransform The transformation to apply
return Segment