Package org.ametys.core.util
Interface POIHolder
- All Known Implementing Classes:
Binary,BinarySource
public interface POIHolder
Interface representing an object that can hold a Point of Interest (POI).
A POI is defined by a 2D point with x and y coordinates.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordRepresents a 2D point with integer coordinates, used to define a Point of Interest. -
Method Summary
Modifier and TypeMethodDescriptiongetPOI()Returns the Point of Interest (POI) associated with this object.
-
Method Details
-
getPOI
Returns the Point of Interest (POI) associated with this object.- Returns:
- the
POIHolder.Pointrepresenting the POI, ornullif none is defined
-