Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOMGUI_DimensionProperty::Diameter Struct Reference

Declaration of properties for diameter dimensions.

#include <GEOMGUI_DimensionProperty.h>

Inheritance diagram for GEOMGUI_DimensionProperty::Diameter:
Inheritance graph

Public Member Functions

 Diameter ()
 
 Diameter (const Diameter &theOther)
 
 ~Diameter ()
 
void Init (const Handle(AIS_DiameterDimension)&theIO, const gp_Ax3 &theLCS)
 Inits property fields from the passed length object. More...
 
void Update (Handle(AIS_DiameterDimension)&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 Diameter &theOther) const
 Overload comparsion. More...
 
bool operator!= (const Diameter &theOther) const
 
- Public Member Functions inherited from GEOMGUI_DimensionProperty::Record
 Record (const DimensionType theType)
 
DimensionType Type () const
 
LengthAsLength ()
 
DiameterAsDiameter ()
 
AngleAsAngle ()
 

Public Attributes

gp_Circ Circle
 
gp_Pln Plane
 
double Flyout
 
Prs3d_DimensionTextHorizontalPosition TextHPos
 
Prs3d_DimensionTextVerticalPosition TextVPos
 
Prs3d_DimensionArrowOrientation ArrowPos
 

Constructor & Destructor Documentation

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

Member Function Documentation

void GEOMGUI_DimensionProperty::Diameter::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::Diameter::Init ( const Handle(AIS_DiameterDimension)&  theIO,
const gp_Ax3 &  theLCS 
)
Parameters
theIO[in] the interactive presentation.
theLCS[in] the local coordiante system of parent object.
bool GEOMGUI_DimensionProperty::Diameter::operator!= ( const Diameter theOther) const
inline
bool GEOMGUI_DimensionProperty::Diameter::operator== ( const Diameter theOther) const

References ArrowPos, Circle, Flyout, Plane, TextHPos, and TextVPos.

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

Implements GEOMGUI_DimensionProperty::Record.

void GEOMGUI_DimensionProperty::Diameter::Update ( Handle(AIS_DiameterDimension)&  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::Diameter::ArrowPos
gp_Circ GEOMGUI_DimensionProperty::Diameter::Circle
double GEOMGUI_DimensionProperty::Diameter::Flyout
gp_Pln GEOMGUI_DimensionProperty::Diameter::Plane
Prs3d_DimensionTextHorizontalPosition GEOMGUI_DimensionProperty::Diameter::TextHPos
Prs3d_DimensionTextVerticalPosition GEOMGUI_DimensionProperty::Diameter::TextVPos

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