SHAPER  9.12.0
ModuleBase_ArrowPrs Class Reference

A presentation class for displaying a direction of edge. More...

Inheritance diagram for ModuleBase_ArrowPrs:
Inheritance graph

Data Structures

class  Comparator
 Compare addresses of edges. More...
 

Public Member Functions

 ModuleBase_ArrowPrs (const Handle &&theViewer, const GeomEdgePtr &theEdge)
 Constructor. More...
 
GeomEdgePtr Edge () const
 Returns an edge shape. More...
 
void DrawArrow (const Handle &&thePrs, Quantity_Color theColor)
 Draw arrow that represent direction of the edge. More...
 

Detailed Description

A presentation class for displaying a direction of edge.

Constructor & Destructor Documentation

◆ ModuleBase_ArrowPrs()

ModuleBase_ArrowPrs::ModuleBase_ArrowPrs ( const Handle &&  theViewer,
const GeomEdgePtr &  theEdge 
)

Constructor.

Parameters
theViewera viewer which theEdge is displaying.
theEdgean edge whose direction to display.

Member Function Documentation

◆ Edge()

GeomEdgePtr ModuleBase_ArrowPrs::Edge ( ) const
inline

Returns an edge shape.

◆ DrawArrow()

void ModuleBase_ArrowPrs::DrawArrow ( const Handle &&  thePrs,
Quantity_Color  theColor 
)

Draw arrow that represent direction of the edge.