com.partnersoft.io.formats.shapefile
Class ShapefilePolypoint

java.lang.Object
  extended by com.partnersoft.io.formats.shapefile.ShapefileRecord
      extended by com.partnersoft.io.formats.shapefile.ShapefilePolypoint
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ShapefilePolygon, ShapefilePolyline

public abstract class ShapefilePolypoint
extends ShapefileRecord

Superclass for ShapefilePolygons and ShapefilePolylines.

Author:
Paul Reavis Copyright 1999 Partner Software, Inc.
See Also:
Serialized Form

Constructor Summary
ShapefilePolypoint()
           
 
Method Summary
 Rectangle getBoundingBox()
           
 int getNumberOfParts()
           
 int getNumberOfPoints()
           
 java.util.ArrayList getParts()
           
 void setBoundingBox(Rectangle newBox)
           
 void setParts(java.util.ArrayList newParts)
           
 java.lang.String toString()
           
 
Methods inherited from class com.partnersoft.io.formats.shapefile.ShapefileRecord
getRecordNumber, getShapeType, setRecordNumber, setShapeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShapefilePolypoint

public ShapefilePolypoint()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBoundingBox

public Rectangle getBoundingBox()

setBoundingBox

public void setBoundingBox(Rectangle newBox)

getParts

public java.util.ArrayList getParts()

setParts

public void setParts(java.util.ArrayList newParts)

getNumberOfParts

public int getNumberOfParts()

getNumberOfPoints

public int getNumberOfPoints()