3.4.0
tigl::CTiglProjectOnLinearSpline Class Reference

#include <CTiglProjectOnLinearSpline.h>

Public Member Functions

TIGL_EXPORT CTiglProjectOnLinearSpline (Handle(Geom_BSplineCurve) curve, gp_Pnt p)
 
TIGL_EXPORT bool IsDone ()
 If false, no projection could be computed. More...
 
TIGL_EXPORT double Parameter ()
 Returns the curve parameter of the projected point. More...
 
TIGL_EXPORT gp_Pnt Point ()
 Returns the point projected. More...
 
TIGL_EXPORT ~CTiglProjectOnLinearSpline ()
 

Private Member Functions

bool compute ()
 
 Handle (Geom_BSplineCurve) _curve
 

Private Attributes

bool _isDone
 
double _param
 
gp_Pnt _point
 
gp_Pnt _pProj
 

Constructor & Destructor Documentation

◆ CTiglProjectOnLinearSpline()

TIGL_EXPORT tigl::CTiglProjectOnLinearSpline::CTiglProjectOnLinearSpline ( Handle(Geom_BSplineCurve)  curve,
gp_Pnt  p 
)

◆ ~CTiglProjectOnLinearSpline()

TIGL_EXPORT tigl::CTiglProjectOnLinearSpline::~CTiglProjectOnLinearSpline ( )

Member Function Documentation

◆ compute()

bool tigl::CTiglProjectOnLinearSpline::compute ( )
private

◆ Handle()

tigl::CTiglProjectOnLinearSpline::Handle ( Geom_BSplineCurve  )
private

◆ IsDone()

TIGL_EXPORT bool tigl::CTiglProjectOnLinearSpline::IsDone ( )

If false, no projection could be computed.

◆ Parameter()

TIGL_EXPORT double tigl::CTiglProjectOnLinearSpline::Parameter ( )

Returns the curve parameter of the projected point.

◆ Point()

TIGL_EXPORT gp_Pnt tigl::CTiglProjectOnLinearSpline::Point ( )

Returns the point projected.

Field Documentation

◆ _isDone

bool tigl::CTiglProjectOnLinearSpline::_isDone
private

◆ _param

double tigl::CTiglProjectOnLinearSpline::_param
private

◆ _point

gp_Pnt tigl::CTiglProjectOnLinearSpline::_point
private

◆ _pProj

gp_Pnt tigl::CTiglProjectOnLinearSpline::_pProj
private

The documentation for this class was generated from the following file: