Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Static Public Member Functions
DsgPrs_ShapeDirPresentation Class Reference

A framework to define display of the normal to the surface of a shape. More...

#include <DsgPrs_ShapeDirPresentation.hxx>

Static Public Member Functions

static void Add (const occ::handle< Prs3d_Presentation > &prs, const occ::handle< Prs3d_Drawer > &aDrawer, const TopoDS_Shape &shape, const int mode)
 Adds the shape shape and the mode mode to the presentation object prs. The display attributes of the normal are defined by the attribute manager aDrawer. mode determines whether the first or the last point of the normal is given to the presentation object. If the first point: 0; if the last point, 1.
 

Detailed Description

A framework to define display of the normal to the surface of a shape.

Member Function Documentation

◆ Add()

static void DsgPrs_ShapeDirPresentation::Add ( const occ::handle< Prs3d_Presentation > & prs,
const occ::handle< Prs3d_Drawer > & aDrawer,
const TopoDS_Shape & shape,
const int mode )
static

Adds the shape shape and the mode mode to the presentation object prs. The display attributes of the normal are defined by the attribute manager aDrawer. mode determines whether the first or the last point of the normal is given to the presentation object. If the first point: 0; if the last point, 1.


The documentation for this class was generated from the following file: