OpenLexocad  28.0
Base::Axis Class Reference

#include <Axis.h>

Public Member Functions

 Axis ()=default
 default constructor More...
 
 Axis (const Axis &)
 
 Axis (const Vector3d &Orig, const Vector3d &Dir)
 
const Vector3dgetBase (void) const
 
const Vector3dgetDirection (void) const
 
void setBase (const Vector3d &Orig)
 
void setDirection (const Vector3d &Dir)
 
void reverse ()
 
Axis reversed () const
 
void move (const Vector3d &MovVec)
 
Axisoperator*= (const Placement &p)
 
Axis operator* (const Placement &p) const
 
bool operator== (const Axis &) const
 
bool operator!= (const Axis &) const
 
Axisoperator= (const Axis &)
 

Protected Attributes

Vector3d _base
 
Vector3d _dir
 

Detailed Description

The Axis class.

Constructor & Destructor Documentation

◆ Axis() [1/3]

Base::Axis::Axis ( )
default

default constructor

◆ Axis() [2/3]

Base::Axis::Axis ( const Axis )

◆ Axis() [3/3]

Base::Axis::Axis ( const Vector3d Orig,
const Vector3d Dir 
)

Member Function Documentation

◆ getBase()

const Vector3d& Base::Axis::getBase ( void  ) const
inline

◆ getDirection()

const Vector3d& Base::Axis::getDirection ( void  ) const
inline

◆ move()

void Base::Axis::move ( const Vector3d MovVec)

◆ operator!=()

bool Base::Axis::operator!= ( const Axis ) const

◆ operator*()

Axis Base::Axis::operator* ( const Placement p) const

◆ operator*=()

Axis& Base::Axis::operator*= ( const Placement p)

Operators.

◆ operator=()

Axis& Base::Axis::operator= ( const Axis )

◆ operator==()

bool Base::Axis::operator== ( const Axis ) const

◆ reverse()

void Base::Axis::reverse ( )

◆ reversed()

Axis Base::Axis::reversed ( ) const

◆ setBase()

void Base::Axis::setBase ( const Vector3d Orig)
inline

◆ setDirection()

void Base::Axis::setDirection ( const Vector3d Dir)
inline

Member Data Documentation

◆ _base

Vector3d Base::Axis::_base
protected

◆ _dir

Vector3d Base::Axis::_dir
protected

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