Interface IGeometry5

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

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

IPoint

Changed

bool Changed { get; set; }

Property Value

bool

Dimension

esriGeometryDimension Dimension { get; }

Property Value

esriGeometryDimension

Envelope

IEnvelope Envelope { get; }

Property Value

IEnvelope

GeometryType

esriGeometryType GeometryType { get; }

Property Value

esriGeometryType

IsEmpty

bool IsEmpty { get; }

Property Value

bool

SpatialReference

ISpatialReference SpatialReference { get; set; }

Property Value

ISpatialReference

Methods

GeoNormalize()

void GeoNormalize()

GeoNormalizeFromLongitude(double)

void GeoNormalizeFromLongitude(double Longitude)

Parameters

Longitude double

Project(ISpatialReference)

void Project(ISpatialReference newReferenceSystem)

Parameters

newReferenceSystem ISpatialReference

Project5(ISpatialReference, int)

Same as Project, but with additional parameter projectionHint.

void Project5(ISpatialReference newSpatialReference, int ProjectionHint)

Parameters

newSpatialReference ISpatialReference
ProjectionHint int

ProjectEx(ISpatialReference, esriTransformDirection, IGeoTransformation, bool, double, double)

void ProjectEx(ISpatialReference newReferenceSystem, esriTransformDirection Direction, IGeoTransformation GeoTransformation, bool bAngularDensify, double maxSegmentLength, double maxDeviation)

Parameters

newReferenceSystem ISpatialReference
Direction esriTransformDirection
GeoTransformation IGeoTransformation
bAngularDensify bool
maxSegmentLength double
maxDeviation double

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

newReferenceSystem ISpatialReference
Direction esriTransformDirection
Transformation ITransformation
bAngularDensify bool
maxSegmentLength double
maxDeviation double
ProjectionHint int

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

outEnvelope IEnvelope

QueryWKSEnvelope(out WKSEnvelope)

void QueryWKSEnvelope(out WKSEnvelope e)

Parameters

e WKSEnvelope

SetEmpty()

void SetEmpty()

SnapToSpatialReference()

void SnapToSpatialReference()