ActiveLib
Loading...
Searching...
No Matches
Public Member Functions | List of all members
active::geometry::Leveller Class Reference

Class to reorientate geometric objects to a horizontal plane. More...

#include <Leveller.h>

Public Member Functions

 Leveller ()
 
 Leveller (const Vector3 &norm, double zAngle=0.0, double prec=math::eps)
 
 Leveller (const Leveller &source)
 
 ~Leveller ()
 
Levelleroperator= (const Leveller &source)
 
const Vector3getNormal () const
 
void transform (Point &target) const
 
void transform (Line &target) const
 
void transform (Arc &target) const
 
void transform (Polygon &target) const
 
void setRotation (const Vector3 &norm, double zAngle=0, double prec=math::eps)
 
void setZRotation (double angle)
 
Levellerreverse ()
 

Detailed Description

Class to reorientate geometric objects to a horizontal plane.

Constructor & Destructor Documentation

◆ Leveller() [1/3]

Leveller::Leveller ( )

Constructor

Here is the call graph for this function:

◆ Leveller() [2/3]

Leveller::Leveller ( const Vector3 & norm,
double zAngle = 0.0,
double prec = math::eps )

Constructor

Parameters
normNormal to the plane to be levelled
zAngleThe required rotation about the z axis
precThe required precision
Here is the call graph for this function:

◆ Leveller() [3/3]

Leveller::Leveller ( const Leveller & source)

Copy constructor

Parameters
sourceThe object to copy

◆ ~Leveller()

Leveller::~Leveller ( )

Destructor

Member Function Documentation

◆ getNormal()

const Vector3 & active::geometry::Leveller::getNormal ( ) const
inline

Get the normal to the plane to be levelled

Returns
The normal to the plane to be levelled

◆ operator=()

Leveller & Leveller::operator= ( const Leveller & source)

Assignment operator

Parameters
sourceThe object to copy
Returns
A reference to this

◆ reverse()

Leveller & Leveller::reverse ( )

Reverse the order of the transformation

Returns
A reference to this
Here is the caller graph for this function:

◆ setRotation()

void Leveller::setRotation ( const Vector3 & norm,
double zAngle = 0,
double prec = math::eps )

Set the normal to the plane to be levelled

Parameters
normThe normal to the plane to be levelled
zAngleThe required rotation about the z axis
precThe required precision
Here is the caller graph for this function:

◆ setZRotation()

void Leveller::setZRotation ( double angle)

Set the rotation about the z axis

Parameters
angleThe rotation about the z axis

◆ transform() [1/4]

void Leveller::transform ( Arc & target) const

Transform an arc

Parameters
targetThe arc to be transformed
Here is the call graph for this function:

◆ transform() [2/4]

void Leveller::transform ( Line & target) const

Transform a line

Parameters
targetThe line to be transformed
Here is the call graph for this function:

◆ transform() [3/4]

void Leveller::transform ( Point & target) const

Transform a point

Parameters
targetThe point to be transformed
Here is the caller graph for this function:

◆ transform() [4/4]

void Leveller::transform ( Polygon & target) const

Transform a polygon

Parameters
targetThe polygon to be transformed
Here is the call graph for this function:

The documentation for this class was generated from the following files: