Geom Software - C++ Programming and Geometry Libraries
Fade3D Documentation pages v0.99
FADE3D::Point3 Class Reference


#include <Point3.h>

Public Member Functions

 Point3 ()
 Constructor. More...
 Point3 (const double x, const double y, const double z)
 Point3 (const Point3 &p_)
double x () const
 Get the x coordinate.
double y () const
 Get the y coordinate.
double z () const
 Get the u coordinate.
void xyz (double &x_, double &y_, double &z_) const
 Access all coordinates at once.
Tet3getOneTet () const
 Get one incident tetrahedron. More...
void exchange (double x, double y, double z)
void debug ()
int getCustomIndex ()
bool operator< (const Point3 &p) const
 Less than operator. More...
bool operator== (const Point3 &p) const
 Equality operator. More...
Vector3 operator- (const Point3 &other) const
Point3 operator+ (const Vector3 &vec) const

Protected Attributes

double coordX
double coordY
double coordZ
int customIndex


class Tet3
class HC3
struct Validator
std::ostream & operator<< (std::ostream &stream, const Point3 &pnt)
std::istream & operator>> (std::istream &stream, Point3 &pnt)

Constructor & Destructor Documentation

◆ Point3() [1/3]

FADE3D::Point3::Point3 ( )

Coordinates are initialized to -DBL_MAX, the custom index is initialized to -1, the associated incident tetrahedron pointer is initialized to NULL.

◆ Point3() [2/3]

FADE3D::Point3::Point3 ( const double  x,
const double  y,
const double  z 

This constructor initializes the custom index to -1 and the associated incident tetrahedron to NULL.

◆ Point3() [3/3]

FADE3D::Point3::Point3 ( const Point3 p_)

The copy constructor copies the coordinates and the custom index but not the associated incident tetrahedron

Member Function Documentation

◆ getOneTet()

Tet3* FADE3D::Point3::getOneTet ( ) const
an incident tetrahedron if one exists
NULL otherwise

◆ operator<()

bool FADE3D::Point3::operator< ( const Point3 p) const

Compares the coordinates of the points

◆ operator==()

bool FADE3D::Point3::operator== ( const Point3 p) const

Compares the coordinates of the points

Member Data Documentation

◆ coordX

double FADE3D::Point3::coordX

Deprecated, will be removedDeprecated, will be removed

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