|
SFCGAL 2.0.0
|
Namespaces | |
| namespace | algorithm |
| namespace | detail |
| namespace | generator |
| namespace | graph |
| namespace | io |
| namespace | tools |
| namespace | transform |
| namespace | triangulate |
Classes | |
| class | CoordinateDimensionVisitor |
| class | GetXVisitor |
| class | GetYVisitor |
| class | GetZVisitor |
| class | RoundVisitor |
| class | ToPoint2Visitor |
| class | ToPoint3Visitor |
| class | Coordinate |
| Represents the Coordinate of a Point (wraps either an empty structure, or a Kernel::Point_2, or a Kernel::Point_3). More... | |
| class | Cylinder |
| Represents a cylinder in 3D space. More... | |
| struct | TestGeometry |
| class | Logger |
| [Singleton]Logger class More... | |
| class | Envelope |
| Represents a bounding box. More... | |
| class | Exception |
| Base SFCGAL Exception. More... | |
| class | GeometryInvalidityException |
| SFCGAL Exception thrown when invalid geometries are found before entering an algo. More... | |
| class | NotImplementedException |
| SFCGAL Exception thrown when a function is not implemented. More... | |
| class | InappropriateGeometryException |
| SFCGAL Exception thrown when geometry is inappropriate for a function. More... | |
| class | NonFiniteValueException |
| SFCGAL Exception thrown when non finite value is found. More... | |
| class | WktParseException |
| SFCGAL Exception thrown when parsing WKT. More... | |
| class | Geometry |
| OGC/SFA based Geometry abstract class. More... | |
| class | GeometryCollection |
| A GeometryCollection in SFA. More... | |
| class | GeometryVisitor |
| GeometryVisitor. More... | |
| class | ConstGeometryVisitor |
| Visitor for const geometries. More... | |
| class | LineString |
| A LineString in SFA. More... | |
| class | MultiLineString |
| A MultiLineString in SFA. More... | |
| class | MultiPoint |
| A MultiPoint in SFA. More... | |
| class | MultiPolygon |
| A MultiPolygon in SFA. More... | |
| class | MultiSolid |
| A MultiSolid. More... | |
| struct | do_toPoint_d |
| Private structures used to implement partial function specialization. More... | |
| struct | do_toPoint_d< 3 > |
| class | Point |
| A point in SFA. More... | |
| class | Polygon |
| A Polygon in SFA with holes. More... | |
| class | PolyhedralSurface |
| A PolyhedralSurface in SFA modeled as a Polygon soup. More... | |
| class | PreparedGeometry |
| A PreparedGeometry is a shell around a SFCGAL::Geometry. More... | |
| class | Solid |
| A Solid modeled with an exteriorShell and interiorShells materialized by PolyhedralSurface. More... | |
| class | Sphere_builder |
| Helper class for building the sphere polyhedron. More... | |
| class | Sphere |
| Represents a sphere in 3D space. More... | |
| class | Surface |
| Abstract Surface class. More... | |
| class | Transform |
| Represents a coordinate transform. More... | |
| class | Triangle |
| [OGC/SFA]Triangle More... | |
| class | Triangulated2Polyhedron |
| struct | Plane_from_facet |
| class | TriangulatedSurface |
| A TriangulatedSurface in SFA modeled as a Triangle soup. More... | |
| struct | Validity |
| the class, convertible to bool, that stores the reason why a geom is invalid More... | |
Typedefs | |
| using | Point_2 = CGAL::Point_2<Kernel> |
| using | Segment_2 = CGAL::Segment_2<Kernel> |
| using | Triangle_2 = CGAL::Triangle_2<Kernel> |
| using | Kernel = CGAL::Exact_predicates_exact_constructions_kernel |
| default Kernel | |
| typedef CGAL::Gmpq | QT |
| Quotient type. | |
| typedef uint32_t | srid_t |
| using | Point_3 = Kernel::Point_3 |
| using | Polyhedron_3 = CGAL::Polyhedron_3<Kernel> |
Enumerations | |
| enum | GeometryType { TYPE_POINT = 1 , TYPE_LINESTRING = 2 , TYPE_POLYGON = 3 , TYPE_MULTIPOINT = 4 , TYPE_MULTILINESTRING = 5 , TYPE_MULTIPOLYGON = 6 , TYPE_GEOMETRYCOLLECTION = 7 , TYPE_POLYHEDRALSURFACE = 15 , TYPE_TRIANGULATEDSURFACE = 16 , TYPE_TRIANGLE = 17 , TYPE_SOLID = 101 , TYPE_MULTISOLID = 102 } |
| [OGC/SFA]8.2.3 "A common list of codes for geometric types" More... | |
| enum | CoordinateType { COORDINATE_XY = 0 , COORDINATE_XYZ = 1000 , COORDINATE_XYM = 2000 , COORDINATE_XYZM = 3000 } |
| coordinate types (XY, XYZ, XYM, etc.) More... | |
Functions | |
| void | SFCGAL_ASSERT_GEOMETRY_VALIDITY_ (const Geometry &g, const std::string &ctxt) |
| void | SFCGAL_ASSERT_GEOMETRY_VALIDITY (const Geometry &g) |
| Functions used to assert for geometry validity. | |
| void | SFCGAL_ASSERT_GEOMETRY_VALIDITY_2D (const Geometry &g) |
| void | SFCGAL_ASSERT_GEOMETRY_VALIDITY_3D (const Geometry &g) |
| void | SFCGAL_ASSERT_GEOMETRY_VALIDITY_ON_PLANE (const Geometry &) |
| const std::vector< TestGeometry > | createTestGeometries () |
| auto | logger () -> Logger & |
| SFCGAL_API Logger & | logger () |
| get the logger | |
| auto | operator== (const Envelope &a, const Envelope &b) -> bool |
| SFCGAL_API bool | operator== (const Envelope &, const Envelope &) |
| Global comparison operator on Envelope. | |
| auto | operator== (const Geometry &ga, const Geometry &gb) -> bool |
| Function used to compare geometries FIXME Since we do not have (yet) a real "equals" operator, we only compare points coordinates. | |
| SFCGAL_API bool | operator== (const Geometry &, const Geometry &) |
| Equality operator. | |
| auto | operator<< (std::ostream &ostr, const Envelope &env) -> std::ostream & |
| auto | operator<< (std::ostream &ostr, const Geometry &g) -> std::ostream & |
| SFCGAL_API std::ostream & | operator<< (std::ostream &, const Envelope &) |
| Ostream operator for Envelope;. | |
| SFCGAL_API std::ostream & | operator<< (std::ostream &, const Geometry &) |
| Ostream operator for Geometry;. | |
| auto | floor (const CGAL::Gmpq &v) -> CGAL::Gmpz |
| auto | ceil (const CGAL::Gmpq &v) -> CGAL::Gmpz |
| auto | round (const CGAL::Gmpq &v) -> CGAL::Gmpz |
| auto | almostEqual (const double a, const double b, const double epsilon) -> bool |
| auto | almostEqual (const Kernel::FT &a, const Kernel::FT &b, const Kernel::FT &epsilon) -> bool |
| double | NaN () |
| shortcut to get NaN for double | |
| double | round (const double &v) |
| round a double to the nearest integer | |
| SFCGAL_API CGAL::Gmpz | floor (const CGAL::Gmpq &v) |
| floor a rational to an integer | |
| SFCGAL_API CGAL::Gmpz | ceil (const CGAL::Gmpq &v) |
| ceil a rational to an integer | |
| SFCGAL_API CGAL::Gmpz | round (const CGAL::Gmpq &v) |
| round a rational to an integer | |
| Kernel::Vector_3 | normalizeVector (const Kernel::Vector_3 &vec) |
| Normalizes a vector. | |
| template SFCGAL_API std::unique_ptr< detail::MarkedPolyhedron > | TriangulatedSurface::toPolyhedron_3< Kernel, detail::MarkedPolyhedron > () const |
| auto | Version () -> const char * |
| auto | Full_Version () -> const char * |
Variables | |
| const uint32_t | wkbSRID = 0x20000000 |
| const uint32_t | wkbM = 0x40000000 |
| const uint32_t | wkbZ = 0x80000000 |
| const char | _sfcgal_version [] = SFCGAL_VERSION |
| const char | _sfcgal_full_version [] = SFCGAL_FULL_VERSION |
SFCGAL Copyright (C) 2021 Loïc Bartoletti - Oslandia <infos@oslandia.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, see
| using SFCGAL::Kernel = CGAL::Exact_predicates_exact_constructions_kernel |
default Kernel
| using SFCGAL::Point_2 = CGAL::Point_2<Kernel> |
| using SFCGAL::Point_3 = Kernel::Point_3 |
| using SFCGAL::Polyhedron_3 = CGAL::Polyhedron_3<Kernel> |
| typedef CGAL::Gmpq SFCGAL::QT |
Quotient type.
| using SFCGAL::Segment_2 = CGAL::Segment_2<Kernel> |
| typedef uint32_t SFCGAL::srid_t |
| using SFCGAL::Triangle_2 = CGAL::Triangle_2<Kernel> |
|
inline |
|
inline |
| SFCGAL_API CGAL::Gmpz SFCGAL::ceil | ( | const CGAL::Gmpq & | v | ) |
ceil a rational to an integer
| auto SFCGAL::ceil | ( | const CGAL::Gmpq & | v | ) | ->CGAL::Gmpz |
|
inline |
| SFCGAL_API CGAL::Gmpz SFCGAL::floor | ( | const CGAL::Gmpq & | v | ) |
floor a rational to an integer
| auto SFCGAL::floor | ( | const CGAL::Gmpq & | v | ) | ->CGAL::Gmpz |
| auto SFCGAL::Full_Version | ( | ) | ->constchar * |
| SFCGAL_API Logger & SFCGAL::logger | ( | ) |
get the logger
| auto SFCGAL::logger | ( | ) | ->Logger & |
|
inline |
shortcut to get NaN for double
|
inline |
Normalizes a vector.
| v | The vector to normalize |
| SFCGAL_API std::ostream & SFCGAL::operator<< | ( | std::ostream & | , |
| const Envelope & | ) |
Ostream operator for Envelope;.
| SFCGAL_API std::ostream & SFCGAL::operator<< | ( | std::ostream & | , |
| const Geometry & | ) |
Ostream operator for Geometry;.
| auto SFCGAL::operator<< | ( | std::ostream & | ostr, |
| const Envelope & | env )->std::ostream & |
| auto SFCGAL::operator<< | ( | std::ostream & | ostr, |
| const Geometry & | g )->std::ostream & |
Global comparison operator on Envelope.
Function used to compare geometries FIXME Since we do not have (yet) a real "equals" operator, we only compare points coordinates.
| SFCGAL_API CGAL::Gmpz SFCGAL::round | ( | const CGAL::Gmpq & | v | ) |
round a rational to an integer
| auto SFCGAL::round | ( | const CGAL::Gmpq & | v | ) | ->CGAL::Gmpz |
|
inline |
round a double to the nearest integer
| void SFCGAL_API SFCGAL::SFCGAL_ASSERT_GEOMETRY_VALIDITY | ( | const Geometry & | g | ) |
Functions used to assert for geometry validity.
| void SFCGAL::SFCGAL_ASSERT_GEOMETRY_VALIDITY_ | ( | const Geometry & | g, |
| const std::string & | ctxt ) |
| void SFCGAL_API SFCGAL::SFCGAL_ASSERT_GEOMETRY_VALIDITY_2D | ( | const Geometry & | g | ) |
| void SFCGAL_API SFCGAL::SFCGAL_ASSERT_GEOMETRY_VALIDITY_3D | ( | const Geometry & | g | ) |
| void SFCGAL_API SFCGAL::SFCGAL_ASSERT_GEOMETRY_VALIDITY_ON_PLANE | ( | const Geometry & | ) |
| template SFCGAL_API std::unique_ptr< detail::MarkedPolyhedron > SFCGAL::TriangulatedSurface::toPolyhedron_3< Kernel, detail::MarkedPolyhedron > | ( | ) | const |
| auto SFCGAL::Version | ( | ) | ->constchar * |
| const char SFCGAL::_sfcgal_full_version[] = SFCGAL_FULL_VERSION |
| const char SFCGAL::_sfcgal_version[] = SFCGAL_VERSION |
| const uint32_t SFCGAL::wkbM = 0x40000000 |
| const uint32_t SFCGAL::wkbSRID = 0x20000000 |
| const uint32_t SFCGAL::wkbZ = 0x80000000 |