Open CASCADE Technology
7.6.0

A framework to provide display of Bezier or BSpline curves (by drawing a broken line linking the poles of the curve). More...
#include <StdPrs_PoleCurve.hxx>
Static Public Member Functions  
static void  Add (const Handle< Prs3d_Presentation > &aPresentation, const Adaptor3d_Curve &aCurve, const Handle< Prs3d_Drawer > &aDrawer) 
Defines display of BSpline and Bezier curves. Adds the 3D curve aCurve to the StdPrs_PoleCurve algorithm. This shape is found in the presentation object aPresentation, and its display attributes are set in the attribute manager aDrawer. The curve object from Adaptor3d provides data from a Geom curve. This makes it possible to use the surface in a geometric algorithm. More...  
static Standard_Boolean  Match (const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const Adaptor3d_Curve &aCurve, const Handle< Prs3d_Drawer > &aDrawer) 
returns true if the distance between the point (X,Y,Z) and the broken line made of the poles is less then aDistance. More...  
static Standard_Integer  Pick (const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const Adaptor3d_Curve &aCurve, const Handle< Prs3d_Drawer > &aDrawer) 
returns the pole the most near of the point (X,Y,Z) and returns its range. The distance between the pole and (X,Y,Z) must be less then aDistance. If no pole corresponds, 0 is returned. More...  
Static Public Member Functions inherited from Prs3d_Root  
static Handle< Graphic3d_Group >  CurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d) 
static Handle< Graphic3d_Group >  NewGroup (const Handle< Prs3d_Presentation > &thePrs3d) 
A framework to provide display of Bezier or BSpline curves (by drawing a broken line linking the poles of the curve).

static 
Defines display of BSpline and Bezier curves. Adds the 3D curve aCurve to the StdPrs_PoleCurve algorithm. This shape is found in the presentation object aPresentation, and its display attributes are set in the attribute manager aDrawer. The curve object from Adaptor3d provides data from a Geom curve. This makes it possible to use the surface in a geometric algorithm.

static 
returns true if the distance between the point (X,Y,Z) and the broken line made of the poles is less then aDistance.

static 
returns the pole the most near of the point (X,Y,Z) and returns its range. The distance between the pole and (X,Y,Z) must be less then aDistance. If no pole corresponds, 0 is returned.