|
| Polygon () |
| Empty Polygon constructor. More...
|
|
| Polygon (const std::vector< LineString > &rings) |
| Constructor with an exterior ring. More...
|
|
| Polygon (const LineString &exteriorRing) |
| Constructor with an exterior ring. More...
|
|
| Polygon (LineString *exteriorRing) |
| Constructor with an exterior ring (takes ownership) More...
|
|
| Polygon (const Triangle &triangle) |
| Constructor with a Triangle. More...
|
|
| Polygon (const Polygon &other) |
| Copy constructor. More...
|
|
| Polygon (const CGAL::Polygon_2< Kernel > &other) |
| Constructor from CGAL::Polygon_with_holes_2<K> More...
|
|
| Polygon (const CGAL::Polygon_with_holes_2< Kernel > &other) |
| Constructor from CGAL::Polygon_with_holes_2<K> More...
|
|
Polygon & | operator= (Polygon other) |
| assign operator More...
|
|
| ~Polygon () |
| destructor More...
|
|
virtual Polygon * | 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 | 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...
|
|
bool | isCounterClockWiseOriented () const |
| Check whether the 2D polygon is pointing up. More...
|
|
void | reverse () |
| reverse Polygon orientation More...
|
|
const LineString & | exteriorRing () const |
| [OGC/SFA]returns the exterior ring More...
|
|
LineString & | exteriorRing () |
| [OGC/SFA]returns the exterior ring More...
|
|
void | setExteriorRing (const LineString &ring) |
| Sets the exterior ring. More...
|
|
void | setExteriorRing (LineString *ring) |
| Sets the exterior ring (takes ownership) More...
|
|
bool | hasInteriorRings () const |
| Test if the polygon has interior rings. More...
|
|
size_t | numInteriorRings () const |
| [OGC/SFA]returns the exterior ring More...
|
|
const LineString & | interiorRingN (const size_t &n) const |
| [OGC/SFA]returns the exterior ring More...
|
|
LineString & | interiorRingN (const size_t &n) |
| [OGC/SFA]returns the exterior ring More...
|
|
size_t | numRings () const |
| Returns the number of rings. More...
|
|
const LineString & | ringN (const size_t &n) const |
| Returns the n-th ring, 0 is exteriorRing. More...
|
|
LineString & | ringN (const size_t &n) |
| Returns the n-th ring, 0 is exteriorRing. More...
|
|
void | addInteriorRing (const LineString &ls) |
| append a ring to the Polygon More...
|
|
void | addInteriorRing (LineString *ls) |
| append a ring to the Polygon (take ownership) More...
|
|
void | addRing (const LineString &ls) |
| append a ring to the Polygon More...
|
|
void | addRing (LineString *ls) |
| append a ring to the Polygon (take ownership) More...
|
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
CGAL::Polygon_2< Kernel > | toPolygon_2 (bool fixOrientation=true) const |
|
CGAL::Polygon_with_holes_2< Kernel > | toPolygon_with_holes_2 (bool fixOrientation=true) 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...
|
|
| Polygon () |
| Empty Polygon constructor. More...
|
|
| Polygon (const std::vector< LineString > &rings) |
| Constructor with an exterior ring. More...
|
|
| Polygon (const LineString &exteriorRing) |
| Constructor with an exterior ring. More...
|
|
| Polygon (LineString *exteriorRing) |
| Constructor with an exterior ring (takes ownership) More...
|
|
| Polygon (const Triangle &triangle) |
| Constructor with a Triangle. More...
|
|
| Polygon (const Polygon &other) |
| Copy constructor. More...
|
|
| Polygon (const CGAL::Polygon_2< Kernel > &other) |
| Constructor from CGAL::Polygon_with_holes_2<K> More...
|
|
| Polygon (const CGAL::Polygon_with_holes_2< Kernel > &other) |
| Constructor from CGAL::Polygon_with_holes_2<K> More...
|
|
Polygon & | operator= (Polygon other) |
| assign operator More...
|
|
| ~Polygon () |
| destructor More...
|
|
virtual Polygon * | 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 | 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...
|
|
bool | isCounterClockWiseOriented () const |
| Check whether the 2D polygon is pointing up. More...
|
|
void | reverse () |
| reverse Polygon orientation More...
|
|
const LineString & | exteriorRing () const |
| [OGC/SFA]returns the exterior ring More...
|
|
LineString & | exteriorRing () |
| [OGC/SFA]returns the exterior ring More...
|
|
void | setExteriorRing (const LineString &ring) |
| Sets the exterior ring. More...
|
|
void | setExteriorRing (LineString *ring) |
| Sets the exterior ring (takes ownership) More...
|
|
bool | hasInteriorRings () const |
| Test if the polygon has interior rings. More...
|
|
size_t | numInteriorRings () const |
| [OGC/SFA]returns the exterior ring More...
|
|
const LineString & | interiorRingN (const size_t &n) const |
| [OGC/SFA]returns the exterior ring More...
|
|
LineString & | interiorRingN (const size_t &n) |
| [OGC/SFA]returns the exterior ring More...
|
|
size_t | numRings () const |
| Returns the number of rings. More...
|
|
const LineString & | ringN (const size_t &n) const |
| Returns the n-th ring, 0 is exteriorRing. More...
|
|
LineString & | ringN (const size_t &n) |
| Returns the n-th ring, 0 is exteriorRing. More...
|
|
void | addInteriorRing (const LineString &ls) |
| append a ring to the Polygon More...
|
|
void | addInteriorRing (LineString *ls) |
| append a ring to the Polygon (take ownership) More...
|
|
void | addRing (const LineString &ls) |
| append a ring to the Polygon More...
|
|
void | addRing (LineString *ls) |
| append a ring to the Polygon (take ownership) More...
|
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
CGAL::Polygon_2< Kernel > | toPolygon_2 (bool fixOrientation=true) const |
|
CGAL::Polygon_with_holes_2< Kernel > | toPolygon_with_holes_2 (bool fixOrientation=true) 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...
|
|
virtual | ~Surface () |
| destructor More...
|
|
virtual int | dimension () const |
| [OGC/SFA]Dimension of the Geometry ( 0 : punctual, 1 : curve, ...) More...
|
|
virtual | ~Surface () |
| destructor More...
|
|
virtual int | dimension () const |
| [OGC/SFA]Dimension of the Geometry ( 0 : punctual, 1 : curve, ...) 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...
|
|