cgma
ImprintMatchData Class Reference

#include <ImprintMatchData.hpp>

List of all members.

Public Member Functions

 ImprintMatchData ()
 ~ImprintMatchData ()
void set_closest_point (ImprintPointData *point)
ImprintPointDataget_closest_point ()
void set_closest_seg (ImprintLineSegment *seg)
ImprintLineSegmentget_closest_seg ()
void set_closest_dist (double dist)
double get_closest_dist ()
void set_point_on (CubitVector &point_on)
CubitVectorget_point_on ()

Private Attributes

ImprintPointDataclosestPoint
ImprintLineSegmentclosestSeg
double closestDist
CubitVectorpointOnSeg

Detailed Description

Definition at line 16 of file ImprintMatchData.hpp.


Constructor & Destructor Documentation

Definition at line 25 of file ImprintMatchData.hpp.

Definition at line 32 of file ImprintMatchData.hpp.

    {
      if ( pointOnSeg )
        delete pointOnSeg;
    }

Member Function Documentation

Definition at line 49 of file ImprintMatchData.hpp.

    {return closestDist;}

Definition at line 39 of file ImprintMatchData.hpp.

    {return closestPoint;}

Definition at line 44 of file ImprintMatchData.hpp.

    {return closestSeg;}

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.

Definition at line 37 of file ImprintMatchData.hpp.

    {closestPoint = point;}

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);
    }

Member Data Documentation

Definition at line 21 of file ImprintMatchData.hpp.

Definition at line 22 of file ImprintMatchData.hpp.


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