com.esri.core.geometry
Class Polyline

java.lang.Object
  extended by com.esri.core.geometry.Geometry
      extended by com.esri.core.geometry.MultiPath
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.core.geometry.Geometry
Geometry.Type
 
Field Summary
 
Fields inherited from class com.esri.core.geometry.MultiPath
m_impl
 
Fields inherited from class com.esri.core.geometry.Geometry
m_description
 
Constructor Summary
Polyline()
          Creates a Polyline
 
Method Summary
 void addSegment(Segment segment, boolean bStartNewPath)
           
 Geometry createInstance()
          Creates instance of empty Geometry with the same VertexDescription.
 boolean equals(Object other)
           
 int getDimension()
          Returns the Geometry Dimension.
 Geometry.Type getType()
          Returns the Geometry type.
 int hashCode()
           
 
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
 
Methods inherited from class com.esri.core.geometry.Geometry
addID, addM, addZ, hasID, hasM, hasZ, isSegment, queryEnvelope
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polyline

public Polyline()
Creates a Polyline

Method Detail

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.