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

Round the coordinates of a Geometry. More...

#include <RoundTransform.h>

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

Public Member Functions

 RoundTransform (const long &scale=1)
 Constructor with a scale factor (default is nearest integer) More...
 
virtual void transform (Point &p)
 apply transform to a geometry More...
 
- 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

Round the coordinates of a Geometry.

Constructor & Destructor Documentation

◆ RoundTransform()

SFCGAL::transform::RoundTransform::RoundTransform ( const long &  scale = 1)

Constructor with a scale factor (default is nearest integer)

Member Function Documentation

◆ transform()

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

apply transform to a geometry

Implements SFCGAL::Transform.