T
- The sub-type of this PointGeometry object.public interface PointGeometry<T extends PointGeometry> extends GeomElement<T>
GeomElement
objects that contain only points.
Modified by: Joseph A. Huwaldt
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfPoints()
Return the total number of points in this geometry element.
|
T |
to(Unit<Length> unit)
Returns the equivalent to this point geometry object but stated in the specified
unit.
|
addChangeListener, copy, copyToReal, getAllUserData, getBoundsMax, getBoundsMin, getID, getLimitPoint, getName, getParDimension, getPhyDimension, getUnit, getUserData, isValid, putAllUserData, putUserData, removeChangeListener, removeUserData, setName, size, toDimension, toText
int getNumberOfPoints()
T to(Unit<Length> unit) throws ConversionException
to
in interface GeomElement<T extends PointGeometry>
unit
- the length unit of the point geometry to be returned.ConversionException
- if the the input unit is not a length unit.