Open CASCADE Technology 7.9.0
|
The Prs3d package provides the following services. More...
#include <Prs3d.hxx>
Static Public Member Functions | |
static Standard_Boolean | MatchSegment (const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const gp_Pnt &p1, const gp_Pnt &p2, Standard_Real &dist) |
draws an arrow at a given location, with respect to a given direction. | |
static Standard_Real | GetDeflection (const Graphic3d_Vec3d &theBndMin, const Graphic3d_Vec3d &theBndMax, const Standard_Real theDeviationCoefficient) |
Computes the absolute deflection value based on relative deflection Prs3d_Drawer::DeviationCoefficient(). | |
static Standard_Real | GetDeflection (const Bnd_Box &theBndBox, const Standard_Real theDeviationCoefficient, const Standard_Real theMaximalChordialDeviation) |
Computes the absolute deflection value based on relative deflection Prs3d_Drawer::DeviationCoefficient(). | |
static Handle< Graphic3d_ArrayOfPrimitives > | PrimitivesFromPolylines (const Prs3d_NListOfSequenceOfPnt &thePoints) |
Assembles array of primitives for sequence of polylines. | |
static void | AddPrimitivesGroup (const Handle< Prs3d_Presentation > &thePrs, const Handle< Prs3d_LineAspect > &theAspect, Prs3d_NListOfSequenceOfPnt &thePolylines) |
Add primitives into new group in presentation and clear the list of polylines. | |
static void | AddFreeEdges (TColgp_SequenceOfPnt &theSegments, const Handle< Poly_Triangulation > &thePolyTri, const gp_Trsf &theLocation) |
Add triangulation free edges into sequence of line segments. | |
The Prs3d package provides the following services.
|
static |
Add triangulation free edges into sequence of line segments.
[out] | theSegments | sequence of line segments to fill |
[in] | thePolyTri | triangulation to process |
[in] | theLocation | transformation to apply |
|
static |
Add primitives into new group in presentation and clear the list of polylines.
|
inlinestatic |
Computes the absolute deflection value based on relative deflection Prs3d_Drawer::DeviationCoefficient().
[in] | theBndBox | bounding box |
[in] | theDeviationCoefficient | relative deflection coefficient from Prs3d_Drawer::DeviationCoefficient() |
[in] | theMaximalChordialDeviation | absolute deflection coefficient from Prs3d_Drawer::MaximalChordialDeviation() |
|
inlinestatic |
Computes the absolute deflection value based on relative deflection Prs3d_Drawer::DeviationCoefficient().
[in] | theBndMin | bounding box min corner |
[in] | theBndMax | bounding box max corner |
[in] | theDeviationCoefficient | relative deflection coefficient from Prs3d_Drawer::DeviationCoefficient() |
|
static |
draws an arrow at a given location, with respect to a given direction.
|
static |
Assembles array of primitives for sequence of polylines.
[in] | thePoints | the polylines sequence |