SFCGAL  2.3.0
Public Member Functions | List of all members
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. More...
 
void transform (Point &point) override
 Transform a point using the 3D affine transformation. More...
 
virtual void transform (LineString &linestring)
 Transform a linestring using the 3D affine transformation. More...
 
virtual void transform (Triangle &triangle)
 Transform a triangle using the 3D affine transformation. More...
 
virtual void transform (Polygon &polygon)
 Transform a polygon using the 3D affine transformation. More...
 
virtual void transform (PolyhedralSurface &surface)
 Transform a polyhedral surface using the 3D affine transformation. More...
 
virtual void transform (TriangulatedSurface &surface)
 Transform a triangulated surface using the 3D affine transformation. More...
 
virtual void transform (Solid &solid)
 Transform a solid using the 3D affine transformation. 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...
 

Detailed Description

Wrapper for CGAL::Aff_transform_3.

Todo:
unittest

Constructor & Destructor Documentation

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

Constructor with a transform.

Parameters
transformThe CGAL 3D affine transformation

Member Function Documentation

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

Transform a point using the 3D affine transformation.

Parameters
pointThe point to transform

Implements SFCGAL::Transform.

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

Transform a linestring using the 3D affine transformation.

Parameters
linestringThe linestring to transform
void SFCGAL::transform::AffineTransform3::transform ( Triangle &  triangle)
virtual

Transform a triangle using the 3D affine transformation.

Parameters
triangleThe triangle to transform
void SFCGAL::transform::AffineTransform3::transform ( Polygon &  polygon)
virtual

Transform a polygon using the 3D affine transformation.

Parameters
polygonThe polygon to transform
void SFCGAL::transform::AffineTransform3::transform ( PolyhedralSurface &  surface)
virtual

Transform a polyhedral surface using the 3D affine transformation.

Parameters
surfaceThe polyhedral surface to transform
void SFCGAL::transform::AffineTransform3::transform ( TriangulatedSurface &  surface)
virtual

Transform a triangulated surface using the 3D affine transformation.

Parameters
surfaceThe triangulated surface to transform
void SFCGAL::transform::AffineTransform3::transform ( Solid &  solid)
virtual

Transform a solid using the 3D affine transformation.

Parameters
solidThe solid to transform