|
| Triangle () |
| empty Triangle constructor
|
| Triangle (const Kernel::Triangle_2 &triangle) |
| Constructor with a CGAL triangle.
|
| Triangle (const Kernel::Triangle_3 &triangle) |
| Constructor with a CGAL triangle.
|
| Triangle (const Point &p, const Point &q, const Point &r) |
| constructor with 3 points
|
| Triangle (const Triangle &other) |
| copy constructor
|
Triangle & | operator= (const Triangle &other) |
| assign operator
|
| ~Triangle () |
| destructor
|
virtual Triangle * | clone () const |
| Get a deep copy of the geometry.
|
virtual std::string | geometryType () const |
| [OGC/SFA]returns the geometry type
|
virtual GeometryType | geometryTypeId () const |
| Returns a code corresponding to the type.
|
virtual int | coordinateDimension () const |
| [OGC/SFA]returns the dimension of the coordinates
|
virtual bool | isEmpty () const |
| [OGC/SFA]test if geometry is empty
|
virtual bool | is3D () const |
| [OGC/SFA]test if geometry is 3d
|
virtual bool | isMeasured () const |
| [OGC/SFA]test if geometry is measured (has an m)
|
void | reverse () |
| reverse Triangle orientation
|
Polygon | toPolygon () const |
| convert a triangle to a polygon
|
const Point & | vertex (const int &i) const |
| returns the i-th vertex
|
Point & | vertex (const int &i) |
| returns the i-th vertex
|
Kernel::Triangle_2 | toTriangle_2 () const |
| Convert to CGAL::Triangle_2.
|
Kernel::Triangle_3 | toTriangle_3 () const |
| Convert to CGAL::Triangle_3.
|
template<int D> |
detail::TypeForDimension< D >::Triangle | toTriangle_d () const |
| Convert to CGAL::Triangle_2 or CGAL::Triangle_2.
|
virtual void | accept (GeometryVisitor &visitor) |
| [visitor]dispatch visitor
|
virtual void | accept (ConstGeometryVisitor &visitor) const |
| [visitor]dispatch visitor
|
template<class Archive> |
void | serialize (Archive &ar, const unsigned int) |
| Serializer.
|
virtual | ~Surface () |
| destructor
|
virtual int | dimension () const |
| [OGC/SFA]Dimension of the Geometry ( 0 : punctual, 1 : curve, ...)
|
| Geometry () |
| Default constructor.
|
| Geometry (const Geometry &)=default |
| Copy constructor.
|
Geometry & | operator= (const Geometry &other)=default |
| Copy assignemnt operator.
|
virtual | ~Geometry ()=default |
| Destructor.
|
void | forceValidityFlag (bool validity) |
| Force the state of the validity flag.
|
bool | hasValidityFlag () const |
| Returns the validity flag.
|
std::string | asText (const int &numDecimals=-1) const |
| [OGC/SFA]returns the WKT string
|
std::string | asWkb (boost::endian::order wkbOrder=boost::endian::order::native, bool asHex=false) const |
| [OGC/SFA]returns the WKB string
|
Envelope | envelope () const |
| [OGC/SFA]Returns a polygon representing the BBOX of the geometry
|
virtual std::unique_ptr< Geometry > | boundary () const |
| [OGC/SFA]Returns the boundary of the geometry
|
double | distance (const Geometry &other) const |
| Computes the distance to an other geometry.
|
double | distance3D (const Geometry &other) const |
| Computes the 3D distance to an other geometry.
|
void | round (const long &scale=1) |
| round the geometry with a corresponding scale factor
|
auto | almostEqual (const Geometry &, const double tolerance) const -> bool |
| Equality operator.
|
virtual size_t | numGeometries () const |
| [OGC/SFA]Gets the number of geometries in a collection of geometries
|
virtual const Geometry & | geometryN (size_t const &n) const |
| [OGC/SFA]Returns the n-th geometry
|
virtual Geometry & | geometryN (size_t const &n) |
| [OGC/SFA]Returns the n-th geometry
|
template<typename Derived> |
bool | is () const |
| Tests if geometry is of "Derived" type given as template parameter.
|
template<typename Derived> |
const Derived & | as () const |
| Downcast to a "Derived" class.
|
template<typename Derived> |
Derived & | as () |
| Downcast to a "Derived" class.
|
template<class Archive> |
void | serialize (Archive &, const unsigned int) |
| Serializer.
|