|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IZ
Provides access to members that identify geometric objects that can have 3D coordinates and defines operations on such objects.
IZ contains methods for setting Zs through interpolation based on existing Z values, Z values set at the From and To Points, and Z values from a FunctionalSurface. Z values may also be set to a single constant value. IZ also contains a method for determining if consecutive vertices exhibit a vertical relation.
IPoint.getZ()
,
IZAware
,
IZCollection
,
IZ
Method Summary | |
---|---|
void |
calculateNonSimpleZs()
Calculates the non-simple Z values by extrapolation/interpolation for polylines and interpolation for polygons. |
void |
interpolateFromSurface(IFunctionalSurface interpolationSurface)
Use the specified functional surface to generate Z values for the vertices of this object. |
void |
interpolateZsBetween(int startPart,
int startPoint,
int endPart,
int endPoint)
Generate Z values by linear interpolation for all vertices in the range [start+1, end-1]. |
boolean |
isZVertical()
Indicates if at least two consecutive vertices of this polyline or polygon have the same x and y values, but distinct z values. |
void |
setConstantZ(double zLevel)
Sets Z coordinates at all vertices to zLevel. |
Methods inherited from interface com.esri.arcgis.geometry.IZCollection |
---|
getZMax, getZMin, multiplyZs, offsetZs |
Method Detail |
---|
boolean isZVertical() throws IOException, AutomationException
Returns TRUE when at least two consecutive vertices have the same X and Y coordinates, but different Z attributes. Returns FALSE if all consecutive vertices have different X and Y coordinates, or if they have the same Z attribute.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void interpolateFromSurface(IFunctionalSurface interpolationSurface) throws IOException, AutomationException
Sets Z attributes for all Points on the interfaced Geometry within the Domain of the FunctionalSurface equal to the Z value on the FunctionalSurface at each (X, Y) Point.
interpolationSurface
- A reference to a com.esri.arcgis.geometry.IFunctionalSurface (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void interpolateZsBetween(int startPart, int startPoint, int endPart, int endPoint) throws IOException, AutomationException
Sets the Z attributes from the vertices between the StartPoint of the startPart and the EndPoint of the endPart. The values of the StartPoint and EndPoint remain unchanged, but all vertices inbetween are assigned Z values proportional to the distance along the curve between the StartPoint and EndPoint and the difference between the Z values of the StartPoint and EndPoint.
startPart
- The startPart (in)startPoint
- The startPoint (in)endPart
- The endPart (in)endPoint
- The endPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void calculateNonSimpleZs() throws IOException, AutomationException
Calculates Z attribute values for each non-simple (NaN) Z value from existing simple (non-NaN) Z attributes on the interfaced Geometry.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setConstantZ(double zLevel) throws IOException, AutomationException
Sets all Z attributes in the object equal to the constant input Z value.
zLevel
- The zLevel (in)
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 |