Package com.luciad.geometries
Class Point
java.lang.Object
com.luciad.geometries.Geometry
com.luciad.geometries.Point
- All Implemented Interfaces:
- AutoCloseable
Represents a point.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionPoint(CoordinateReference reference, Coordinate coordinate) Constructs a point with a reference and a coordinate.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()protected voidfinalize()Returns the coordinate of the location.moveTo(Coordinate location) Returns a new Point instance which is moved to the new coordinate location.translate(Coordinate translation) Returns a new Point instance with the translation vector applied.Methods inherited from class com.luciad.geometries.GeometrygetBounds, getReference
- 
Constructor Details- 
PointConstructs a point with a reference and a coordinate.- Parameters:
- reference- the reference of the point.
- coordinate- the coordinate values of the point.
 
- 
Point
 
- 
- 
Method Details- 
finalizeprotected void finalize()
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Overrides:
- closein class- Geometry
 
- 
getLocationReturns the coordinate of the location.- Returns:
- the coordinate of the location.
 
- 
translateReturns a new Point instance with the translation vector applied.- Parameters:
- translation- the translation vector
- Returns:
- a new, translated geometry
 
- 
moveToReturns a new Point instance which is moved to the new coordinate location.- Parameters:
- location- the new location to move this point to
- Returns:
- a new, moved geometry
 
 
-