Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Static Public Member Functions
StdPrs_PoleCurve Class Reference

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>

Inheritance diagram for StdPrs_PoleCurve:
Inheritance graph
[legend]

Static Public Member Functions

static void Add (const occ::handle< Prs3d_Presentation > &aPresentation, const Adaptor3d_Curve &aCurve, const occ::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.
 
static bool Match (const double X, const double Y, const double Z, const double aDistance, const Adaptor3d_Curve &aCurve, const occ::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.
 
static int Pick (const double X, const double Y, const double Z, const double aDistance, const Adaptor3d_Curve &aCurve, const occ::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.
 
- Static Public Member Functions inherited from Prs3d_Root
called static instead occ::handle< Graphic3d_GroupCurrentGroup (const occ::handle< Prs3d_Presentation > &thePrs3d)
 
static instead occ::handle< Graphic3d_GroupNewGroup (const occ::handle< Prs3d_Presentation > &thePrs3d)
 

Detailed Description

A framework to provide display of Bezier or BSpline curves (by drawing a broken line linking the poles of the curve).

Member Function Documentation

◆ Add()

static void StdPrs_PoleCurve::Add ( const occ::handle< Prs3d_Presentation > & aPresentation,
const Adaptor3d_Curve & aCurve,
const occ::handle< Prs3d_Drawer > & aDrawer )
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.

◆ Match()

static bool StdPrs_PoleCurve::Match ( const double X,
const double Y,
const double Z,
const double aDistance,
const Adaptor3d_Curve & aCurve,
const occ::handle< Prs3d_Drawer > & aDrawer )
static

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

◆ Pick()

static int StdPrs_PoleCurve::Pick ( const double X,
const double Y,
const double Z,
const double aDistance,
const Adaptor3d_Curve & aCurve,
const occ::handle< Prs3d_Drawer > & aDrawer )
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.


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