Point Class Reference

#include <point.h>

List of all members.

Public Member Functions

 Point (double, double, double)
void add (double, double, double)
void clear (void)
double getSqD (void) const
double getClosestX (void) const
double getClosestY (void) const
double getClosestZ (void) const


Constructor & Destructor Documentation

Point::Point ( double  j,
double  k,
double  l 
)

Initialize point class.

Parameters:
[in] j X-component of seed point.
[in] k Y-component of seed point.
[in] l Z-component of seed point.


Member Function Documentation

void Point::add ( double  j,
double  k,
double  l 
)

Calculate distance from input point to stored vertex and record point if closer than stored point.

Parameters:
[in] j X-component of input point.
[in] k Y-component of input point.
[in] l Z-component of input point.

void Point::clear ( void   ) 

Rest point class.

double Point::getSqD ( void   )  const

Get squared distance between point of interest and closest point.

Returns:
Squared distance between point of interest and closest point.

double Point::getClosestX ( void   )  const

Get x-component of closest location found.

Returns:
X-component of closest location found.

double Point::getClosestY ( void   )  const

Get y-component of closest location found.

Returns:
Y-component of closest location found.

double Point::getClosestZ ( void   )  const

Get z-component of closest location found.

Returns:
Z-component of closest location found.


The documentation for this class was generated from the following files:
Generated on Sun Aug 3 14:17:31 2008 for meshmorph by  doxygen 1.5.1