|
cgma
|
#include <ImprintMatchData.hpp>
Public Member Functions | |
| ImprintMatchData () | |
| ~ImprintMatchData () | |
| void | set_closest_point (ImprintPointData *point) |
| ImprintPointData * | get_closest_point () |
| void | set_closest_seg (ImprintLineSegment *seg) |
| ImprintLineSegment * | get_closest_seg () |
| void | set_closest_dist (double dist) |
| double | get_closest_dist () |
| void | set_point_on (CubitVector &point_on) |
| CubitVector * | get_point_on () |
Private Attributes | |
| ImprintPointData * | closestPoint |
| ImprintLineSegment * | closestSeg |
| double | closestDist |
| CubitVector * | pointOnSeg |
Definition at line 16 of file ImprintMatchData.hpp.
| ImprintMatchData::ImprintMatchData | ( | ) | [inline] |
Definition at line 25 of file ImprintMatchData.hpp.
{
closestPoint = NULL;
closestSeg = NULL;
closestDist = CUBIT_DBL_MAX;
pointOnSeg = NULL;
}
| ImprintMatchData::~ImprintMatchData | ( | ) | [inline] |
Definition at line 32 of file ImprintMatchData.hpp.
{
if ( pointOnSeg )
delete pointOnSeg;
}
| double ImprintMatchData::get_closest_dist | ( | ) | [inline] |
Definition at line 49 of file ImprintMatchData.hpp.
{return closestDist;}
| ImprintPointData* ImprintMatchData::get_closest_point | ( | ) | [inline] |
Definition at line 39 of file ImprintMatchData.hpp.
{return closestPoint;}
| ImprintLineSegment* ImprintMatchData::get_closest_seg | ( | ) | [inline] |
Definition at line 44 of file ImprintMatchData.hpp.
{return closestSeg;}
| CubitVector* ImprintMatchData::get_point_on | ( | ) | [inline] |
Definition at line 59 of file ImprintMatchData.hpp.
{
return pointOnSeg;
}
| void ImprintMatchData::set_closest_dist | ( | double | dist | ) | [inline] |
Definition at line 47 of file ImprintMatchData.hpp.
{closestDist = dist;}
| void ImprintMatchData::set_closest_point | ( | ImprintPointData * | point | ) | [inline] |
Definition at line 37 of file ImprintMatchData.hpp.
{closestPoint = point;}
| void ImprintMatchData::set_closest_seg | ( | ImprintLineSegment * | seg | ) | [inline] |
Definition at line 42 of file ImprintMatchData.hpp.
{closestSeg = seg;}
| void ImprintMatchData::set_point_on | ( | CubitVector & | point_on | ) | [inline] |
Definition at line 52 of file ImprintMatchData.hpp.
{
if ( pointOnSeg == NULL )
pointOnSeg = new CubitVector(point_on);
else
pointOnSeg->set(point_on);
}
double ImprintMatchData::closestDist [private] |
Definition at line 21 of file ImprintMatchData.hpp.
ImprintPointData* ImprintMatchData::closestPoint [private] |
Definition at line 19 of file ImprintMatchData.hpp.
ImprintLineSegment* ImprintMatchData::closestSeg [private] |
Definition at line 20 of file ImprintMatchData.hpp.
CubitVector* ImprintMatchData::pointOnSeg [private] |
Definition at line 22 of file ImprintMatchData.hpp.