|
SFCGAL
2.3.0
|
Get the list of points from a Geometry. More...
#include <GetPointsVisitor.h>
Public Types | |
| typedef std::vector< const Point * >::const_iterator | const_iterator |
| Const iterator type for points. More... | |
Public Member Functions | |
| void | visit (const Point &g) override |
| Visit a Point and add it to collection. More... | |
| void | visit (const LineString &g) override |
| Visit a LineString and add all points to collection. More... | |
| void | visit (const Polygon &g) override |
| Visit a Polygon and add all points to collection. More... | |
| void | visit (const Triangle &g) override |
| Visit a Triangle and add all points to collection. More... | |
| void | visit (const Solid &g) override |
| Visit a Solid and add all points to collection. More... | |
| void | visit (const MultiPoint &g) override |
| Visit a MultiPoint and add all points to collection. More... | |
| void | visit (const MultiLineString &g) override |
| Visit a MultiLineString and add all points to collection. More... | |
| void | visit (const MultiPolygon &g) override |
| Visit a MultiPolygon and add all points to collection. More... | |
| void | visit (const MultiSolid &g) override |
| Visit a MultiSolid and add all points to collection. More... | |
| void | visit (const GeometryCollection &g) override |
| Visit a GeometryCollection and add all points to collection. More... | |
| void | visit (const PolyhedralSurface &g) override |
| Visit a PolyhedralSurface and add all points to collection. More... | |
| void | visit (const TriangulatedSurface &g) override |
| Visit a TriangulatedSurface and add all points to collection. More... | |
| void | visit (const NURBSCurve &g) override |
| Process NURBSCurve to extract control points. More... | |
Public Member Functions inherited from SFCGAL::ConstGeometryVisitor | |
| virtual | ~ConstGeometryVisitor () |
| Default destructor for ConstGeometryVisitor. More... | |
| virtual void | visit (const Geometry &geometry) |
| Apply this visitor to a generic const Geometry reference. More... | |
Public Attributes | |
| std::vector< const Point * > | points |
| Collection of collected points. More... | |
Get the list of points from a Geometry.
| typedef std::vector<const Point *>::const_iterator SFCGAL::detail::GetPointsVisitor::const_iterator |
Const iterator type for points.
|
overridevirtual |
Visit a Point and add it to collection.
| g | The point to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a LineString and add all points to collection.
| g | The linestring to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a Polygon and add all points to collection.
| g | The polygon to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a Triangle and add all points to collection.
| g | The triangle to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a Solid and add all points to collection.
| g | The solid to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a MultiPoint and add all points to collection.
| g | The multipoint to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a MultiLineString and add all points to collection.
| g | The multilinestring to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a MultiPolygon and add all points to collection.
| g | The multipolygon to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a MultiSolid and add all points to collection.
| g | The multisolid to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a GeometryCollection and add all points to collection.
| g | The geometry collection to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a PolyhedralSurface and add all points to collection.
| g | The polyhedral surface to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Visit a TriangulatedSurface and add all points to collection.
| g | The triangulated surface to visit |
Implements SFCGAL::ConstGeometryVisitor.
|
overridevirtual |
Process NURBSCurve to extract control points.
| g | The NURBSCurve geometry to process |
Reimplemented from SFCGAL::ConstGeometryVisitor.
| std::vector<const Point *> SFCGAL::detail::GetPointsVisitor::points |
Collection of collected points.
1.8.10