Version: 9.12.0
GEOMGUI_DimensionProperty::Angle Struct Reference

Declaration of properties for angle dimensions.

#include <GEOMGUI_DimensionProperty.h>

Inheritance diagram for GEOMGUI_DimensionProperty::Angle:
Inheritance graph

Public Member Functions

 Angle ()
 
 Angle (const Angle &theOther)
 
 ~Angle ()
 
void Init (const Handle(AIS_AngleDimension)&theIO, const gp_Ax3 &theLCS)
 Inits property fields from the passed length object. More...
 
void Update (Handle(AIS_AngleDimension)&theIO, const gp_Ax3 &theLCS)
 Updates length object properties from the fields. More...
 
void ToValues (std::vector< double > &theValues) const
 Packs properties to array of doubles. More...
 
void FromValues (int &theIt, const std::vector< double > &theValues)
 Unpacks properties from array of doubles. More...
 
bool operator== (const Angle &theOther) const
 Overload comparison. More...
 
bool operator!= (const Angle &theOther) const
 
- Public Member Functions inherited from GEOMGUI_DimensionProperty::Record
 Record (const DimensionType theType)
 
DimensionType Type () const
 
LengthAsLength ()
 
DiameterAsDiameter ()
 
AngleAsAngle ()
 

Public Attributes

gp_Pnt FirstPoint
 
gp_Pnt SecondPoint
 
gp_Pnt CenterPoint
 
double Flyout
 
Prs3d_DimensionTextHorizontalPosition TextHPos
 
Prs3d_DimensionTextVerticalPosition TextVPos
 
Prs3d_DimensionArrowOrientation ArrowPos
 

Constructor & Destructor Documentation

◆ Angle() [1/2]

GEOMGUI_DimensionProperty::Angle::Angle ( )
inline

◆ Angle() [2/2]

GEOMGUI_DimensionProperty::Angle::Angle ( const Angle theOther)
inline

◆ ~Angle()

GEOMGUI_DimensionProperty::Angle::~Angle ( )
inline

Member Function Documentation

◆ FromValues()

void GEOMGUI_DimensionProperty::Angle::FromValues ( int &  theIt,
const std::vector< double > &  theValues 
)
virtual
Parameters
theIt[in/out] the array index iterator.
theValues[in] the vector of values.

Implements GEOMGUI_DimensionProperty::Record.

◆ Init()

void GEOMGUI_DimensionProperty::Angle::Init ( const Handle(AIS_AngleDimension)&  theIO,
const gp_Ax3 &  theLCS 
)
Parameters
theIO[in] the interactive presentation.
theLCS[in] the local coordinate system of parent object.

◆ operator!=()

bool GEOMGUI_DimensionProperty::Angle::operator!= ( const Angle theOther) const
inline

◆ operator==()

bool GEOMGUI_DimensionProperty::Angle::operator== ( const Angle theOther) const

◆ ToValues()

void GEOMGUI_DimensionProperty::Angle::ToValues ( std::vector< double > &  theValues) const
virtual
Parameters
theValues[out] the values vector to populate.

Implements GEOMGUI_DimensionProperty::Record.

◆ Update()

void GEOMGUI_DimensionProperty::Angle::Update ( Handle(AIS_AngleDimension)&  theIO,
const gp_Ax3 &  theLCS 
)
Parameters
theIO[in/out] the interactive presentation.
theLCS[in] the local coordinate system of parent object.

References Handle().

Member Data Documentation

◆ ArrowPos

Prs3d_DimensionArrowOrientation GEOMGUI_DimensionProperty::Angle::ArrowPos

◆ CenterPoint

gp_Pnt GEOMGUI_DimensionProperty::Angle::CenterPoint

◆ FirstPoint

gp_Pnt GEOMGUI_DimensionProperty::Angle::FirstPoint

◆ Flyout

double GEOMGUI_DimensionProperty::Angle::Flyout

◆ SecondPoint

gp_Pnt GEOMGUI_DimensionProperty::Angle::SecondPoint

◆ TextHPos

Prs3d_DimensionTextHorizontalPosition GEOMGUI_DimensionProperty::Angle::TextHPos

◆ TextVPos

Prs3d_DimensionTextVerticalPosition GEOMGUI_DimensionProperty::Angle::TextVPos

The documentation for this struct was generated from the following files: