|
SFCGAL 2.3.0
|
Visitor to round coordinate values. More...
Public Member Functions | |
| RoundVisitor (const long &scaleFactor) | |
| Constructor with scale factor. | |
| void | operator() (Coordinate::Empty &) const |
| Handle empty coordinates (no operation). | |
| void | operator() (Kernel::Point_2 &storage) const |
| Round 2D point coordinates. | |
| void | operator() (Kernel::Point_3 &storage) const |
| Round 3D point coordinates. | |
Visitor to round coordinate values.
|
inline |
Constructor with scale factor.
| scaleFactor | The scaling factor for rounding |
|
inline |
Handle empty coordinates (no operation).
|
inline |
Round 2D point coordinates.
| storage | The 2D point to round |
|
inline |
Round 3D point coordinates.
| storage | The 3D point to round |