A patch is a surface based on a single ring, thus not having any holes.
More...
#include <luciad/geometries/Patch.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...
|
|
A patch is a surface based on a single ring, thus not having any holes.
You can read more about the available geometries here.
- See also
- GeometryFactory::createPatch
◆ ~Patch()
luciad::Patch::~Patch |
( |
| ) |
|
|
override |
◆ contains2D()
bool luciad::Patch::contains2D |
( |
Coordinate |
point | ) |
const |
Returns if this patch contains the given point.
For these calculations, the height value of the given point or base geometry is ignored. I.e. only the horizontal coordinates are taken into account.
Limitations:
- Parameters
-
point | a point, defined in the same reference as the reference of this Patch |
- Returns
- whether this patch contains the given point.
- Exceptions
-
- Since
- 2025.0
◆ getBaseGeometry()
const std::shared_ptr< Ring > & luciad::Patch::getBaseGeometry |
( |
| ) |
const |
Returns the base ring
geometry on which the patch is based.
- Returns
- the base
ring
geometry on which the patch is based.
◆ getBounds()
Bounds luciad::Patch::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::Patch::getHash |
( |
| ) |
const |
|
overrideprotectedvirtual |
Returns the hash value for this geometry.
- Returns
- the hash value for this geometry.
Implements luciad::Geometry.
◆ getReference()
Returns the coordinate reference of the geometry.
- Returns
- the coordinate reference of the geometry.
Implements luciad::Geometry.