public int Transform2D( Coordinate2D[] inCoordinates, ProjectionTransformation projectionTransformation, ref Coordinate2D[] outCoordinates, bool removeClippedCoordinates )
Public Function Transform2D( _ ByVal inCoordinates() As Coordinate2D, _ ByVal projectionTransformation As ProjectionTransformation, _ ByRef outCoordinates As Coordinate2D(), _ Optional ByVal removeClippedCoordinates As Boolean _ ) As Integer
Parameters
- inCoordinates
- The array of coordinates to be transformed.
- projectionTransformation
- The projection transformation specifying the input and output spatial references and possibly the geographic transformations to use for the transformation.
- outCoordinates
- The array of transformed coordinates. If it is null or the length is less than the length of inCoordinates, then a new array will be allocated.
- removeClippedCoordinates
- (Optional) The boolean value specifying whether to remove clipped coordinates or not. If true, the coordinates outside of the horizon will be removed from the output array, and the number of initialized elements in the output array is the number of coordinates transformed which may be less than the number of elements in inCoordinates. If false, all coordinates are preserved, the clipped out coordinates are set to NaN in the output array, and the number of elements in the output array is equal to the number of elements in inCoordinates. The default value is false.
Return Value
The number of transformed coordinates.