SHAPER  9.12.0
PartSet_CenterPrs Class Reference

A presentation class for displaying of centers of external curcular objects in a sketch. More...

Inheritance diagram for PartSet_CenterPrs:
Inheritance graph

Public Member Functions

 PartSet_CenterPrs (const ObjectPtr &theObject, const GeomEdgePtr &theEdge, const gp_Pnt &theCenter, ModelAPI_AttributeSelection::CenterType theType)
 Constructor. More...
 
ObjectPtr object () const
 Returns an Object which contains the circular edge. More...
 
GeomEdgePtr edge () const
 Returns a circular edge shape. More...
 
ModelAPI_AttributeSelection::CenterType centerType () const
 Returns type of the center. More...
 
virtual void HilightSelected (const Handle &&PM, const SelectMgr_SequenceOfOwner &Seq)
 
virtual void HilightOwnerWithColor (const Handle &&, const Handle &&, const Handle &&)
 

Data Fields

DEFINE_STANDARD_RTTIEXT(PartSet_CenterPrs, AIS_Point) private ObjectPtr myObject
 
GeomEdgePtr myEdge
 
ModelAPI_AttributeSelection::CenterType myCenterType
 

Detailed Description

A presentation class for displaying of centers of external curcular objects in a sketch.

Constructor & Destructor Documentation

◆ PartSet_CenterPrs()

PartSet_CenterPrs::PartSet_CenterPrs ( const ObjectPtr &  theObject,
const GeomEdgePtr &  theEdge,
const gp_Pnt &  theCenter,
ModelAPI_AttributeSelection::CenterType  theType 
)

Constructor.

Parameters
theObjectan object with circular edge
theEdgea circular edge
theCentera center point of the circular edge
theTypea type of the center

Member Function Documentation

◆ object()

ObjectPtr PartSet_CenterPrs::object ( ) const
inline

Returns an Object which contains the circular edge.

◆ edge()

GeomEdgePtr PartSet_CenterPrs::edge ( ) const
inline

Returns a circular edge shape.

◆ centerType()

ModelAPI_AttributeSelection::CenterType PartSet_CenterPrs::centerType ( ) const
inline

Returns type of the center.