|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPolycurve3D
Provides access to members that define operations common to polycurves with Zs.
Provides methods allowing one to add vertices where they do not already exist (Densify), remove existing vertices based on the Douglas-Poiker algorithm (Generalize), and remove existing vertices based on a tolerance obtained from the system units of the geometry’s spatial reference or bounding box (Weed). In contrast to IPolycurve, Z values are taken into account when performing Densify, Generalize, and Weed operations.
Method Summary | |
---|---|
void |
densify3D(double maxSegmentLength,
double maxDeviation)
Converts this Polycurve into a piecewise linear approximation of itself. |
void |
generalize3D(double maxAllowableOffset)
Generalizes this polycurve using the Douglas-Poiker algorithm. |
void |
weed3D(double maxAllowableOffsetFactor)
Generalizes using a small tolerance based upon either the system units of the geometry's spatial reference, or the geometry's bounding box. |
Method Detail |
---|
void densify3D(double maxSegmentLength, double maxDeviation) throws IOException, AutomationException
Converts Polycurve into a Polycurve composed of Line segments
with 3D length maxSegmentLength (or less) that are within
maxDeviation of the original polycurve. If maxDeviation = 0,
maxDeviation is ignored and Line segments with length
maxSegmentLength are constructed with vertices laying on the
original curve. All of the segments in the final polyline
will be 3D Lines.
maxSegmentLength
- The maxSegmentLength (in)maxDeviation
- The maxDeviation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void generalize3D(double maxAllowableOffset) throws IOException, AutomationException
Generalizes each part of a Polycurve into a generalized
collection of Line segments. Generalize3D performs a
Douglas-Poiker Generalization algorithm, extended to operate in 3D
space, with a specified maximum offset tolerance, given in 3D, as
input. For Line segments, the Generalized output is a subset of the
original input vertices. For non-Linear segments, the
Generalized output contains points along all parts of the curve,
not necessarily only the vertices.
maxAllowableOffset
- The maxAllowableOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void weed3D(double maxAllowableOffsetFactor) throws IOException, AutomationException
Weed generalizes each part of a Polycurve into a generalized
collection of z aware Line segments. Weed performs a
Douglas-Poiker Generalization algorithm, extended to operate in 3D
space, with a specified multiple of the internal tolerance given as
input. For Line segments, the Generalized output is a subset
of the original input vertices. For non-Linear segments, the
Generalized output contains points along all parts of the curve,
not necessarily only the vertices.
maxAllowableOffsetFactor
- The maxAllowableOffsetFactor (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 |