Interface IGeometry5
Provides access to members that extend the IGeometry interface with a more sophisticated projection method.
[Guid("134B247E-83F6-471C-9AD1-11C35312D5EF")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IGeometry5 : IGeometry4, IGeometry3, IGeometry2, IGeometry
Properties
CentroidEx
The center of gravity (centroid).
IPoint CentroidEx { get; }
Property Value
Changed
bool Changed { get; set; }
Property Value
Dimension
esriGeometryDimension Dimension { get; }
Property Value
Envelope
IEnvelope Envelope { get; }
Property Value
GeometryType
esriGeometryType GeometryType { get; }
Property Value
IsEmpty
bool IsEmpty { get; }
Property Value
SpatialReference
ISpatialReference SpatialReference { get; set; }
Property Value
Methods
GeoNormalize()
void GeoNormalize()
GeoNormalizeFromLongitude(double)
void GeoNormalizeFromLongitude(double Longitude)
Parameters
Longitudedouble
Project(ISpatialReference)
void Project(ISpatialReference newReferenceSystem)
Parameters
newReferenceSystemISpatialReference
Project5(ISpatialReference, int)
Same as Project, but with additional parameter projectionHint.
void Project5(ISpatialReference newSpatialReference, int ProjectionHint)
Parameters
newSpatialReferenceISpatialReferenceProjectionHintint
ProjectEx(ISpatialReference, esriTransformDirection, IGeoTransformation, bool, double, double)
void ProjectEx(ISpatialReference newReferenceSystem, esriTransformDirection Direction, IGeoTransformation GeoTransformation, bool bAngularDensify, double maxSegmentLength, double maxDeviation)
Parameters
newReferenceSystemISpatialReferenceDirectionesriTransformDirectionGeoTransformationIGeoTransformationbAngularDensifyboolmaxSegmentLengthdoublemaxDeviationdouble
ProjectEx5(ISpatialReference, esriTransformDirection, ITransformation, bool, double, double, int)
Same as ProjectEx, but with additional parameter projectionHint.
void ProjectEx5(ISpatialReference newReferenceSystem, esriTransformDirection Direction, ITransformation Transformation, bool bAngularDensify, double maxSegmentLength, double maxDeviation, int ProjectionHint)
Parameters
newReferenceSystemISpatialReferenceDirectionesriTransformDirectionTransformationITransformationbAngularDensifyboolmaxSegmentLengthdoublemaxDeviationdoubleProjectionHintint
Remarks
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.
QueryEnvelope(IEnvelope)
void QueryEnvelope(IEnvelope outEnvelope)
Parameters
outEnvelopeIEnvelope
QueryWKSEnvelope(out WKSEnvelope)
void QueryWKSEnvelope(out WKSEnvelope e)
Parameters
SetEmpty()
void SetEmpty()
SnapToSpatialReference()
void SnapToSpatialReference()