OCC Main Page | Visualization | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

Visualization
TKV3d
StdPrs


StdPrs_PoleCurve Class Reference

A framework to provide display of Bezier or BSpline curves.
.

#include <StdPrs_PoleCurve.hxx>

Inheritance diagram for StdPrs_PoleCurve:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT 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.
.
static Standard_EXPORT Standard_Boolean Match (const Quantity_Length X, const Quantity_Length Y, const Quantity_Length Z, const Quantity_Length 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.

static Standard_EXPORT Standard_Integer Pick (const Quantity_Length X, const Quantity_Length Y, const Quantity_Length Z, const Quantity_Length 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.


Member Function Documentation

static Standard_EXPORT void StdPrs_PoleCurve::Add const Handle(Prs3d_Presentation)&  aPresentation,
const Adaptor3d_Curve &  aCurve,
const Handle(Prs3d_Drawer)&  aDrawer
[static]
 

static Standard_EXPORT Standard_Boolean StdPrs_PoleCurve::Match const Quantity_Length  X,
const Quantity_Length  Y,
const Quantity_Length  Z,
const Quantity_Length  aDistance,
const Adaptor3d_Curve &  aCurve,
const Handle(Prs3d_Drawer)&  aDrawer
[static]
 

void StdPrs_PoleCurve::operator delete void *  anAddress  )  [inline]
 

Reimplemented from Prs3d_Root.

void* StdPrs_PoleCurve::operator new size_t  size  )  [inline]
 

Reimplemented from Prs3d_Root.

void* StdPrs_PoleCurve::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from Prs3d_Root.

static Standard_EXPORT Standard_Integer StdPrs_PoleCurve::Pick const Quantity_Length  X,
const Quantity_Length  Y,
const Quantity_Length  Z,
const Quantity_Length  aDistance,
const Adaptor3d_Curve &  aCurve,
const Handle(Prs3d_Drawer)&  aDrawer
[static]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:56:18 2008 for OpenCASCADE by  doxygen 1.4.1