com.partnersoft.formats.shapefile
Class ShpMultiPointZ

java.lang.Object
  extended by com.partnersoft.formats.shapefile.ShpMultiPointZ
All Implemented Interfaces:
Immutable, ShpShape

public class ShpMultiPointZ
extends java.lang.Object
implements ShpShape

ESRI's multiple-point shape in (x, y) space.

This is simply a list of (x, y) points.

Copyright 2008 Partner Software, Inc.

Version:
$Id: ShpPolyLine.java 1247 2008-03-21 17:54:34Z paul $
Author:
Paul Reavis

Constructor Summary
ShpMultiPointZ(ShapeByteReader reader)
          Creates a new ShpPolyLine object from the given input.
 
Method Summary
 XyzBounds getBounds()
          Return the bounds.
 int getNumPoints()
          The total number of points.
 java.util.List<ShpPointZ> getPoints()
          Returns the points as a list of points.
 ShapeType getType()
          Returns the type for this shape.
 java.lang.String toString()
           
 void writeBytes(ShapeByteWriter writer)
          Writes this shape, in binary format, to the given output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShpMultiPointZ

public ShpMultiPointZ(ShapeByteReader reader)
Creates a new ShpPolyLine object from the given input.

Method Detail

getType

public ShapeType getType()
Description copied from interface: ShpShape
Returns the type for this shape.

Specified by:
getType in interface ShpShape

writeBytes

public void writeBytes(ShapeByteWriter writer)
Description copied from interface: ShpShape
Writes this shape, in binary format, to the given output. Does not include the type code.

Specified by:
writeBytes in interface ShpShape

toString

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

getNumPoints

public int getNumPoints()
The total number of points.

Returns:
number of points

getPoints

public java.util.List<ShpPointZ> getPoints()
Returns the points as a list of points.


getBounds

public XyzBounds getBounds()
Return the bounds.