public class ShpPoint extends java.lang.Object implements ShpPointShape
Copyright 2006 Partner Software, Inc.
| Constructor and Description |
|---|
ShpPoint(double x,
double y) |
ShpPoint(ShapeByteReader reader) |
ShpPoint(XyPoint point) |
| Modifier and Type | Method and Description |
|---|---|
ShapeType |
getType()
Returns the type for this shape.
|
double |
getX() |
double |
getY() |
java.lang.String |
toString() |
XyPoint |
toXyPoint() |
void |
writeBytes(ShapeByteWriter writer)
Writes this shape, in binary format, to the given output.
|
public ShpPoint(XyPoint point)
public ShpPoint(double x,
double y)
public ShpPoint(ShapeByteReader reader)
public XyPoint toXyPoint()
toXyPoint in interface ShpPointShapepublic ShapeType getType()
ShpShapepublic void writeBytes(ShapeByteWriter writer)
ShpShapewriteBytes in interface ShpShapepublic java.lang.String toString()
toString in class java.lang.Objectpublic double getX()
getX in interface ShpPointShapepublic double getY()
getY in interface ShpPointShape