Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 comparsion. 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

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

Member Function Documentation

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.

void GEOMGUI_DimensionProperty::Angle::Init ( const Handle(AIS_AngleDimension)&  theIO,
const gp_Ax3 &  theLCS 
)
Parameters
theIO[in] the interactive presentation.
theLCS[in] the local coordiante system of parent object.
bool GEOMGUI_DimensionProperty::Angle::operator!= ( const Angle theOther) const
inline
bool GEOMGUI_DimensionProperty::Angle::operator== ( const Angle theOther) const
void GEOMGUI_DimensionProperty::Angle::ToValues ( std::vector< double > &  theValues) const
virtual
Parameters
theValues[out] the values vector to populate.

Implements GEOMGUI_DimensionProperty::Record.

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

References Handle().

Member Data Documentation

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

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