Abstract Surface class.
More...
#include <Surface.h>
Inherits SFCGAL::Geometry.
Inherited by SFCGAL::GeometryImpl< Polygon, Surface >, SFCGAL::GeometryImpl< PolyhedralSurface, Surface >, SFCGAL::GeometryImpl< Triangle, Surface >, and SFCGAL::GeometryImpl< TriangulatedSurface, Surface >.
| SFCGAL::Surface::~Surface |
( |
| ) |
|
|
overridedefault |
| SFCGAL::Surface::Surface |
( |
| ) |
|
|
protecteddefault |
[OGC/SFS]"The area of this Surface, as measured in the spatial reference
system of this Surface"
[OGC/SFS]"The mathematical centroid for this Surface as a Point. The result
in not guaranteed to be on this Surface" [OGC/SFS]"A Point guaranteed to be on this Surface"
- Warning
- empty point is isEmpty() no default constructor
| SFCGAL::Surface::Surface |
( |
Surface const & |
other | ) |
|
|
protecteddefault |
no copy constructor
- Parameters
-
| other | The surface to copy from |
| auto SFCGAL::Surface::dimension |
( |
| ) |
const -> int |
|
override |
Get the dimension of the surface.
- Returns
- 2 (surfaces are 2-dimensional)