SFCGAL 2.0.0
|
[private]Convert Geometries to a GeometryGraph. More...
#include <GeometryGraphBuilder.h>
Public Types | |
typedef Graph | graph_t |
typedef graph_t::vertex_properties | vertex_properties |
typedef graph_t::edge_properties | edge_properties |
typedef graph_t::vertex_descriptor | vertex_descriptor |
typedef graph_t::edge_descriptor | edge_descriptor |
typedef std::map< Coordinate, vertex_descriptor > | coordinate_list |
allows to match duplicates |
Public Member Functions | |
GeometryGraphBuilderT (graph_t &graph) | |
default constructor | |
~GeometryGraphBuilderT () | |
destructor | |
vertex_descriptor | addPoint (const Point &point) |
add a Point to the Graph | |
edge_descriptor | addLineSegment (const Point &a, const Point &b, const edge_properties &edgeProperties=edge_properties()) |
add a Point to the Graph | |
std::vector< edge_descriptor > | addLineString (const LineString &lineString, const edge_properties &edgeProperties=edge_properties()) |
add a LineString to the graph | |
std::vector< edge_descriptor > | addTriangle (const Triangle &triangle, const edge_properties &edgeProperties=edge_properties()) |
add a Triangle to the graph | |
std::vector< std::vector< edge_descriptor > > | addPolygon (const Polygon &polygon, const edge_properties &edgeProperties=edge_properties()) |
add a Polygon to the graph | |
std::vector< std::vector< edge_descriptor > > | addTriangulatedSurface (const TriangulatedSurface &triangulatedSurface, const edge_properties &edgeProperties=edge_properties()) |
add a TriangulatedSurface to the graph | |
std::vector< std::vector< std::vector< edge_descriptor > > > | addPolyhedralSurface (const PolyhedralSurface &polyhedralSurface, const edge_properties &edgeProperties=edge_properties()) |
add a PolyhedralSurface to the graph |
[private]Convert Geometries to a GeometryGraph.
Identifier in the Graph are returned in order to allow the user to keep identify the geometry.
typedef std::map<Coordinate, vertex_descriptor> SFCGAL::graph::GeometryGraphBuilderT< Graph >::coordinate_list |
allows to match duplicates
typedef graph_t::edge_descriptor SFCGAL::graph::GeometryGraphBuilderT< Graph >::edge_descriptor |
typedef graph_t::edge_properties SFCGAL::graph::GeometryGraphBuilderT< Graph >::edge_properties |
typedef Graph SFCGAL::graph::GeometryGraphBuilderT< Graph >::graph_t |
typedef graph_t::vertex_descriptor SFCGAL::graph::GeometryGraphBuilderT< Graph >::vertex_descriptor |
typedef graph_t::vertex_properties SFCGAL::graph::GeometryGraphBuilderT< Graph >::vertex_properties |
|
inline |
default constructor
|
inline |
destructor
|
inline |
add a Point to the Graph
|
inline |
add a LineString to the graph
|
inline |
add a Point to the Graph
|
inline |
add a Polygon to the graph
|
inline |
add a PolyhedralSurface to the graph
|
inline |
add a Triangle to the graph
|
inline |
add a TriangulatedSurface to the graph