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

Class to perform rotations in the z axis. More...

#include <Rotater.h>

Inheritance diagram for active::geometry::ZRotater:
Inheritance graph
[legend]
Collaboration diagram for active::geometry::ZRotater:
Collaboration graph
[legend]

Public Member Functions

 ZRotater (double angle=0.0, double prec=math::eps)
 
 ZRotater (const Rotater &source)
 
virtual ~ZRotater ()=default
 
virtual RotaterclonePtr () const
 
ZRotateroperator= (const ZRotater &source)
 
virtual PointtransformPt (Point &target) const
 
- Public Member Functions inherited from active::geometry::Rotater
 Rotater (double angle=0.0, double prec=math::eps)
 
 Rotater (const Rotater &source)
 
virtual ~Rotater ()=default
 
Rotateroperator= (const Rotater &source)
 
virtual double getAngle () const
 
virtual bool isActive () const
 
virtual void transform (Arc &target) const
 
virtual void transform (Line &target) const
 
virtual void transform (PolyEdge &target) const
 
virtual void transform (Vector3 &target) const
 
virtual void transform (Vector4 &target) const
 
virtual void transform (Plane &target) const
 
virtual void transform (Polygon &target) const
 
virtual void setAngle (double angle, double prec=math::eps)
 
virtual Rotaterreverse ()
 
- Public Member Functions inherited from active::utility::Cloner
virtual ~Cloner ()=default
 

Additional Inherited Members

- Public Types inherited from active::geometry::Rotater
using Unique = std::unique_ptr<Rotater>
 Unique pointer.
 
using Shared = std::shared_ptr<Rotater>
 Shared pointer.
 
using Option = std::optional<Rotater>
 Optional.
 
- Protected Member Functions inherited from active::geometry::Rotater
const double & k1 () const
 
const double & k2 () const
 

Detailed Description

Class to perform rotations in the z axis.

Constructor & Destructor Documentation

◆ ZRotater() [1/2]

active::geometry::ZRotater::ZRotater ( double angle = 0.0,
double prec = math::eps )
inline

Copy constructor

Parameters
angleThe rotation angle
precThe required precision
Here is the caller graph for this function:

◆ ZRotater() [2/2]

active::geometry::ZRotater::ZRotater ( const Rotater & source)
inline

Copy constructor

Parameters
sourceThe object to copy

◆ ~ZRotater()

virtual active::geometry::ZRotater::~ZRotater ( )
virtualdefault

Destructor

Member Function Documentation

◆ clonePtr()

virtual Rotater * active::geometry::ZRotater::clonePtr ( ) const
inlinevirtual

Object cloning

Returns
A clone of this object

Implements active::geometry::Rotater.

Here is the call graph for this function:

◆ operator=()

ZRotater & active::geometry::ZRotater::operator= ( const ZRotater & source)
inline

Assignment operator

Parameters
sourceThe object to copy
Returns
A reference to this
Here is the call graph for this function:

◆ transformPt()

Point & ZRotater::transformPt ( Point & target) const
virtual

Rotate a point about the z axis

Parameters
targetThe point to be rotated

Implements active::geometry::Rotater.

Here is the call graph for this function:
Here is the caller graph for this function:

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