SFCGAL 2.3.0
SFCGAL::transform::AffineTransform3 Class Reference

Wrapper for CGAL::Aff_transform_3. More...

#include <AffineTransform3.h>

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

Public Member Functions

 AffineTransform3 (CGAL::Aff_transformation_3< Kernel > transform)
 Constructor with a transform.
void transform (Point &point) override
 Transform a point using the 3D affine transformation.
virtual void transform (LineString &linestring)
 Transform a linestring using the 3D affine transformation.
virtual void transform (Triangle &triangle)
 Transform a triangle using the 3D affine transformation.
virtual void transform (Polygon &polygon)
 Transform a polygon using the 3D affine transformation.
virtual void transform (PolyhedralSurface &surface)
 Transform a polyhedral surface using the 3D affine transformation.
virtual void transform (TriangulatedSurface &surface)
 Transform a triangulated surface using the 3D affine transformation.
virtual void transform (Solid &solid)
 Transform a solid using the 3D affine transformation.
Public Member Functions inherited from SFCGAL::Transform
 ~Transform () override
 Virtual destructor to allow safe cleanup of derived Transform implementations.
void visit (Point &g) override
 Apply the transformation to a Point geometry (visitor override).
void visit (LineString &g) override
 Apply the transformation to a LineString geometry (visitor override).
void visit (Polygon &g) override
 Apply the transformation to a Polygon geometry (visitor override).
void visit (Triangle &g) override
 Apply the transformation to a Triangle geometry (visitor override).
void visit (Solid &g) override
 Apply the transformation to a Solid geometry (visitor override).
void visit (MultiPoint &g) override
 Apply the transformation to a MultiPoint geometry (visitor override).
void visit (MultiLineString &g) override
 Apply the transformation to a MultiLineString geometry (visitor override).
void visit (MultiPolygon &g) override
 Apply the transformation to a MultiPolygon geometry (visitor override).
void visit (MultiSolid &g) override
 Apply the transformation to a MultiSolid geometry (visitor override).
void visit (GeometryCollection &g) override
 Apply the transformation to a GeometryCollection (visitor override).
void visit (PolyhedralSurface &g) override
 Apply the transformation to a PolyhedralSurface geometry (visitor override).
void visit (TriangulatedSurface &g) override
 Apply the transformation to a TriangulatedSurface geometry (visitor override).
void visit (NURBSCurve &g) override
 Apply the transformation to a NURBSCurve geometry (visitor override).
Public Member Functions inherited from SFCGAL::GeometryVisitor
virtual ~GeometryVisitor ()
 Default destructor for GeometryVisitor.
virtual void visit (Geometry &geometry)
 Apply this visitor to a generic Geometry reference.

Detailed Description

Wrapper for CGAL::Aff_transform_3.

Todo
unittest

Constructor & Destructor Documentation

◆ AffineTransform3()

SFCGAL::transform::AffineTransform3::AffineTransform3 ( CGAL::Aff_transformation_3< Kernel > transform)

Constructor with a transform.

Parameters
transformThe CGAL 3D affine transformation

Member Function Documentation

◆ transform() [1/7]

void SFCGAL::transform::AffineTransform3::transform ( LineString & linestring)
virtual

Transform a linestring using the 3D affine transformation.

Parameters
linestringThe linestring to transform

◆ transform() [2/7]

void SFCGAL::transform::AffineTransform3::transform ( Point & point)
overridevirtual

Transform a point using the 3D affine transformation.

Parameters
pointThe point to transform

Implements SFCGAL::Transform.

◆ transform() [3/7]

void SFCGAL::transform::AffineTransform3::transform ( Polygon & polygon)
virtual

Transform a polygon using the 3D affine transformation.

Parameters
polygonThe polygon to transform

◆ transform() [4/7]

void SFCGAL::transform::AffineTransform3::transform ( PolyhedralSurface & surface)
virtual

Transform a polyhedral surface using the 3D affine transformation.

Parameters
surfaceThe polyhedral surface to transform

◆ transform() [5/7]

void SFCGAL::transform::AffineTransform3::transform ( Solid & solid)
virtual

Transform a solid using the 3D affine transformation.

Parameters
solidThe solid to transform

◆ transform() [6/7]

void SFCGAL::transform::AffineTransform3::transform ( Triangle & triangle)
virtual

Transform a triangle using the 3D affine transformation.

Parameters
triangleThe triangle to transform

◆ transform() [7/7]

void SFCGAL::transform::AffineTransform3::transform ( TriangulatedSurface & surface)
virtual

Transform a triangulated surface using the 3D affine transformation.

Parameters
surfaceThe triangulated surface to transform