com.partnersoft.formats.shapefile
Interface ShpShape

All Superinterfaces:
Immutable
All Known Subinterfaces:
ShpPointShape
All Known Implementing Classes:
ShpMultiPatch, ShpMultiPoint, ShpMultiPointM, ShpMultiPointZ, ShpNull, ShpPoint, ShpPointM, ShpPointZ, ShpPolyCurve, ShpPolygon, ShpPolygonM, ShpPolygonZ, ShpPolyLine, ShpPolyLineM, ShpPolyLineZ

public interface ShpShape
extends Immutable

Interface for geometric shapes from a shapefile or ESRI geodatabase.

In addition to the requirements of this interface and Immutable, implementations must adhere to the following semantic conventions:

The intent is that implementations match, as closely as possible, the ESRI specification. This should make it easier to verify correctness.

Copyright 2006-2007 Partner Software, Inc.

Version:
$Id: ShpShape.java 1012 2007-11-24 18:30:02Z paul $
Author:
Paul Reavis

Method Summary
 ShapeType getType()
          Returns the type for this shape.
 void writeBytes(ShapeByteWriter output)
          Writes this shape, in binary format, to the given output.
 

Method Detail

getType

ShapeType getType()
Returns the type for this shape.


writeBytes

void writeBytes(ShapeByteWriter output)
Writes this shape, in binary format, to the given output. Does not include the type code.