3.4.0
tigl::CTiglPoint Class Reference

#include <CTiglPoint.h>

Public Member Functions

TIGL_EXPORT CTiglPoint (double xval=0.0, double yval=0.0, double zval=0.0)
 
TIGL_EXPORT CTiglPoint (const CTiglPoint &aPoint)
 
TIGL_EXPORT CTiglPoint (const gp_XYZ &aPoint)
 
TIGL_EXPORT double distance2 (const CTiglPoint &point) const
 
TIGL_EXPORT void Dump (std::ostream &aStream) const
 
TIGL_EXPORT gp_Pnt Get_gp_Pnt () const
 
TIGL_EXPORT void getMinMax (double &min, double &max) const
 
TIGL_EXPORT bool isNear (const CTiglPoint &aPoint, double epsilon=Precision::Confusion()) const
 
TIGL_EXPORT double norm2 () const
 
TIGL_EXPORT double norm2Sqr () const
 
TIGL_EXPORT void normalize ()
 
TIGL_EXPORT CTiglPoint operator * (double) const
 
TIGL_EXPORT CTiglPoint operator+ (const CTiglPoint &aPoint) const
 
TIGL_EXPORT CTiglPointoperator+= (const CTiglPoint &aPoint)
 
TIGL_EXPORT CTiglPoint operator- (const CTiglPoint &aPoint) const
 
TIGL_EXPORT CTiglPointoperator-= (const CTiglPoint &aPoint)
 
TIGL_EXPORT CTiglPointoperator= (const CTiglPoint &aPoint)
 
TIGL_EXPORT bool operator== (const CTiglPoint &aPoint) const
 
virtual TIGL_EXPORT ~CTiglPoint ()
 

Static Public Member Functions

static TIGL_EXPORT CTiglPoint cross_prod (const CTiglPoint &a, const CTiglPoint &b)
 
static TIGL_EXPORT double inner_prod (const CTiglPoint &aPoint, const CTiglPoint &bPoint)
 
static TIGL_EXPORT double scalar_projection (const CTiglPoint &a, const CTiglPoint &b)
 
static TIGL_EXPORT CTiglPoint vector_projection (const CTiglPoint &a, const CTiglPoint &b)
 

Data Fields

double x
 
double y
 
double z
 

Constructor & Destructor Documentation

◆ CTiglPoint() [1/3]

TIGL_EXPORT tigl::CTiglPoint::CTiglPoint ( double  xval = 0.0,
double  yval = 0.0,
double  zval = 0.0 
)

◆ CTiglPoint() [2/3]

TIGL_EXPORT tigl::CTiglPoint::CTiglPoint ( const CTiglPoint aPoint)

◆ CTiglPoint() [3/3]

TIGL_EXPORT tigl::CTiglPoint::CTiglPoint ( const gp_XYZ &  aPoint)

◆ ~CTiglPoint()

virtual TIGL_EXPORT tigl::CTiglPoint::~CTiglPoint ( )
virtual

Member Function Documentation

◆ cross_prod()

static TIGL_EXPORT CTiglPoint tigl::CTiglPoint::cross_prod ( const CTiglPoint a,
const CTiglPoint b 
)
static

◆ distance2()

TIGL_EXPORT double tigl::CTiglPoint::distance2 ( const CTiglPoint point) const

◆ Dump()

TIGL_EXPORT void tigl::CTiglPoint::Dump ( std::ostream &  aStream) const

◆ Get_gp_Pnt()

TIGL_EXPORT gp_Pnt tigl::CTiglPoint::Get_gp_Pnt ( ) const

◆ getMinMax()

TIGL_EXPORT void tigl::CTiglPoint::getMinMax ( double &  min,
double &  max 
) const

◆ inner_prod()

static TIGL_EXPORT double tigl::CTiglPoint::inner_prod ( const CTiglPoint aPoint,
const CTiglPoint bPoint 
)
static

◆ isNear()

TIGL_EXPORT bool tigl::CTiglPoint::isNear ( const CTiglPoint aPoint,
double  epsilon = Precision::Confusion() 
) const

◆ norm2()

TIGL_EXPORT double tigl::CTiglPoint::norm2 ( ) const

◆ norm2Sqr()

TIGL_EXPORT double tigl::CTiglPoint::norm2Sqr ( ) const

◆ normalize()

TIGL_EXPORT void tigl::CTiglPoint::normalize ( )

◆ operator *()

TIGL_EXPORT CTiglPoint tigl::CTiglPoint::operator * ( double  ) const

◆ operator+()

TIGL_EXPORT CTiglPoint tigl::CTiglPoint::operator+ ( const CTiglPoint aPoint) const

◆ operator+=()

TIGL_EXPORT CTiglPoint& tigl::CTiglPoint::operator+= ( const CTiglPoint aPoint)

◆ operator-()

TIGL_EXPORT CTiglPoint tigl::CTiglPoint::operator- ( const CTiglPoint aPoint) const

◆ operator-=()

TIGL_EXPORT CTiglPoint& tigl::CTiglPoint::operator-= ( const CTiglPoint aPoint)

◆ operator=()

TIGL_EXPORT CTiglPoint& tigl::CTiglPoint::operator= ( const CTiglPoint aPoint)

◆ operator==()

TIGL_EXPORT bool tigl::CTiglPoint::operator== ( const CTiglPoint aPoint) const

◆ scalar_projection()

static TIGL_EXPORT double tigl::CTiglPoint::scalar_projection ( const CTiglPoint a,
const CTiglPoint b 
)
static

◆ vector_projection()

static TIGL_EXPORT CTiglPoint tigl::CTiglPoint::vector_projection ( const CTiglPoint a,
const CTiglPoint b 
)
static

Field Documentation

◆ x

double tigl::CTiglPoint::x

◆ y

double tigl::CTiglPoint::y

◆ z

double tigl::CTiglPoint::z

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