#include <MyPoint.h>
Collaboration diagram for MyPoint:
Public Member Functions | |
MyPoint (float inX=0.0, float inY=0.0, float inZ=0.0) | |
MyPoint (const MyPoint &a) | |
MyPoint (const Coord3df &c) | |
explicit conversion from Coord3df. | |
~MyPoint () | |
void | clear () |
void | setp (const Coord3df &c) |
uint | hash () const |
MyPoint & | operator+= (const MyPoint &a) |
MyPoint & | operator/= (float s) |
MyPoint & | operator *= (float s) |
MyPoint & | operator= (const MyPoint &a) |
Public Attributes | |
Coord3df | p |
actual coordinate value | |
Coord3df | n |
normal of this point. | |
HalfEdge * | he |
HalfEdge originating from this point. - used in MyObject::subdivide(). | |
bool | touched |
was this point adjusted in the current subdiv iteration? - used in MyObject::subdivide() | |
Static Public Attributes | |
static int | g_ctorCount |
static int | g_dtorCount |
keep bookmarking of creation and deletion for debug |
objects of this class are used along side with MyPolygon and MyLine in the process of creating the pieces display lists and in the direct rendering of lines. They are used solely with in the 3D solution display engine. instances of this class are usually managed with in a Pool of objects
MyPoint::MyPoint | ( | float | inX = 0.0 , |
|
float | inY = 0.0 , |
|||
float | inZ = 0.0 | |||
) | [inline] |
MyPoint::MyPoint | ( | const MyPoint & | a | ) | [inline] |
MyPoint::MyPoint | ( | const Coord3df & | c | ) | [inline, explicit] |
MyPoint::~MyPoint | ( | ) | [inline] |
void MyPoint::clear | ( | ) | [inline] |
void MyPoint::setp | ( | const Coord3df & | c | ) | [inline] |
uint MyPoint::hash | ( | ) | const [inline] |
MyPoint& MyPoint::operator/= | ( | float | s | ) | [inline] |
MyPoint& MyPoint::operator *= | ( | float | s | ) | [inline] |
actual coordinate value
normal of this point.
HalfEdge originating from this point. - used in MyObject::subdivide().
bool MyPoint::touched |
was this point adjusted in the current subdiv iteration? - used in MyObject::subdivide()
int MyPoint::g_ctorCount [static] |
int MyPoint::g_dtorCount [static] |
keep bookmarking of creation and deletion for debug