This document is archived and information here might be outdated. Recommended version. |
Same as ProjectEx, but with additional parameter projectionHint.
[Visual Basic .NET] Public Sub ProjectEx5 ( _ ByVal newReferenceSystem As ISpatialReference, _ ByVal Direction As esriTransformDirection, _ ByVal Transformation As ITransformation, _ ByVal bAngularDensify As Boolean, _ ByVal maxSegmentLength As Double, _ ByVal maxDeviation As Double, _ ByVal ProjectionHint As Integer _ )
[C#] public void ProjectEx5 ( ISpatialReference newReferenceSystem, esriTransformDirection Direction, ITransformation Transformation, bool bAngularDensify, double maxSegmentLength, double maxDeviation, int ProjectionHint );
[C++]
HRESULT ProjectEx5(
ISpatialReference* newReferenceSystem,
esriTransformDirection Direction,
ITransformation* Transformation,
VARIANT_BOOL bAngularDensify,
double maxSegmentLength,
double maxDeviation,
long ProjectionHint
);
[C++] Parameters newReferenceSystem
newReferenceSystem is a parameter of type ISpatialReference* Direction
Direction is a parameter of type esriTransformDirection Transformation
Transformation is a parameter of type ITransformation* bAngularDensify
bAngularDensify is a parameter of type bool maxSegmentLength
maxSegmentLength is a parameter of type double maxDeviation
maxDeviation is a parameter of type double ProjectionHint
ProjectionHint is a parameter of type long
The projectionHint parameter contains information about whether a geometry will cross the coordinate system horizons. If it doesn't, parts of the code that check this and intersect the geometry with the horizons can be omitted. This can dramatically improve performance. Use ISpatialReference3::ProjectionHint to initialize this parameter.
By default, ProjectEx will not densify geometries as they are projected. This can lead to the output geometries not reflecting the 'true' shape in the new coordinate system. A straight line in one coordinate system is not necessarily a straight line in a different coordinate system. Set the bAngularDensify parameter if you want to densify the geometries while they are projected.