#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 CTiglPoint & | operator+= (const CTiglPoint &aPoint) |
TIGL_EXPORT CTiglPoint | operator- (const CTiglPoint &aPoint) const |
TIGL_EXPORT CTiglPoint & | operator-= (const CTiglPoint &aPoint) |
TIGL_EXPORT CTiglPoint & | operator= (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 |
TIGL_EXPORT tigl::CTiglPoint::CTiglPoint | ( | double | xval = 0.0 , |
double | yval = 0.0 , |
||
double | zval = 0.0 |
||
) |
TIGL_EXPORT tigl::CTiglPoint::CTiglPoint | ( | const CTiglPoint & | aPoint | ) |
TIGL_EXPORT tigl::CTiglPoint::CTiglPoint | ( | const gp_XYZ & | aPoint | ) |
|
virtual |
|
static |
TIGL_EXPORT double tigl::CTiglPoint::distance2 | ( | const CTiglPoint & | point | ) | const |
TIGL_EXPORT void tigl::CTiglPoint::Dump | ( | std::ostream & | aStream | ) | const |
TIGL_EXPORT gp_Pnt tigl::CTiglPoint::Get_gp_Pnt | ( | ) | const |
TIGL_EXPORT void tigl::CTiglPoint::getMinMax | ( | double & | min, |
double & | max | ||
) | const |
|
static |
TIGL_EXPORT bool tigl::CTiglPoint::isNear | ( | const CTiglPoint & | aPoint, |
double | epsilon = Precision::Confusion() |
||
) | const |
TIGL_EXPORT double tigl::CTiglPoint::norm2 | ( | ) | const |
TIGL_EXPORT double tigl::CTiglPoint::norm2Sqr | ( | ) | const |
TIGL_EXPORT void tigl::CTiglPoint::normalize | ( | ) |
TIGL_EXPORT CTiglPoint tigl::CTiglPoint::operator * | ( | double | ) | const |
TIGL_EXPORT CTiglPoint tigl::CTiglPoint::operator+ | ( | const CTiglPoint & | aPoint | ) | const |
TIGL_EXPORT CTiglPoint& tigl::CTiglPoint::operator+= | ( | const CTiglPoint & | aPoint | ) |
TIGL_EXPORT CTiglPoint tigl::CTiglPoint::operator- | ( | const CTiglPoint & | aPoint | ) | const |
TIGL_EXPORT CTiglPoint& tigl::CTiglPoint::operator-= | ( | const CTiglPoint & | aPoint | ) |
TIGL_EXPORT CTiglPoint& tigl::CTiglPoint::operator= | ( | const CTiglPoint & | aPoint | ) |
TIGL_EXPORT bool tigl::CTiglPoint::operator== | ( | const CTiglPoint & | aPoint | ) | const |
|
static |
|
static |
double tigl::CTiglPoint::x |
double tigl::CTiglPoint::y |
double tigl::CTiglPoint::z |