SFCGAL
Public Member Functions | List of all members
SFCGAL::transform::ForceZOrderPoints Class Reference

Force Z. More...

#include <ForceZOrderPoints.h>

Inheritance diagram for SFCGAL::transform::ForceZOrderPoints:
SFCGAL::Transform SFCGAL::GeometryVisitor

Public Member Functions

 ForceZOrderPoints (const Kernel::FT defaultZ=0)
 Constructor with a default Z value. More...
 
virtual void transform (Point &p)
 apply transform to a geometry More...
 
virtual void visit (Triangle &)
 
virtual void visit (Polygon &)
 
- Public Member Functions inherited from SFCGAL::Transform
virtual ~Transform ()
 
virtual void transform (Point &p)=0
 apply transform to a geometry More...
 
virtual void visit (Point &g)
 
virtual void visit (LineString &g)
 
virtual void visit (Polygon &g)
 
virtual void visit (Triangle &g)
 
virtual void visit (Solid &g)
 
virtual void visit (MultiPoint &g)
 
virtual void visit (MultiLineString &g)
 
virtual void visit (MultiPolygon &g)
 
virtual void visit (MultiSolid &g)
 
virtual void visit (GeometryCollection &g)
 
virtual void visit (PolyhedralSurface &g)
 
virtual void visit (TriangulatedSurface &g)
 
- Public Member Functions inherited from SFCGAL::GeometryVisitor
virtual ~GeometryVisitor ()
 
virtual void visit (Geometry &g)
 apply visitor More...
 
virtual void visit (Point &g)=0
 
virtual void visit (LineString &g)=0
 
virtual void visit (Polygon &g)=0
 
virtual void visit (Triangle &g)=0
 
virtual void visit (Solid &g)=0
 
virtual void visit (MultiPoint &g)=0
 
virtual void visit (MultiLineString &g)=0
 
virtual void visit (MultiPolygon &g)=0
 
virtual void visit (MultiSolid &g)=0
 
virtual void visit (GeometryCollection &g)=0
 
virtual void visit (PolyhedralSurface &g)=0
 
virtual void visit (TriangulatedSurface &g)=0
 

Detailed Description

Force Z.

If the 2D surface is pointing down, reverse its points

Todo:

unittest

move outside (it's not a coordinate transform)?

Constructor & Destructor Documentation

◆ ForceZOrderPoints()

SFCGAL::transform::ForceZOrderPoints::ForceZOrderPoints ( const Kernel::FT  defaultZ = 0)

Constructor with a default Z value.

Member Function Documentation

◆ transform()

void SFCGAL::transform::ForceZOrderPoints::transform ( Point p)
virtual

apply transform to a geometry

Implements SFCGAL::Transform.

◆ visit() [1/2]

void SFCGAL::transform::ForceZOrderPoints::visit ( Polygon p)
virtual

Reimplemented from SFCGAL::Transform.

◆ visit() [2/2]

void SFCGAL::transform::ForceZOrderPoints::visit ( Triangle t)
virtual

Reimplemented from SFCGAL::Transform.