|
| Solid () |
| Empty Solid constructor. More...
|
|
| Solid (const PolyhedralSurface &exteriorShell) |
| Constructor with an exterior shell. More...
|
|
| Solid (PolyhedralSurface *exteriorShell) |
| Constructor with an exterior shell (takes ownership) More...
|
|
| Solid (const std::vector< PolyhedralSurface > &shells) |
| Constructor with a vector of shells (PolyhedralSurface) More...
|
|
| Solid (const Solid &other) |
| Copy constructor. More...
|
|
Solid & | operator= (Solid other) |
| assign operator More...
|
|
| ~Solid () |
| destructor More...
|
|
virtual Solid * | clone () const |
| Get a deep copy of the geometry. More...
|
|
virtual std::string | geometryType () const |
| [OGC/SFA]returns the geometry type More...
|
|
virtual GeometryType | geometryTypeId () const |
| Returns a code corresponding to the type. More...
|
|
virtual int | dimension () const |
| [OGC/SFA]Dimension of the Geometry ( 0 : punctual, 1 : curve, ...) More...
|
|
virtual int | coordinateDimension () const |
| [OGC/SFA]returns the dimension of the coordinates More...
|
|
virtual bool | isEmpty () const |
| [OGC/SFA]test if geometry is empty More...
|
|
virtual bool | is3D () const |
| [OGC/SFA]test if geometry is 3d More...
|
|
virtual bool | isMeasured () const |
| [OGC/SFA]test if geometry is measured (has an m) More...
|
|
const PolyhedralSurface & | exteriorShell () const |
| Returns the exterior shell. More...
|
|
PolyhedralSurface & | exteriorShell () |
| Returns the exterior shell. More...
|
|
size_t | numInteriorShells () const |
| Returns the number of interior shells. More...
|
|
const PolyhedralSurface & | interiorShellN (size_t const &n) const |
| Returns the n-th interior shell. More...
|
|
PolyhedralSurface & | interiorShellN (size_t const &n) |
| Returns the n-th interior shell. More...
|
|
void | addInteriorShell (const PolyhedralSurface &shell) |
| add a polygon to the PolyhedralSurface More...
|
|
void | addInteriorShell (PolyhedralSurface *shell) |
| add a polygon to the PolyhedralSurface More...
|
|
size_t | numShells () const |
| Returns the number of shells. More...
|
|
const PolyhedralSurface & | shellN (const size_t &n) const |
| Returns the n-th shell, 0 is exteriorShell. More...
|
|
PolyhedralSurface & | shellN (const size_t &n) |
| Returns the n-th shell, 0 is exteriorShell. More...
|
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
virtual void | accept (GeometryVisitor &visitor) |
| [visitor]dispatch visitor More...
|
|
virtual void | accept (ConstGeometryVisitor &visitor) const |
| [visitor]dispatch visitor More...
|
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int) |
| Serializer. More...
|
|
| Solid () |
| Empty Solid constructor. More...
|
|
| Solid (const PolyhedralSurface &exteriorShell) |
| Constructor with an exterior shell. More...
|
|
| Solid (PolyhedralSurface *exteriorShell) |
| Constructor with an exterior shell (takes ownership) More...
|
|
| Solid (const std::vector< PolyhedralSurface > &shells) |
| Constructor with a vector of shells (PolyhedralSurface) More...
|
|
| Solid (const Solid &other) |
| Copy constructor. More...
|
|
Solid & | operator= (Solid other) |
| assign operator More...
|
|
| ~Solid () |
| destructor More...
|
|
virtual Solid * | clone () const |
| Get a deep copy of the geometry. More...
|
|
virtual std::string | geometryType () const |
| [OGC/SFA]returns the geometry type More...
|
|
virtual GeometryType | geometryTypeId () const |
| Returns a code corresponding to the type. More...
|
|
virtual int | dimension () const |
| [OGC/SFA]Dimension of the Geometry ( 0 : punctual, 1 : curve, ...) More...
|
|
virtual int | coordinateDimension () const |
| [OGC/SFA]returns the dimension of the coordinates More...
|
|
virtual bool | isEmpty () const |
| [OGC/SFA]test if geometry is empty More...
|
|
virtual bool | is3D () const |
| [OGC/SFA]test if geometry is 3d More...
|
|
virtual bool | isMeasured () const |
| [OGC/SFA]test if geometry is measured (has an m) More...
|
|
const PolyhedralSurface & | exteriorShell () const |
| Returns the exterior shell. More...
|
|
PolyhedralSurface & | exteriorShell () |
| Returns the exterior shell. More...
|
|
size_t | numInteriorShells () const |
| Returns the number of interior shells. More...
|
|
const PolyhedralSurface & | interiorShellN (size_t const &n) const |
| Returns the n-th interior shell. More...
|
|
PolyhedralSurface & | interiorShellN (size_t const &n) |
| Returns the n-th interior shell. More...
|
|
void | addInteriorShell (const PolyhedralSurface &shell) |
| add a polygon to the PolyhedralSurface More...
|
|
void | addInteriorShell (PolyhedralSurface *shell) |
| add a polygon to the PolyhedralSurface More...
|
|
size_t | numShells () const |
| Returns the number of shells. More...
|
|
const PolyhedralSurface & | shellN (const size_t &n) const |
| Returns the n-th shell, 0 is exteriorShell. More...
|
|
PolyhedralSurface & | shellN (const size_t &n) |
| Returns the n-th shell, 0 is exteriorShell. More...
|
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
virtual void | accept (GeometryVisitor &visitor) |
| [visitor]dispatch visitor More...
|
|
virtual void | accept (ConstGeometryVisitor &visitor) const |
| [visitor]dispatch visitor More...
|
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int) |
| Serializer. More...
|
|
| Geometry () |
| Default constructor. More...
|
|
| Geometry (const Geometry &)=default |
| Copy constructor. More...
|
|
Geometry & | operator= (const Geometry &other)=default |
| Copy assignemnt operator. More...
|
|
virtual | ~Geometry ()=default |
| Destructor. More...
|
|
void | forceValidityFlag (bool validity) |
| Force the state of the validity flag. More...
|
|
bool | hasValidityFlag () const |
| Returns the validity flag. More...
|
|
std::string | asText (const int &numDecimals=-1) const |
| [OGC/SFA]returns the WKT string More...
|
|
Envelope | envelope () const |
| [OGC/SFA]Returns a polygon representing the BBOX of the geometry More...
|
|
virtual std::unique_ptr< Geometry > | boundary () const |
| [OGC/SFA]Returns the boundary of the geometry More...
|
|
double | distance (const Geometry &other) const |
| Computes the distance to an other geometry. More...
|
|
double | distance3D (const Geometry &other) const |
| Computes the 3D distance to an other geometry. More...
|
|
void | round (const long &scale=1) |
| round the geometry with a corresponding scale factor More...
|
|
auto | almostEqual (const Geometry &, const double tolerance) const -> bool |
| Equality operator. More...
|
|
virtual size_t | numGeometries () const |
| [OGC/SFA]Gets the number of geometries in a collection of geometries More...
|
|
virtual const Geometry & | geometryN (size_t const &n) const |
| [OGC/SFA]Returns the n-th geometry More...
|
|
virtual Geometry & | geometryN (size_t const &n) |
| [OGC/SFA]Returns the n-th geometry More...
|
|
template<typename Derived > |
bool | is () const |
| Tests if geometry is of "Derived" type given as template parameter. More...
|
|
template<typename Derived > |
const Derived & | as () const |
| Downcast to a "Derived" class. More...
|
|
template<typename Derived > |
Derived & | as () |
| Downcast to a "Derived" class. More...
|
|
template<class Archive > |
void | serialize (Archive &, const unsigned int) |
| Serializer. More...
|
|
| Geometry () |
| Default constructor. More...
|
|
| Geometry (const Geometry &)=default |
| Copy constructor. More...
|
|
Geometry & | operator= (const Geometry &other)=default |
| Copy assignemnt operator. More...
|
|
virtual | ~Geometry ()=default |
| Destructor. More...
|
|
void | forceValidityFlag (bool validity) |
| Force the state of the validity flag. More...
|
|
bool | hasValidityFlag () const |
| Returns the validity flag. More...
|
|
std::string | asText (const int &numDecimals=-1) const |
| [OGC/SFA]returns the WKT string More...
|
|
Envelope | envelope () const |
| [OGC/SFA]Returns a polygon representing the BBOX of the geometry More...
|
|
virtual std::unique_ptr< Geometry > | boundary () const |
| [OGC/SFA]Returns the boundary of the geometry More...
|
|
double | distance (const Geometry &other) const |
| Computes the distance to an other geometry. More...
|
|
double | distance3D (const Geometry &other) const |
| Computes the 3D distance to an other geometry. More...
|
|
void | round (const long &scale=1) |
| round the geometry with a corresponding scale factor More...
|
|
auto | almostEqual (const Geometry &, const double tolerance) const -> bool |
| Equality operator. More...
|
|
virtual size_t | numGeometries () const |
| [OGC/SFA]Gets the number of geometries in a collection of geometries More...
|
|
virtual const Geometry & | geometryN (size_t const &n) const |
| [OGC/SFA]Returns the n-th geometry More...
|
|
virtual Geometry & | geometryN (size_t const &n) |
| [OGC/SFA]Returns the n-th geometry More...
|
|
template<typename Derived > |
bool | is () const |
| Tests if geometry is of "Derived" type given as template parameter. More...
|
|
template<typename Derived > |
const Derived & | as () const |
| Downcast to a "Derived" class. More...
|
|
template<typename Derived > |
Derived & | as () |
| Downcast to a "Derived" class. More...
|
|
template<class Archive > |
void | serialize (Archive &, const unsigned int) |
| Serializer. More...
|
|
A Solid modeled with an exteriorShell and interiorShells materialized by PolyhedralSurface.
- Note
- A shell is supposed to be closed.
- Warning
- GM_Solid, from ISO 19107 is defined in CityGML, but not in SFA. Without Solid concept,
- Note
- Volume concept is missing.