Represents a point.
More...
#include <luciad/geometries/Point.h>
|
size_t | getHash () const override |
| Returns the hash value for this geometry. More...
|
|
virtual size_t | getHash () const =0 |
| Returns the hash value for this geometry. More...
|
|
◆ Point() [1/3]
Constructs a point with a reference and a coordinate.
- Parameters
-
reference | the reference of the point. |
coordinate | the coordinate values of the point. |
◆ ~Point()
luciad::Point::~Point |
( |
| ) |
|
|
override |
◆ Point() [2/3]
luciad::Point::Point |
( |
const Point & |
other | ) |
|
◆ Point() [3/3]
luciad::Point::Point |
( |
Point && |
other | ) |
|
|
noexcept |
◆ getBounds()
Bounds luciad::Point::getBounds |
( |
| ) |
const |
|
overridevirtual |
Returns the bounds for the geometry object.
- Returns
- the bounds for the geometry object.
- Exceptions
-
Implements luciad::Geometry.
◆ getHash()
size_t luciad::Point::getHash |
( |
| ) |
const |
|
overrideprotectedvirtual |
Returns the hash value for this geometry.
- Returns
- the hash value for this geometry.
Implements luciad::Geometry.
◆ getLocation()
Returns the coordinate of the location.
- Returns
- the coordinate of the location.
◆ getReference()
Returns the coordinate reference of the geometry.
- Returns
- the coordinate reference of the geometry.
Implements luciad::Geometry.
◆ moveTo()
std::shared_ptr< Point > luciad::Point::moveTo |
( |
Coordinate |
location | ) |
const |
Returns 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
- Since
- 2020.1
◆ operator=()
◆ translate()
std::shared_ptr< Point > luciad::Point::translate |
( |
Coordinate |
translation | ) |
const |
Returns a new Point instance with the translation vector applied.
- Parameters
-
translation | the translation vector |
- Returns
- a new, translated geometry
- Since
- 2020.1