#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. | |
| TIGL_EXPORT double | Parameter () |
| Returns the curve parameter of the projected point. | |
| TIGL_EXPORT gp_Pnt | Point () |
| Returns the point projected. | |
| TIGL_EXPORT | ~CTiglProjectOnLinearSpline () |
Private Member Functions | |
| bool | compute () |
| Handle (Geom_BSplineCurve) _curve | |
Private Attributes | |
| bool | _isDone |
| double | _param |
| gp_Pnt | _point |
| gp_Pnt | _pProj |
| TIGL_EXPORT tigl::CTiglProjectOnLinearSpline::CTiglProjectOnLinearSpline | ( | Handle(Geom_BSplineCurve) | curve, |
| gp_Pnt | p ) |
| TIGL_EXPORT tigl::CTiglProjectOnLinearSpline::~CTiglProjectOnLinearSpline | ( | ) |
|
private |
|
private |
| TIGL_EXPORT bool tigl::CTiglProjectOnLinearSpline::IsDone | ( | ) |
If false, no projection could be computed.
| TIGL_EXPORT double tigl::CTiglProjectOnLinearSpline::Parameter | ( | ) |
Returns the curve parameter of the projected point.
| TIGL_EXPORT gp_Pnt tigl::CTiglProjectOnLinearSpline::Point | ( | ) |
Returns the point projected.
|
private |
|
private |
|
private |
|
private |