|
| | LineString () |
| | Empty LineString constructor. More...
|
| |
| | LineString (const std::vector< Point > &points) |
| | Constructor with a point vector. More...
|
| |
| | LineString (const Point &startPoint, const Point &endPoint) |
| | LineString constructor. More...
|
| |
| | LineString (LineString const &other) |
| | Copy constructor. More...
|
| |
| LineString & | operator= (LineString other) |
| | assign operator More...
|
| |
| | ~LineString () |
| | destructor More...
|
| |
| virtual LineString * | 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...
|
| |
| void | clear () |
| | remove all points from the LineString More...
|
| |
| void | reverse () |
| | reverse LineString orientation More...
|
| |
| size_t | numPoints () const |
| | [SFA/OGC]Returns the number of points More...
|
| |
| size_t | numSegments () const |
| | Returns the number of segments. More...
|
| |
| const Point & | pointN (size_t const &n) const |
| | [SFA/OGC]Returns the n-th point More...
|
| |
| Point & | pointN (size_t const &n) |
| | [SFA/OGC]Returns the n-th point More...
|
| |
| const Point & | startPoint () const |
| | [SFA/OGC]Returns the first point More...
|
| |
| Point & | startPoint () |
| | [SFA/OGC]Returns the first point More...
|
| |
| const Point & | endPoint () const |
| | [SFA/OGC]Returns the first point More...
|
| |
| Point & | endPoint () |
| | [SFA/OGC]Returns the first point More...
|
| |
| void | addPoint (const Point &p) |
| | append a Point to the LineString More...
|
| |
| void | addPoint (Point *p) |
| | append a Point to the LineString and takes ownership More...
|
| |
| bool | isClosed () const |
| | test if the LineString is closed More...
|
| |
| iterator | begin () |
| |
| const_iterator | begin () const |
| |
| iterator | end () |
| |
| const_iterator | end () const |
| |
| void | reserve (const size_t &n) |
| |
| Point_2_const_iterator | points_2_begin () const |
| |
| Point_2_const_iterator | points_2_end () const |
| |
| std::pair< Point_2_const_iterator, Point_2_const_iterator > | points_2 () const |
| |
| Point_3_const_iterator | points_3_begin () const |
| |
| Point_3_const_iterator | points_3_end () const |
| |
| std::pair< Point_3_const_iterator, Point_3_const_iterator > | points_3 () const |
| |
| CGAL::Polygon_2< Kernel > | toPolygon_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...
|
| |
| | 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...
|
| |
| virtual Geometry * | clone () const =0 |
| | Get a deep copy of the geometry. More...
|
| |
| virtual std::string | geometryType () const =0 |
| | [OGC/SFA]returns the geometry type More...
|
| |
| virtual GeometryType | geometryTypeId () const =0 |
| | Returns a code corresponding to the type. More...
|
| |
| virtual int | dimension () const =0 |
| | [OGC/SFA]Dimension of the Geometry ( 0 : punctual, 1 : curve, ...) More...
|
| |
| virtual int | coordinateDimension () const =0 |
| | [OGC/SFA]returns the dimension of the coordinates More...
|
| |
| virtual bool | isEmpty () const =0 |
| | [OGC/SFA]test if geometry is empty More...
|
| |
| virtual bool | is3D () const =0 |
| | [OGC/SFA]test if geometry is 3d More...
|
| |
| virtual bool | isMeasured () const =0 |
| | [OGC/SFA]test if geometry is measured (has an m) 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...
|
| |
| virtual void | accept (GeometryVisitor &visitor)=0 |
| | [visitor]dispatch visitor More...
|
| |
| virtual void | accept (ConstGeometryVisitor &visitor) const =0 |
| | [visitor]dispatch visitor More...
|
| |
| template<class Archive > |
| void | serialize (Archive &, const unsigned int) |
| | Serializer. More...
|
| |