com.esri.arcgis.geometry
Interface IGeometry2
- All Superinterfaces:
- IGeometry, java.io.Serializable
- All Known Subinterfaces:
- IGeometry3, IGeometry4, IGeometry5
- All Known Implementing Classes:
- Envelope, GeometryBag, IGeometry2Proxy, IGeometry3Proxy, IGeometry4Proxy, IGeometry5Proxy, MultiPatch, Multipoint, Point, Polygon, Polyline, TriangleFan, Triangles, TriangleStrip
- public interface IGeometry2
- extends IGeometry, java.io.Serializable
Provides access to members that extend the IGeometry interface with a more sophisticated projection method.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Supported Platforms
Windows, Solaris, Linux
|
Method Summary |
void |
projectEx(ISpatialReference newReferenceSystem,
int direction,
IGeoTransformation geoTransformation,
boolean bAngularDensify,
double maxSegmentLength,
double maxDeviation)
Projects a geometry, optionally applies a GeoTransformation, and optionally densifies the geometry. |
| Methods inherited from interface com.esri.arcgis.geometry.IGeometry |
geoNormalize, geoNormalizeFromLongitude, getDimension, getEnvelope, getGeometryType, getSpatialReference, isEmpty, project, queryEnvelope, setEmpty, setSpatialReferenceByRef, snapToSpatialReference |
projectEx
public void projectEx(ISpatialReference newReferenceSystem,
int direction,
IGeoTransformation geoTransformation,
boolean bAngularDensify,
double maxSegmentLength,
double maxDeviation)
throws java.io.IOException,
AutomationException
- Projects a geometry, optionally applies a GeoTransformation, and optionally densifies the geometry.
Supported Platforms
Windows, Solaris, Linux
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.
- Parameters:
newReferenceSystem - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)geoTransformation - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)bAngularDensify - The bAngularDensify (in)maxSegmentLength - The maxSegmentLength (in)maxDeviation - The maxDeviation (in)
- Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.