|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.geometry.Envelope
A rectangle with sides parallel to a coordinate system defining the extent of another geometry; optionally has min and max measure, height and ID attributes.
The Envelope coclass defines a rectangular shape by its minimum and maximum x,y coordinates. Therefore, an Envelope is always orthogonal to its SpatialReference. An Envelope may also define minimum and maximum z- and m-values, depending on the implemented IZAware and IMAware interfaces.
| Constructor Summary | |
Envelope()
Constructs a Envelope using ArcGIS Engine. |
|
Envelope(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
centerAt(IPoint p)
Moves this envelope so it is centered at p. |
boolean |
contains(IGeometry other)
Indicates if this geometry contains the other geometry. |
boolean |
crosses(IGeometry other)
Indicates if the two geometries intersect in a geometry of lesser dimension. |
void |
defineFromPoints(int count,
IPoint points)
Defines the envelope to cover all the points. |
void |
defineFromPoints(IPoint[] points)
Defines the envelope to cover all the points. |
void |
defineFromWKSPoints(_WKSPoint[] wksPoints)
Defines the envelope to cover all the points. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
disjoint(IGeometry other)
Indicates if the two geometries share no points in common. |
void |
dropMs()
Sets all the M values to a non-valid number (NaN). |
void |
dropZs()
Sets all the Z values to a non-valid number (NaN). |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
boolean |
esri_equals(IGeometry other)
Indicates if the two geometries are of the same type and define the same set of points in the plane. |
void |
expand(double dx,
double dy,
boolean asRatio)
Moves the X and Y coordinates of the sides toward or away from each other. |
void |
expandM(double dm,
boolean asRatio)
Moves the measure of the sides toward or away from each other. |
void |
expandZ(double dz,
boolean asRatio)
Moves the Z attribute of the sides toward or away from each other. |
void |
geoNormalize()
Shifts longitudes, if need be, into a continuous range of 360 degrees. |
void |
geoNormalizeFromLongitude(double longitude)
Normalizes longitudes into a continuous range containing the longitude. |
double |
getArea()
The area. |
IArea |
getAsIArea()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IClone |
getAsIClone()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IEnvelope |
getAsIEnvelope()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IEnvelope2 |
getAsIEnvelope2()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IEnvelopeGEN |
getAsIEnvelopeGEN()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGeometry |
getAsIGeometry()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGeometry2 |
getAsIGeometry2()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGeometry3 |
getAsIGeometry3()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGeometry4 |
getAsIGeometry4()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGeometry5 |
getAsIGeometry5()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IHitTest |
getAsIHitTest()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IMAware |
getAsIMAware()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersist |
getAsIPersist()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersistStream |
getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IProximityOperator |
getAsIProximityOperator()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRelationalOperator |
getAsIRelationalOperator()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISupportErrorInfo |
getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITransform2D |
getAsITransform2D()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IXMLSerialize |
getAsIXMLSerialize()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IZAware |
getAsIZAware()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPoint |
getCentroid()
The center of gravity (centroid). |
IPoint |
getCentroidEx()
The center of gravity (centroid). |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
getClsid()
|
double |
getDepth()
The depth of the envelope. |
int |
getDimension()
The topological dimension of this geometry. |
IEnvelope |
getEnvelope()
Creates a copy of this geometry's envelope and returns it. |
int |
getGeometryType()
The type of this geometry. |
double |
getHeight()
The height of the envelope. |
IPoint |
getLabelPoint()
A point guaranteed to be inside this area. |
IPoint |
getLowerLeft()
The lower left corner. |
IPoint |
getLowerRight()
The lower right corner. |
double |
getMMax()
The maximum measure value in the area of the envelope. |
double |
getMMin()
The minimum measure value in the area of the envelope. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
Supported Platforms |
ISpatialReference |
getSpatialReference()
The spatial reference associated with this geometry. |
IPoint |
getUpperLeft()
The upper left corner. |
IPoint |
getUpperRight()
The upper right corner. |
double |
getWidth()
The width of the envelope. |
double |
getXMax()
The position of the right side. |
double |
getXMin()
The position of the left side. |
double |
getYMax()
The position of the top. |
double |
getYMin()
The position of the bottom. |
double |
getZMax()
The maximum Z value in the area of the envelope. |
double |
getZMin()
The minimum Z value in the area of the envelope. |
int |
hashCode()
the hashcode for this object |
boolean |
hitTest(IPoint queryPoint,
double searchRadius,
int geometryPart,
IPoint hitPoint,
double[] hitDistance,
int[] hitPartIndex,
int[] hitSegmentIndex,
boolean[] bRightSide)
Locates a part of a geometry closest to a query point. |
void |
interfaceSupportsErrorInfo(GUID riid)
Supported Platforms |
void |
intersect(IEnvelope inEnvelope)
Adjusts to include only the area also included by inEnvelope. |
boolean |
isChanged()
Indicates if a geometry has been changed (edited, projected, etc). |
void |
isDirty()
Supported Platforms |
boolean |
isEmpty()
Indicates whether this geometry contains any points. |
boolean |
isEqual(IClone other)
Returns TRUE when the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Returns TRUE when the receiver and other are the same object. |
boolean |
isMAware()
Indicates whether or not the geometry is aware of and capable of handling Ms. |
boolean |
isMSimple()
Indicates if all the Ms are valid numbers. |
boolean |
isZAware()
Indicates whether or not the geometry is aware of and capable of handling Zs. |
boolean |
isZSimple()
Indicates if all the Zs are valid numbers. |
void |
load(IStream pstm)
Supported Platforms |
void |
move(double dx,
double dy)
Moves dx units horizontally and dy units vertically. |
void |
moveVector(ILine v)
Moves a direction and distance v. |
void |
offset(double x,
double y)
Moves the sides x units horizontally and y units vertically. |
void |
offsetM(double m)
Moves the sides m units. |
void |
offsetZ(double z)
Moves the sides z units. |
boolean |
overlaps(IGeometry other)
Indicates if the intersection of the two geometries has the same dimension as one of the input geometries. |
void |
project(ISpatialReference newReferenceSystem)
Projects this geometry into a new spatial reference. |
void |
project5(ISpatialReference newSpatialReference,
int projectionHint)
Same as Project, but with additional parameter projectionHint. |
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. |
void |
projectEx5(ISpatialReference newReferenceSystem,
int direction,
ITransformation transformation,
boolean bAngularDensify,
double maxSegmentLength,
double maxDeviation,
int projectionHint)
Same as ProjectEx, but with additional parameter projectionHint. |
void |
putCoords(double xMin,
double yMin,
double xMax,
double yMax)
Constructs an envelope from the coordinate values of lower, left and upper, right corners. |
void |
putMCoords(double mMin,
double mMax)
Sets the minimum and maximum M values simultaneously. |
void |
putZCoords(double zMin,
double zMax)
Sets the minimum and maximum Z values simultaneously. |
void |
queryCentroid(IPoint center)
Copies the centroid of this area to the specified point. |
void |
queryCoords(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
Returns the coordinates of lower, left and upper, right corners. |
void |
queryEnvelope(IEnvelope outEnvelope)
Copies this geometry's envelope properties into the specified envelope. |
void |
queryLabelPoint(IPoint labelPoint)
Copies to the input point a point guaranteed to be inside this area. |
void |
queryMCoords(double[] mMin,
double[] mMax)
Queries the minimum and maximum M values simultaneously. |
void |
queryNearestPoint(IPoint p,
int extension,
IPoint nearest)
Copies into 'nearest' a point on this geometry nearest to the input point. |
void |
queryWKSEnvelope(_WKSEnvelope e)
Defines the specified wksenvelope to be the current extent of this geometry in the x-y plane. |
void |
queryZCoords(double[] zMin,
double[] zMax)
Queries the minimum and maximum Z values simultaneously. |
boolean |
relation(IGeometry other,
java.lang.String relationDescription)
Indicates if the defined relationship exists. |
double |
returnDistance(IGeometry other)
Returns the minimum distance between two geometries. |
IPoint |
returnNearestPoint(IPoint p,
int extension)
Creates and returns a point on this geometry nearest to the input point. |
void |
rotate(IPoint origin,
double rotationAngle)
Rotates about the specified origin point. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
void |
scale(IPoint origin,
double sx,
double sy)
Scales about the specified origin using seperate horizonal and vertical scales. |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setChanged(boolean isChanged)
Indicates if a geometry has been changed (edited, projected, etc). |
void |
setDepth(double depth)
The depth of the envelope. |
void |
setEmpty()
Removes all points from this geometry. |
void |
setHeight(double height)
The height of the envelope. |
void |
setLowerLeft(IPoint lowerLeft)
The lower left corner. |
void |
setLowerRight(IPoint lowerRight)
The lower right corner. |
void |
setMAware(boolean mAware)
Indicates whether or not the geometry is aware of and capable of handling Ms. |
void |
setMMax(double mMax)
The maximum measure value in the area of the envelope. |
void |
setMMin(double mMin)
The minimum measure value in the area of the envelope. |
void |
setSpatialReferenceByRef(ISpatialReference spatialRef)
The spatial reference associated with this geometry. |
void |
setUpperLeft(IPoint upperLeft)
The upper left corner. |
void |
setUpperRight(IPoint upperRight)
The upper right corner. |
void |
setWidth(double width)
The width of the envelope. |
void |
setXMax(double xMax)
The position of the right side. |
void |
setXMin(double xMin)
The position of the left side. |
void |
setYMax(double yMax)
The position of the top. |
void |
setYMin(double yMin)
The position of the bottom. |
void |
setZAware(boolean zAware)
Indicates whether or not the geometry is aware of and capable of handling Zs. |
void |
setZMax(double zMax)
The maximum Z value in the area of the envelope. |
void |
setZMin(double zMin)
The minimum Z value in the area of the envelope. |
void |
snapToSpatialReference()
Moves points of this geometry so that they can be represented in the precision of the geometry's associated spatial reference system. |
boolean |
touches(IGeometry other)
Indicates if the boundaries of the geometries intersect. |
void |
transform(int direction,
ITransformation transformation)
Applies an arbitrary transformation. |
void |
union(IEnvelope inEnvelope)
Adjusts to overlap inEnvelope. |
boolean |
within(IGeometry other)
Indicates if this geometry is contained (is within) another geometry. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Envelope()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public Envelope(java.lang.Object obj)
throws java.io.IOException
obj to Envelope. Envelope theEnvelope = (Envelope) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IEnvelopeGEN getAsIEnvelopeGEN()
public IEnvelope getAsIEnvelope()
public IEnvelope2 getAsIEnvelope2()
public IMAware getAsIMAware()
public IZAware getAsIZAware()
public IGeometry getAsIGeometry()
public IGeometry2 getAsIGeometry2()
public IGeometry3 getAsIGeometry3()
public IGeometry4 getAsIGeometry4()
public IGeometry5 getAsIGeometry5()
public IArea getAsIArea()
public IProximityOperator getAsIProximityOperator()
public ITransform2D getAsITransform2D()
public IRelationalOperator getAsIRelationalOperator()
public IHitTest getAsIHitTest()
public ISupportErrorInfo getAsISupportErrorInfo()
public IPersist getAsIPersist()
public IPersistStream getAsIPersistStream()
public IClone getAsIClone()
public IXMLSerialize getAsIXMLSerialize()
public boolean equals(java.lang.Object o)
public int hashCode()
public void defineFromWKSPoints(_WKSPoint[] wksPoints)
throws java.io.IOException,
AutomationException
IEnvelopeGENPlease see the DefineFromWKSPoints method of IEnvelope for more details
defineFromWKSPoints in interface IEnvelopeGENwksPoints - A Structure: com.esri.arcgis.system._WKSPoint (An array of com.esri.arcgis.system._WKSPoint COM typedef) (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void defineFromPoints(IPoint[] points)
throws java.io.IOException,
AutomationException
IEnvelopeGENPlease see the DefineFromPoints method of IEnvelope for more details
defineFromPoints in interface IEnvelopeGENpoints - A reference to a com.esri.arcgis.geometry.IPoint array (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getWidth()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Width property of IEnvelope
getWidth in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setWidth(double width)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Width property of IEnvelope
setWidth in interface IEnvelopeGENwidth - The width (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getHeight()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Height property of IEnvelope
getHeight in interface IEnvelopeGENjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDepth(double depth)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Depth property of IEnvelope
setDepth in interface IEnvelopeGENdepth - The depth (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getDepth()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Depth property of IEnvelope
getDepth in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setHeight(double height)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Height property of IEnvelope
setHeight in interface IEnvelopeGENheight - The height (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPoint getLowerLeft()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the LowerLeft property of IEnvelope
getLowerLeft in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setLowerLeft(IPoint lowerLeft)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the LowerLeft property of IEnvelope
setLowerLeft in interface IEnvelopeGENlowerLeft - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPoint getUpperLeft()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the UpperLeft property of IEnvelope
getUpperLeft in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setUpperLeft(IPoint upperLeft)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the UpperLeft property of IEnvelope
setUpperLeft in interface IEnvelopeGENupperLeft - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPoint getUpperRight()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the UpperRight property of IEnvelope
getUpperRight in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setUpperRight(IPoint upperRight)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the UpperRight property of IEnvelope
setUpperRight in interface IEnvelopeGENupperRight - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getLowerRight()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the LowerRight property of IEnvelope
getLowerRight in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setLowerRight(IPoint lowerRight)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the LowerRight property of IEnvelope
setLowerRight in interface IEnvelopeGENlowerRight - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getXMin()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the XMin property of IEnvelope
getXMin in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setXMin(double xMin)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the XMin property of IEnvelope
setXMin in interface IEnvelopeGENxMin - The xMin (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getYMin()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the YMin property of IEnvelope
getYMin in interface IEnvelopeGENjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setYMin(double yMin)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the YMin property of IEnvelope
setYMin in interface IEnvelopeGENyMin - The yMin (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getXMax()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the XMax property of IEnvelope
getXMax in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setXMax(double xMax)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the XMax property of IEnvelope
setXMax in interface IEnvelopeGENxMax - The xMax (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getYMax()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the YMax property of IEnvelope
getYMax in interface IEnvelopeGENjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setYMax(double yMax)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the YMax property of IEnvelope
setYMax in interface IEnvelopeGENyMax - The yMax (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getMMin()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the MMin property of IEnvelope
getMMin in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMMin(double mMin)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the MMin property of IEnvelope
setMMin in interface IEnvelopeGENmMin - The mMin (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMMax()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the MMax property of IEnvelope
getMMax in interface IEnvelopeGENjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMMax(double mMax)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the MMax property of IEnvelope
setMMax in interface IEnvelopeGENmMax - The mMax (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getZMin()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the ZMin property of IEnvelope
getZMin in interface IEnvelopeGENAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setZMin(double zMin)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the ZMin property of IEnvelope
setZMin in interface IEnvelopeGENzMin - The zMin (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getZMax()
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the ZMax property of IEnvelope
getZMax in interface IEnvelopeGENjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setZMax(double zMax)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the ZMax property of IEnvelope
setZMax in interface IEnvelopeGENzMax - The zMax (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void union(IEnvelope inEnvelope)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Union method of IEnvelope
union in interface IEnvelopeGENinEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void intersect(IEnvelope inEnvelope)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Intersect method of IEnvelope
intersect in interface IEnvelopeGENinEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void offset(double x,
double y)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Offset method of IEnvelope
offset in interface IEnvelopeGENx - The x (in)y - The y (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void offsetZ(double z)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the OffsetZ method of IEnvelope
offsetZ in interface IEnvelopeGENz - The z (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void offsetM(double m)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the OffsetM method of IEnvelope
offsetM in interface IEnvelopeGENm - The m (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void expand(double dx,
double dy,
boolean asRatio)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the Expand method of IEnvelope
expand in interface IEnvelopeGENdx - The dx (in)dy - The dy (in)asRatio - The asRatio (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void expandZ(double dz,
boolean asRatio)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the ExpandZ method of IEnvelope
expandZ in interface IEnvelopeGENdz - The dz (in)asRatio - The asRatio (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void expandM(double dm,
boolean asRatio)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the ExpandM method of IEnvelope
expandM in interface IEnvelopeGENdm - The dm (in)asRatio - The asRatio (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void putCoords(double xMin,
double yMin,
double xMax,
double yMax)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the PutCoords method of IEnvelope
putCoords in interface IEnvelopeGENxMin - The xMin (in)yMin - The yMin (in)xMax - The xMax (in)yMax - The yMax (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryCoords(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the QueryCoords method of IEnvelope
queryCoords in interface IEnvelopeGENxMin - The xMin (out: use single element array)yMin - The yMin (out: use single element array)xMax - The xMax (out: use single element array)yMax - The yMax (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void centerAt(IPoint p)
throws java.io.IOException,
AutomationException
IEnvelopeGENrefer to the CenterAt method of IEnvelope
centerAt in interface IEnvelopeGENp - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void defineFromPoints(int count,
IPoint points)
throws java.io.IOException,
AutomationException
IEnvelopeDefines this Envelope from an array of Points. The XMin, YMin, XMax, and YMax correspond to the minimum X value, minimum Y value, maximum X value, and maximum Y value respectively of the the Points in the array.
This is similar to getting the Envelope of a Multipoint.
Note: It is also possible to define a degenerate point Envelope by passing a single Point as an argument. The IPoint parameter accepts both a single IPoint object and an array of IPoints. To use an array, pass the desired starting element of the array as the input argument.
defineFromPoints in interface IEnvelopecount - The count (in)points - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getGeometryType()
throws java.io.IOException,
AutomationException
IGeometryesriGeometryNull = 0
esriGeometryPoint = 1
esriGeometryMultipoint = 2
esriGeometryPolyline = 3
esriGeometryPolygon = 4
esriGeometryEnvelope = 5
esriGeometryPath = 6
esriGeometryAny = 7
esriGeometryMultiPatch = 9
esriGeometryRing = 11
esriGeometryLine = 13
esriGeometryCircularArc = 14
esriGeometryBezier3Curve = 15
esriGeometryEllipticArc = 16
esriGeometryBag = 17
esriGeometryTriangleStrip = 18
esriGeometryTriangleFan = 19
esriGeometryRay = 20
esriGeometrySphere = 21
getGeometryType in interface IGeometryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDimension()
throws java.io.IOException,
AutomationException
IGeometryReturns the dimension of the geometry object based on the geometry's type.

getDimension in interface IGeometryAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISpatialReference getSpatialReference()
throws java.io.IOException,
AutomationException
IGeometryReturns and sets the Spatial Reference in which the geometry exists. If the spatial reference has not been set the property will return an empty ISpatialReference instance.
getSpatialReference in interface IGeometryAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSpatialReferenceByRef(ISpatialReference spatialRef)
throws java.io.IOException,
AutomationException
IGeometry
setSpatialReferenceByRef in interface IGeometryspatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEmpty()
throws java.io.IOException,
AutomationException
IGeometry
isEmpty in interface IGeometryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEmpty()
throws java.io.IOException,
AutomationException
IGeometry
setEmpty in interface IGeometryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryEnvelope(IEnvelope outEnvelope)
throws java.io.IOException,
AutomationException
IGeometryReturns the unique Envelope that binds the Geometry object. This is the smallest Envelope that Contains the object.
Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

queryEnvelope in interface IGeometryoutEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnvelope getEnvelope()
throws java.io.IOException,
AutomationException
IGeometryReturns the unique Envelope that binds the Geometry object. This is the smallest Envelope that Contains the object.

getEnvelope in interface IGeometryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void project(ISpatialReference newReferenceSystem)
throws java.io.IOException,
AutomationException
IGeometryTo Project, the geometry needs to have a Spatial Reference set, and not have an UnknownCoordinateSystem. The new spatial reference system passed to the method defines the output coordinate system. If either spatial reference is Unknown, the coordinates are not changed. The Z and measure values are not changed by the Project method.
A geometry is not densified before it is 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. Use IGeometry2::ProjectEx if you want to densify the geometries while they are projected.
Note: If the from/to spatial references have different geographic coordinate systems, the Project method looks for a GeoTransformationsOperationSet. If the set of Geotransformations is present in memory, Project will use it to perform a geographic/datum Transformation. To use a specific geotransformation, use the IGeometry2::ProjectEx method.
project in interface IGeometrynewReferenceSystem - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void snapToSpatialReference()
throws java.io.IOException,
AutomationException
IGeometry
snapToSpatialReference in interface IGeometryjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void geoNormalize()
throws java.io.IOException,
AutomationException
IGeometry
geoNormalize in interface IGeometryAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void geoNormalizeFromLongitude(double longitude)
throws java.io.IOException,
AutomationException
IGeometry
geoNormalizeFromLongitude in interface IGeometrylongitude - The longitude (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void putZCoords(double zMin,
double zMax)
throws java.io.IOException,
AutomationException
IEnvelope2Sets the ZMin and ZMax simultaneously. This avoids complications of setting ZMin and ZMax individually in which they could become inconsistent.
putZCoords in interface IEnvelope2zMin - The zMin (in)zMax - The zMax (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryZCoords(double[] zMin,
double[] zMax)
throws java.io.IOException,
AutomationException
IEnvelope2Returns the values of ZMin and ZMax respectively.
queryZCoords in interface IEnvelope2zMin - The zMin (out: use single element array)zMax - The zMax (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void putMCoords(double mMin,
double mMax)
throws java.io.IOException,
AutomationException
IEnvelope2Sets the MMin and MMax simultaneously. This avoids complications of setting MMin and MMax individually in which they could become inconsistent.
putMCoords in interface IEnvelope2mMin - The mMin (in)mMax - The mMax (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void queryMCoords(double[] mMin,
double[] mMax)
throws java.io.IOException,
AutomationException
IEnvelope2Returns the values of MMin and MMax respectively.
queryMCoords in interface IEnvelope2mMin - The mMin (out: use single element array)mMax - The mMax (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isMAware()
throws java.io.IOException,
AutomationException
IMAwareReturns or sets the M Awareness state of the geometry object. If MAware is TRUE, then the object will recognize that it has M attributes and perform operations on them as necessary. If MAware is FALSE, the object will ignore Ms while performing operations.
isMAware in interface IMAwarejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMAware(boolean mAware)
throws java.io.IOException,
AutomationException
IMAware
setMAware in interface IMAwaremAware - The mAware (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isMSimple()
throws java.io.IOException,
AutomationException
IMAwareMSimple is TRUE if none of the M values held by the geometry object are NaN. If any of the Ms within the object are NaN, MSimple is FALSE.
isMSimple in interface IMAwarejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dropMs()
throws java.io.IOException,
AutomationException
IMAwareResets all of the current M values held by the geometry object back to NaN. MAware does not change.
dropMs in interface IMAwarejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isZAware()
throws java.io.IOException,
AutomationException
IZAwareReturns or sets the Z Awareness state of the geometry object. If ZAware is TRUE, then the object will recognize that it has Z attributes and perform operations on them as necessary. If ZAware is FALSE, the object will ignore Zs while performing operations. ZAware should only be set to TRUE when all of the Zs are not NaN.
Use ZAware = True when you want geometries to retain Z values during geometry operations.
isZAware in interface IZAwarejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setZAware(boolean zAware)
throws java.io.IOException,
AutomationException
IZAware
setZAware in interface IZAwarezAware - The zAware (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isZSimple()
throws java.io.IOException,
AutomationException
IZAwareZSimple is TRUE if none of the Z values held by the geometry object are NaN. If any of the Zs within the object are NaN, ZSimple is FALSE.
isZSimple in interface IZAwarejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dropZs()
throws java.io.IOException,
AutomationException
IZAwareResets all of the current Z values held by the geometry object back to NaN. ZAware does not change.
dropZs in interface IZAwarejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void projectEx(ISpatialReference newReferenceSystem,
int direction,
IGeoTransformation geoTransformation,
boolean bAngularDensify,
double maxSegmentLength,
double maxDeviation)
throws java.io.IOException,
AutomationException
IGeometry2By 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.
projectEx in interface IGeometry2newReferenceSystem - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void queryWKSEnvelope(_WKSEnvelope e)
throws java.io.IOException,
AutomationException
IGeometry3The QueryWKSEnvelope method returns a WKSEnvelope structure corresponding to the envelope of the geometry. Use that method to quickly get the XMin, XMax, YMin and YMax values.
queryWKSEnvelope in interface IGeometry3e - A Structure: com.esri.arcgis.system._WKSEnvelope (A com.esri.arcgis.system._WKSEnvelope COM typedef) (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isChanged()
throws java.io.IOException,
AutomationException
IGeometry4The Changed method returns whether or not the geometry has been modified. If the geometry always stays in memory that method only returns 'false' immediately after its creation. However if the shape came from disk the Changed method will return 'false' until de geometry is modified in memory.
isChanged in interface IGeometry4java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setChanged(boolean isChanged)
throws java.io.IOException,
AutomationException
IGeometry4
setChanged in interface IGeometry4isChanged - The isChanged (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void project5(ISpatialReference newSpatialReference,
int projectionHint)
throws java.io.IOException,
AutomationException
IGeometry5To Project, the geometry needs to have a Spatial Reference set, and not have an UnknownCoordinateSystem. The new spatial reference system passed to the method defines the output coordinate system. If either spatial reference is Unknown, the coordinates are not changed. The Z and measure values are not changed by the Project method.
A geometry is not densified before it is 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. Use IGeometry2::ProjectEx if you want to densify the geometries while they are projected.
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.
project5 in interface IGeometry5newSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)projectionHint - The projectionHint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void projectEx5(ISpatialReference newReferenceSystem,
int direction,
ITransformation transformation,
boolean bAngularDensify,
double maxSegmentLength,
double maxDeviation,
int projectionHint)
throws java.io.IOException,
AutomationException
IGeometry5The 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.
projectEx5 in interface IGeometry5newReferenceSystem - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)direction - A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)bAngularDensify - The bAngularDensify (in)maxSegmentLength - The maxSegmentLength (in)maxDeviation - The maxDeviation (in)projectionHint - The projectionHint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getCentroidEx()
throws java.io.IOException,
AutomationException
IGeometry5
getCentroidEx in interface IGeometry5AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getArea()
throws java.io.IOException,
AutomationException
IAreaReturns the area enclosed between the Exterior Rings and the Interior Rings of the 2 (or 2.5) Dimensional geometry. Interior Rings return a negative Area.

getArea in interface IAreaAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPoint getCentroid()
throws java.io.IOException,
AutomationException
IAreaReturns the Centroid of the 2 (or 2.5) Dimensional figure. The Centroid is the center of the weighted area.
The Centroid does not always occur inside the Area of the geometry. The Centroid is not the same as the center of the geometry or the Envelope binding the geometry (but it may be if and only if that is also the center of the weighted area).

getCentroid in interface IAreaAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPoint getLabelPoint()
throws java.io.IOException,
AutomationException
IAreaReturns the Label Point of the object. The Label Point is the point at which the label is located. The Label Point is always located within the Area of the object.
getLabelPoint in interface IAreajava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryCentroid(IPoint center)
throws java.io.IOException,
AutomationException
IAreaQueries the Centroid of the 2 (or 2.5) Dimensional figure. The Centroid is the center of the weighted area. You must instantiate the Point before calling QueryCentroid. For example,
Dim pPoint as IPoint
Set pPoint = New Point
The Centroid does not always occur inside the Area of the geometry. The Centroid is not the same as the center of the geometry or the Envelope binding the geometry (but it may be if and only if that is also the center of the weighted area).
Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

queryCentroid in interface IAreacenter - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryLabelPoint(IPoint labelPoint)
throws java.io.IOException,
AutomationException
IAreaQueries the Label Point of the object. The Label Point is the point at which the label is located. The Label Point is always located within the Area of the object. You must instantiate the point before calling QueryLabelPoint. For example,
Dim pPoint as IPoint Set pPoint = New Point
Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.
queryLabelPoint in interface IArealabelPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void queryNearestPoint(IPoint p,
int extension,
IPoint nearest)
throws java.io.IOException,
AutomationException
IProximityOperatorQueries the nearest point on a geometry to the input point. Depending on the method of segment extension, the nearest point can also be found on an extension of the geometry.

queryNearestPoint in interface IProximityOperatorp - A reference to a com.esri.arcgis.geometry.IPoint (in)extension - A com.esri.arcgis.geometry.esriSegmentExtension constant (in)nearest - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.esriSegmentExtension
public IPoint returnNearestPoint(IPoint p,
int extension)
throws java.io.IOException,
AutomationException
IProximityOperatorFinds and returns the nearest point on a geometry to the input point. Depending on the method of segment extension, the nearest point can also be found on an extension of the geometry.

returnNearestPoint in interface IProximityOperatorp - A reference to a com.esri.arcgis.geometry.IPoint (in)extension - A com.esri.arcgis.geometry.esriSegmentExtension constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.esriSegmentExtension
public double returnDistance(IGeometry other)
throws java.io.IOException,
AutomationException
IProximityOperatorReturns the minimum distance between two geometries. If the geometries intersect, the minimum distance is 0. Only returns the distance, and not the nearest points.

The geometry combinations which can be used with ReturnDistance are:
Point: Point, MultiPoint, Envelope, Polyline, Polygon, Line, CircularArc, EllipticArc, BezierCurve.
Multipoint: Point, MultiPoint, Envelope, Polyline, Polygon.
Envelope: Point, MultiPoint, Envelope, Line, CircularArc, EllipticArc, BezierCurve, PolyLine, Polygon.
PolyLine: Point, Multipoint, Envelope, PolyLine, Polygon.
Polygon: Point, Multipoint, Envelope, PolyLine, Polygon.
Line: Point, Envelope, Line, CircularArc, EllipticArc, BezierCurve.
CircularArc: Point, Envelope, Line, CircularArc, EllipticArc (not implemented yet), BezierCurve.
EllipticArc: Point, Envelope, Line, CircularArc (not implemented yet), EllipticArc (not implemented yet), BezierCurve (not implemented yet).
BezierCurve: Point, Envelope, Line, CircularArc, EllipticArc (not implemented yet), BezierCurve.
Note: To get the distance between a segment (Line, CircularArc, EllipticArc, BezierCurve) and a MultiPoint, PolyLine or Polygon, add that segment to a PolyLine.
returnDistance in interface IProximityOperatorother - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void move(double dx,
double dy)
throws java.io.IOException,
AutomationException
ITransform2DMoves the Geometry dX units along the X-Axis and dY units along the Y-Axis. Only changes the position of the Geometry without altering any of the other characteristics. Move is a spatial offset.

move in interface ITransform2Ddx - The dx (in)dy - The dy (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void moveVector(ILine v)
throws java.io.IOException,
AutomationException
ITransform2DMoves the Geometry dX units along the X-Axis and dY units along the Y-Axis, where dX and dY are calculated from the input vector Line. Only the Length and Angle of the vector affect the transformation. The location of the vector does not change the transformation. Only changes the position of the Geometry without altering any of the other characteristics. Move is a spatial offset.

moveVector in interface ITransform2Dv - A reference to a com.esri.arcgis.geometry.ILine (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void scale(IPoint origin,
double sx,
double sy)
throws java.io.IOException,
AutomationException
ITransform2DStretches the Geometry a factor of sX along the X-Axis and a factor of sY along the Y-Axis (where sX is the ratio of Old Width to New Width, and sY is the ratio of Old Height to New Height). The Origin point is the reference Point from which the transformation is performed (Regardless of the location of the Origin point, the Geometry resulting from the transformation is the same, except for a positional offset). The Origin is the only point in the transformation guaranted to remain in the same location after the transformation is complete.
Note: Caution must be taken when scaling a CircularArc or a geometry containing CircularArc segments. Unless Abs(ScaleX) = Abs(ScaleY), the resulting CircularArcs will not retain the characteristics of the original geometry (since they remain CircularArcs).

scale in interface ITransform2Dorigin - A reference to a com.esri.arcgis.geometry.IPoint (in)sx - The sx (in)sy - The sy (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void rotate(IPoint origin,
double rotationAngle)
throws java.io.IOException,
AutomationException
ITransform2DRotate performs an angular transform (rotation) on the Geometry. The Origin is the only point in the transformation guaranteed to remain in the same location after the transformation is performed. Regardless of the Origin, the transformed Geometry is the same, except for a positional offset. The RotationAngle is measured in radians.
An Envelope cannot be Rotated.

rotate in interface ITransform2Dorigin - A reference to a com.esri.arcgis.geometry.IPoint (in)rotationAngle - The rotationAngle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void transform(int direction,
ITransformation transformation)
throws java.io.IOException,
AutomationException
ITransform2D
transform in interface ITransform2Ddirection - A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean esri_equals(IGeometry other)
throws java.io.IOException,
AutomationException
IRelationalOperator
esri_equals in interface IRelationalOperatorother - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean touches(IGeometry other)
throws java.io.IOException,
AutomationException
IRelationalOperatorTwo geometries are said to touch when the intersection of the geometries is non-empty, but the intersection of their interiors is empty. Touches is a Clementini operator. For example, a point touches a polyline only if the point is coincident with one of the polyline end points.
Touches examples. Only "true" relationships are showed in this picture.

Only geometries that support the IRelationalOperator interface can be used as input geometries.
Touch does not apply for point/point comparison.
touches in interface IRelationalOperatorother - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean contains(IGeometry other)
throws java.io.IOException,
AutomationException
IRelationalOperatorThe base geometry contains the comparison geometry (other) if the comparison geometry is a subset of the base geometry and the intersection of their interiors is not empty. Therefore a polygon does not contain any part of its 1D boundary. Contains is the opposite operator of Within.
Only geometries that support the IRelationalOperator interface can be used as input geometries.
If geometry1 Contains geometry2, then geometry2 is Within geometry1.
Contains examples. Only "true" relationships are showed in this picture.

contains in interface IRelationalOperatorother - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean within(IGeometry other)
throws java.io.IOException,
AutomationException
IRelationalOperatorThe base geometry is within the comparison geometry if the base geometry is the intersection of the geometries and the intersection of their interiors is not empty. Within is a Clementini operator. Within is the opposite operator of contains.
Only geometries that support the IRelationalOperator interface can be used as input geometries.
If geometry1 is Within geometry2, then geometry2 Contains geometry1.
Within examples. Only "true" relationships are showed in this picture.

within in interface IRelationalOperatorother - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean disjoint(IGeometry other)
throws java.io.IOException,
AutomationException
IRelationalOperatorTwo geometries are disjoint if their intersection is empty. Two geometries intersect if disjoint is "false". Disjoint is a Clementini operator.
Only geometries that support the IRelationalOperator interface can be used as input geometries.
Disjoint example. Only "true" relationships are showed in this picture.

disjoint in interface IRelationalOperatorother - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean crosses(IGeometry other)
throws java.io.IOException,
AutomationException
IRelationalOperatorTwo polylines cross if they share only points in common, at least one of which is not an endpoint. A polyline and an polygon cross if they share a polyline in common on the interior of the polygon which is not equivalent to the entire polyline. Cross is a Clementini operator.
Only geometries that support the IRelationalOperator interface can be used as input geometries.
Cross only applies to polyline/polyline, polyline/polygon, or polygon/polyline relations.
Crosses examples. Only "true" relationships are showed in this picture.

crosses in interface IRelationalOperatorother - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean overlaps(IGeometry other)
throws java.io.IOException,
AutomationException
IRelationalOperatorTwo geometries overlap if the region of their intersection is of the same dimension as the geometries involved and is not equivalent to either of the geometries. Overlaps is a Clementini operator.
Only geometries that support the IRelationalOperator interface can be used as input geometries.
Overlaps only applies to polyline/polyline, polygon/polygon and multipoint/multipoint relations.
Overlaps examples. Only "true" relationships are showed in this picture.

overlaps in interface IRelationalOperatorother - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean relation(IGeometry other,
java.lang.String relationDescription)
throws java.io.IOException,
AutomationException
IRelationalOperatorRelation allows a general relation defined using the Shape Comparison Language to be determined between two input geometries. The Shape Comparison Language is based on the Calculus-Based Method (CBM), as described and defined by Clementini and Felice, but has some extensions specific to working with vertex-based geometries and is fully described in the Technical Documents section of the ArcObjects Developer Help. Please refer to the Shape Comparison Language documentation for proper syntax and available functionality.
Note that at the current release, Relation only operates with straight lines.
relation in interface IRelationalOperatorother - A reference to a com.esri.arcgis.geometry.IGeometry (in)relationDescription - The relationDescription (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean hitTest(IPoint queryPoint,
double searchRadius,
int geometryPart,
IPoint hitPoint,
double[] hitDistance,
int[] hitPartIndex,
int[] hitSegmentIndex,
boolean[] bRightSide)
throws java.io.IOException,
AutomationException
IHitTestThe segment index returned has different meanings depending on the esriGeometryHitPartType used (Please see the example for more details).
EsriGeometryPartVertex: returns a vertex index
EsriGeometryPartBoundary, esriGeometryPartMidpoint and esriGeometryPartEndpoint: return a segment index
EsriGeometryPartCentroid: Always returns 0 for the part index and the segment index.
brightside: Indicates if the input point is on the right side of the input geometry
Note: The distance units use in this method are the units of the input geometry. No conversion is performed. esriGeometryHitPartType parameter cannot be a combination of several esriGeometryHitPartTypes.
hitTest in interface IHitTestqueryPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)searchRadius - The searchRadius (in)geometryPart - A com.esri.arcgis.geometry.esriGeometryHitPartType constant (in)hitPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)hitDistance - The hitDistance (in/out: use single element array)hitPartIndex - The hitPartIndex (in/out: use single element array)hitSegmentIndex - The hitSegmentIndex (in/out: use single element array)bRightSide - The bRightSide (in/out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
ISupportErrorInfoIndicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IClone esri_clone()
throws java.io.IOException,
AutomationException
IClone
esri_clone in interface IClonejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws java.io.IOException,
AutomationException
IClone
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEqual(IClone other)
throws java.io.IOException,
AutomationException
IClone
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isIdentical(IClone other)
throws java.io.IOException,
AutomationException
IClone
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void serialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
IXMLSerialize
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
IXMLSerialize
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||