com.esri.core.geometry
Class Polyline
java.lang.Object
com.esri.core.geometry.Geometry
com.esri.core.geometry.MultiPath
com.esri.core.geometry.Polyline
- All Implemented Interfaces:
- Serializable
public final class Polyline
- extends MultiPath
- implements Serializable
The Polyline is a collection of paths.
- See Also:
- Serialized Form
|
Constructor Summary |
Polyline()
Creates a Polyline |
| Methods inherited from class com.esri.core.geometry.MultiPath |
_getImpl, add, addEnvelope, addPath, calculateArea2D, calculateLength2D, closeAllPaths, closePathWithArc, closePathWithLine, copyTo, getPathCount, getPathEnd, getPathIndexFromPointIndex, getPathSize, getPathStart, getPoint, getPointCount, getSegmentCount, getSegmentCount, hasNonLinearSegments, hasNonLinearSegments, insertPoints, isClosedPath, isEmpty, lineTo, lineTo, querySegmentIterator, querySegmentIteratorAtVertex, setEmpty, setPoint, startPath, startPath |
Polyline
public Polyline()
- Creates a Polyline
createInstance
public Geometry createInstance()
- Description copied from class:
Geometry
- Creates instance of empty Geometry with the same VertexDescription.
- Specified by:
createInstance in class Geometry
getDimension
public int getDimension()
- Description copied from class:
Geometry
- Returns the Geometry Dimension. (0 for Point and MultiPoint, 1 for
curves, 2 for objects that have area, 3 for objects with volume)
- Specified by:
getDimension in class Geometry
getType
public Geometry.Type getType()
- Description copied from class:
Geometry
- Returns the Geometry type.
- Specified by:
getType in class Geometry
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class MultiPath
addSegment
public void addSegment(Segment segment,
boolean bStartNewPath)
Copyright © 2010. All Rights Reserved.