|
| static bool | MatchSegment (const double X, const double Y, const double Z, const double aDistance, const gp_Pnt &p1, const gp_Pnt &p2, double &dist) |
| | draws an arrow at a given location, with respect to a given direction.
|
| |
| static double | GetDeflection (const NCollection_Vec3< double > &theBndMin, const NCollection_Vec3< double > &theBndMax, const double theDeviationCoefficient) |
| | Computes the absolute deflection value based on relative deflection Prs3d_Drawer::DeviationCoefficient().
|
| |
| static double | GetDeflection (const Bnd_Box &theBndBox, const double theDeviationCoefficient, const double theMaximalChordialDeviation) |
| | Computes the absolute deflection value based on relative deflection Prs3d_Drawer::DeviationCoefficient().
|
| |
| static occ::handle< Graphic3d_ArrayOfPrimitives > | PrimitivesFromPolylines (const NCollection_List< occ::handle< NCollection_HSequence< gp_Pnt > > > &thePoints) |
| | Assembles array of primitives for sequence of polylines.
|
| |
| static void | AddPrimitivesGroup (const occ::handle< Prs3d_Presentation > &thePrs, const occ::handle< Prs3d_LineAspect > &theAspect, NCollection_List< occ::handle< NCollection_HSequence< gp_Pnt > > > &thePolylines) |
| | Add primitives into new group in presentation and clear the list of polylines.
|
| |
| static void | AddFreeEdges (NCollection_Sequence< gp_Pnt > &theSegments, const occ::handle< Poly_Triangulation > &thePolyTri, const gp_Trsf &theLocation) |
| | Add triangulation free edges into sequence of line segments.
|
| |
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.