|
SFCGAL
2.3.0
|
If the 2D surface is pointing down, reverse its points. More...
#include <ForceOrderPoints.h>
Public Member Functions | |
| ForceOrderPoints (bool orientCCW=true) | |
| Pass the forced orientation as parameter. More... | |
| void | transform (Point &p) override |
| Transform a point (no-op for points) More... | |
| void | visit (Triangle &triangle) override |
| Visit and force point order for a triangle. More... | |
| void | visit (Polygon &polygon) override |
| Visit and force point order for a polygon. More... | |
Public Member Functions inherited from SFCGAL::Transform | |
| ~Transform () override | |
| Virtual destructor to allow safe cleanup of derived Transform implementations. More... | |
| void | visit (Point &g) override |
| Apply the transformation to a Point geometry (visitor override). More... | |
| void | visit (LineString &g) override |
| Apply the transformation to a LineString geometry (visitor override). More... | |
| void | visit (Polygon &g) override |
| Apply the transformation to a Polygon geometry (visitor override). More... | |
| void | visit (Triangle &g) override |
| Apply the transformation to a Triangle geometry (visitor override). More... | |
| void | visit (Solid &g) override |
| Apply the transformation to a Solid geometry (visitor override). More... | |
| void | visit (MultiPoint &g) override |
| Apply the transformation to a MultiPoint geometry (visitor override). More... | |
| void | visit (MultiLineString &g) override |
| Apply the transformation to a MultiLineString geometry (visitor override). More... | |
| void | visit (MultiPolygon &g) override |
| Apply the transformation to a MultiPolygon geometry (visitor override). More... | |
| void | visit (MultiSolid &g) override |
| Apply the transformation to a MultiSolid geometry (visitor override). More... | |
| void | visit (GeometryCollection &g) override |
| Apply the transformation to a GeometryCollection (visitor override). More... | |
| void | visit (PolyhedralSurface &g) override |
| Apply the transformation to a PolyhedralSurface geometry (visitor override). More... | |
| void | visit (TriangulatedSurface &g) override |
| Apply the transformation to a TriangulatedSurface geometry (visitor override). More... | |
| void | visit (NURBSCurve &g) override |
| Apply the transformation to a NURBSCurve geometry (visitor override). More... | |
Public Member Functions inherited from SFCGAL::GeometryVisitor | |
| virtual | ~GeometryVisitor () |
| Default destructor for GeometryVisitor. More... | |
| virtual void | visit (Geometry &geometry) |
| Apply this visitor to a generic Geometry reference. More... | |
If the 2D surface is pointing down, reverse its points.
unittest
move outside (it's not a coordinate transform)?
| SFCGAL::transform::ForceOrderPoints::ForceOrderPoints | ( | bool | orientCCW = true | ) |
Pass the forced orientation as parameter.
| orientCCW | Whether to force counter-clockwise orientation (default true) |
|
overridevirtual |
Transform a point (no-op for points)
| p | The point to transform |
Implements SFCGAL::Transform.
|
overridevirtual |
Visit and force point order for a triangle.
| triangle | The triangle to visit |
Implements SFCGAL::GeometryVisitor.
|
overridevirtual |
Visit and force point order for a polygon.
| polygon | The polygon to visit |
Implements SFCGAL::GeometryVisitor.
1.8.10