int Transform3D( Coordinate3D[] inCoordinates, ProjectionTransformation projectionTransformation, ref Coordinate3D[] outCoordinates, bool removeClippedCoordinates )
Function Transform3D( _ ByVal inCoordinates() As Coordinate3D, _ ByVal projectionTransformation As ProjectionTransformation, _ ByRef outCoordinates() As Coordinate3D, _ Optional ByVal removeClippedCoordinates As Boolean _ ) As Integer
Parameters
- inCoordinates
- The set 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 set 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 true.
Return Value
The number of transformed coordinates.