Public Member Functions | Protected Attributes

Point Class Reference

point with normal More...

#include <point.h>

Inheritance diagram for Point:
Cube HashOctree::geom_cell LeafOctree::geom_cell MemOctree::geom_cell OptOctree::geom_cell PtrOctree::geom_cell

List of all members.

Public Member Functions

 Point (creal x_, creal y_, creal z_)
 Point (const Point &p_)
Pointoperator= (const Point &p_)
realx ()
realy ()
realz ()
creal x () const
creal y () const
creal z () const
creal & operator[] (Axis a) const
realoperator[] (Axis a)
bool valid ()
bool invalid ()
Pointoperator+= (const Point &p_)
 +=
const Point operator- ()
 unary -
Pointoperator-= (const Point &p_)
 -=
Pointoperator*= (const real l)
 *= scalar
Pointoperator/= (const real l)
 /= scalar
real length () const
real norm () const
real dist (const Point &p_) const
bool operator== (const Point &p_) const
bool operator!= (const Point &p_) const
bool normalize ()
void pmin (const Point &p_)
void pmax (const Point &p_)
void draw () const
 Draws the point with opengl.

Protected Attributes

real _x
real _y
real _z

Detailed Description

point with normal


Member Function Documentation

real Point::length (  )  const [inline]

------------------------------------------------------------------------------------

Point& Point::operator+= ( const Point p_  )  [inline]

+=

------------------------------------------------------------------------------------

void Point::pmax ( const Point p_  )  [inline]

replaces p by the by-coordinate maximum of p and p_

void Point::pmin ( const Point p_  )  [inline]

replaces p by the by-coordinate minimum of p and p_

bool Point::valid (  )  [inline]

------------------------------------------------------------------------------------


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Defines