All Packages Class Hierarchy This Package Previous Next Index
Class com.las.ogdi.OGDIPoint
java.lang.Object
|
+----com.las.ogdi.OGDIFeature
|
+----com.las.ogdi.OGDIPoint
- public class OGDIPoint
- extends OGDIFeature
The Point class defines an object composed of a single instance
of a Coordinate object.
- Version:
- 1.0
- Author:
- Las Inc.
-
OGDIPoint(OGDICoordinate)
- Creates a Point instance.
-
OGDIPoint(OGDICoordinate, OGDIFeatureAttributes)
- Creates a Point instance with object information.
-
getCoord()
- Gets the coordinate of a Point.
-
toString()
- Gets the complete point description.
OGDIPoint
public OGDIPoint(OGDICoordinate c)
- Creates a Point instance.
- Parameters:
- c - the coordinate in the current coordinate system
- Returns:
- no return
- Throws: IllegalArgumentException
- if point is badly formatted
OGDIPoint
public OGDIPoint(OGDICoordinate c,
OGDIFeatureAttributes info)
- Creates a Point instance with object information.
- Parameters:
- c - the coordinate in the current coordinate system
- info - the object information
- Returns:
- no return
- Throws: IllegalArgumentException
- if point is badly formatted
getCoord
public OGDICoordinate getCoord()
- Gets the coordinate of a Point.
- Parameters:
- no - parameter
- Returns:
- a Coordinate object
- Throws: no
- exception
toString
public String toString()
- Gets the complete point description.
- Parameters:
- no - parameter
- Returns:
- the point coordinate (and optionally its attributes) as a string
- Throws: no
- exception
- Overrides:
- toString in class OGDIFeature
- See Also:
- toString, toString
All Packages Class Hierarchy This Package Previous Next Index