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.

Constructor Index

 o OGDIPoint(OGDICoordinate)
Creates a Point instance.
 o OGDIPoint(OGDICoordinate, OGDIFeatureAttributes)
Creates a Point instance with object information.

Method Index

 o getCoord()
Gets the coordinate of a Point.
 o toString()
Gets the complete point description.

Constructors

 o 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
 o 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

Methods

 o getCoord
 public OGDICoordinate getCoord()
Gets the coordinate of a Point.

Parameters:
no - parameter
Returns:
a Coordinate object
Throws: no
exception
 o 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