|
SFCGAL
2.2.0
|
A Solid modeled with an exteriorShell and interiorShells materialized by PolyhedralSurface. More...
#include <Solid.h>
Inherits SFCGAL::Geometry.
Public Types | |
| typedef boost::ptr_vector< PolyhedralSurface >::iterator | iterator |
| typedef boost::ptr_vector< PolyhedralSurface >::const_iterator | const_iterator |
Public Member Functions | |
| 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... | |
| Solid * | clone () const override |
| std::string | geometryType () const override |
| GeometryType | geometryTypeId () const override |
| int | dimension () const override |
| int | coordinateDimension () const override |
| bool | isEmpty () const override |
| bool | is3D () const override |
| bool | isMeasured () const override |
| auto | dropZ () -> bool override |
| auto | dropM () -> bool override |
| auto | swapXY () -> void override |
| 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) |
| adds an interior shell to the Solid More... | |
| void | addInteriorShell (PolyhedralSurface *shell) |
| adds an interior shell to the Solid More... | |
| void | setExteriorShell (const PolyhedralSurface &shell) |
| Sets the Solid exterior shell. More... | |
| void | setExteriorShell (PolyhedralSurface *shell) |
| Sets the Solid exterior shell The ownership of the shell is taken. 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 |
| void | accept (GeometryVisitor &visitor) override |
| void | accept (ConstGeometryVisitor &visitor) const override |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int) |
| Serializer. More... | |
A Solid modeled with an exteriorShell and interiorShells materialized by PolyhedralSurface.
| typedef boost::ptr_vector<PolyhedralSurface>::const_iterator SFCGAL::Solid::const_iterator |
| typedef boost::ptr_vector<PolyhedralSurface>::iterator SFCGAL::Solid::iterator |
| SFCGAL::Solid::Solid | ( | ) |
Empty Solid constructor.
| SFCGAL::Solid::Solid | ( | const PolyhedralSurface & | exteriorShell | ) |
Constructor with an exterior shell.
| SFCGAL::Solid::Solid | ( | PolyhedralSurface * | exteriorShell | ) |
Constructor with an exterior shell (takes ownership)
| SFCGAL::Solid::Solid | ( | const std::vector< PolyhedralSurface > & | shells | ) |
Constructor with a vector of shells (PolyhedralSurface)
| SFCGAL::Solid::Solid | ( | const Solid & | other | ) |
Copy constructor.
|
default |
destructor
|
override |
|
override |
|
inline |
adds an interior shell to the Solid
|
inline |
adds an interior shell to the Solid
|
inline |
|
inline |
|
override |
|
override |
|
override |
|
override |
|
override |
|
inline |
|
inline |
|
inline |
Returns the exterior shell.
|
inline |
Returns the exterior shell.
|
override |
|
override |
|
inline |
Returns the n-th interior shell.
|
inline |
Returns the n-th interior shell.
|
override |
|
override |
|
override |
|
inline |
Returns the number of interior shells.
|
inline |
Returns the number of shells.
| auto SFCGAL::Solid::operator= | ( | Solid | other | ) |
assign operator
|
inline |
Serializer.
|
inline |
Sets the Solid exterior shell.
|
inline |
Sets the Solid exterior shell The ownership of the shell is taken.
The caller is not responsible anymore of its deallocation.
|
inline |
Returns the n-th shell, 0 is exteriorShell.
|
inline |
Returns the n-th shell, 0 is exteriorShell.
|
override |
1.8.10