|
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. 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.
- a presentation object (the context for all modifications to the display, its presentation will be displayed in every view of an active viewer)
- an attribute manager governing how objects such as color, width, and type of line are displayed; these are generic objects, whereas those in StdPrs are specific geometries and topologies.
- generic algorithms providing default settings for objects such as points, curves, surfaces and shapes
- a root object which provides the abstract framework for the DsgPrs definitions at work in display of dimensions, relations and trihedra.