Open CASCADE Technology
7.1.0.beta
|
The Prs3d package provides the following services. More...
#include <Prs3d.hxx>
Static Public Member Functions | |
static Standard_Boolean | MatchSegment (const Quantity_Length X, const Quantity_Length Y, const Quantity_Length Z, const Quantity_Length aDistance, const gp_Pnt &p1, const gp_Pnt &p2, Quantity_Length &dist) |
draws an arrow at a given location, with respect to a given direction. More... | |
static Standard_Real | GetDeflection (const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer) |
Computes the absolute deflection value depending on the type of deflection in theDrawer: More... | |
static Handle< Graphic3d_ArrayOfPrimitives > | PrimitivesFromPolylines (const Prs3d_NListOfSequenceOfPnt &thePoints) |
Assembles array of primitives for sequence of polylines. More... | |
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. More... | |
The Prs3d package provides the following services.
|
static |
Add primitives into new group in presentation and clear the list of polylines.
|
static |
Computes the absolute deflection value depending on the type of deflection in theDrawer:
In case of the type of deflection in theDrawer computed relative deflection for shape is stored as absolute deflection. It is necessary to use it later on for sub-shapes. This function should always be used to compute the deflection value for building discrete representations of the shape (triangualtion, wireframe) to avoid incosistencies between different representations of the shape and undesirable visual artifacts.
|
static |
draws an arrow at a given location, with respect to a given direction.
|
static |
Assembles array of primitives for sequence of polylines.
thePoints | [in] the polylines sequence |