com.partnersoft.formats.shapefile
Class ShpPointM
java.lang.Object
com.partnersoft.formats.shapefile.ShpPointM
- All Implemented Interfaces:
- Immutable, ShpPointShape, ShpShape
public class ShpPointM
- extends java.lang.Object
- implements ShpPointShape
A two-dimensional ESRI point with additional measure value.
Copyright 2006-2007 Partner Software, Inc.
- Version:
- $Id: ShpPointM.java 1701 2009-01-13 22:11:48Z paul $
- Author:
- Paul Reavis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShpPointM
public ShpPointM(XyPoint point)
ShpPointM
public ShpPointM(XyPoint point,
double m)
ShpPointM
public ShpPointM(double x,
double y)
ShpPointM
public ShpPointM(double x,
double y,
double m)
ShpPointM
public ShpPointM(ShapeByteReader reader)
toXyPoint
public XyPoint toXyPoint()
- Specified by:
toXyPoint in interface ShpPointShape
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
getX
public double getX()
- Specified by:
getX in interface ShpPointShape
getY
public double getY()
- Specified by:
getY in interface ShpPointShape
getM
public double getM()