|
SFCGAL
2.3.0
|
[private]Convert Geometries to a GeometryGraph. More...
#include <GeometryGraphBuilder.h>
Public Types | |
| using | graph_t = Graph |
| Graph type being used. More... | |
| typedef graph_t::vertex_properties | vertex_properties |
| Vertex properties type. More... | |
| typedef graph_t::edge_properties | edge_properties |
| Edge properties type. More... | |
| typedef graph_t::vertex_descriptor | vertex_descriptor |
| Vertex descriptor type. More... | |
| typedef graph_t::edge_descriptor | edge_descriptor |
| Edge descriptor type. More... | |
| using | coordinate_list = std::map< Coordinate, vertex_descriptor > |
| allows to match duplicates More... | |
Public Member Functions | |
| GeometryGraphBuilderT (graph_t &graph) | |
| Default constructor. More... | |
| ~GeometryGraphBuilderT () | |
| destructor More... | |
| vertex_descriptor | addPoint (const Point &point) |
| Add a Point to the Graph. More... | |
| edge_descriptor | addLineSegment (const Point &a, const Point &b, const edge_properties &edgeProperties=edge_properties()) |
| Add a line segment to the Graph. More... | |
| std::vector< edge_descriptor > | addLineString (const LineString &lineString, const edge_properties &edgeProperties=edge_properties()) |
| Add a LineString to the graph. More... | |
| std::vector< edge_descriptor > | addTriangle (const Triangle &triangle, const edge_properties &edgeProperties=edge_properties()) |
| Add a Triangle to the graph. More... | |
| std::vector< std::vector< edge_descriptor > > | addPolygon (const Polygon &polygon, const edge_properties &edgeProperties=edge_properties()) |
| Add a Polygon to the graph. More... | |
| std::vector< std::vector< edge_descriptor > > | addTriangulatedSurface (const TriangulatedSurface &triangulatedSurface, const edge_properties &edgeProperties=edge_properties()) |
| Add a TriangulatedSurface to the graph. More... | |
| std::vector< std::vector< std::vector< edge_descriptor > > > | addPolyhedralSurface (const PolyhedralSurface &polyhedralSurface, const edge_properties &edgeProperties=edge_properties()) |
| Add a PolyhedralSurface to the graph. More... | |
[private]Convert Geometries to a GeometryGraph.
Identifier in the Graph are returned in order to allow the user to keep identify the geometry.
| using SFCGAL::graph::GeometryGraphBuilderT< Graph >::coordinate_list = std::map<Coordinate, vertex_descriptor> |
allows to match duplicates
| typedef graph_t::edge_descriptor SFCGAL::graph::GeometryGraphBuilderT< Graph >::edge_descriptor |
Edge descriptor type.
| typedef graph_t::edge_properties SFCGAL::graph::GeometryGraphBuilderT< Graph >::edge_properties |
Edge properties type.
| using SFCGAL::graph::GeometryGraphBuilderT< Graph >::graph_t = Graph |
Graph type being used.
| typedef graph_t::vertex_descriptor SFCGAL::graph::GeometryGraphBuilderT< Graph >::vertex_descriptor |
Vertex descriptor type.
| typedef graph_t::vertex_properties SFCGAL::graph::GeometryGraphBuilderT< Graph >::vertex_properties |
Vertex properties type.
|
inline |
Default constructor.
| graph | The graph to build into |
|
inline |
destructor
|
inline |
Add a line segment to the Graph.
| a | First point of the segment |
| b | Second point of the segment |
| edgeProperties | Properties for the edge |
|
inline |
Add a LineString to the graph.
| lineString | The linestring to add |
| edgeProperties | Properties for the edges |
|
inline |
Add a Point to the Graph.
| point | The point to add |
|
inline |
Add a Polygon to the graph.
| polygon | The polygon to add |
| edgeProperties | Properties for the edges |
|
inline |
Add a PolyhedralSurface to the graph.
| polyhedralSurface | The polyhedral surface to add |
| edgeProperties | Properties for the edges |
|
inline |
Add a Triangle to the graph.
| triangle | The triangle to add |
| edgeProperties | Properties for the edges |
|
inline |
Add a TriangulatedSurface to the graph.
| triangulatedSurface | The triangulated surface to add |
| edgeProperties | Properties for the edges |
1.8.10