Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Vec Class Reference

#include <VTKViewer_ArcBuilder.h>

Public Member Functions

 Vec (const double Xv, const double Yv, const double Zv)
 
 ~Vec ()
 
XYZ GetXYZ () const
 
double AngleBetween (const Vec &Other)
 
double AngleBetweenInGrad (const Vec &Other)
 
Vec VectMultiplication (const Vec &Other) const
 

Private Attributes

XYZ coord
 

Detailed Description

Class for the representation Vector in the 3D space.

Constructor & Destructor Documentation

Vec::Vec ( const double  Xv,
const double  Yv,
const double  Zv 
)

Class Vec Constructor

References coord, XYZ::SetX(), XYZ::SetY(), and XYZ::SetZ().

Vec::~Vec ( )

Destructor

Member Function Documentation

double Vec::AngleBetween ( const Vec Other)

Calculate angle between vectors in radians

References GetXYZ(), XYZ::Modulus(), PRECISION, XYZ::X(), XYZ::Y(), and XYZ::Z().

double Vec::AngleBetweenInGrad ( const Vec Other)

Calculate angle between vectors in degrees

References AngleBetween().

XYZ Vec::GetXYZ ( ) const
inline

References coord.

Vec Vec::VectMultiplication ( const Vec Other) const

References GetXYZ(), Vec(), XYZ::X(), XYZ::Y(), and XYZ::Z().

Member Data Documentation

XYZ Vec::coord
private

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