Version: 9.12.0
GEOMGUI_DimensionProperty::Length Struct Reference

Declaration of properties for length dimensions.

#include <GEOMGUI_DimensionProperty.h>

Inheritance diagram for GEOMGUI_DimensionProperty::Length:
Inheritance graph

Public Member Functions

 Length ()
 Length (const Length &theOther)
 ~Length ()
void Init (const Handle(AIS_LengthDimension)&theIO, const gp_Ax3 &theLCS)
 Inits property fields from the passed length object. More...
void Update (Handle(AIS_LengthDimension)&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 Length &theOther) const
 Overload comparison. More...
bool operator!= (const Length &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_Pln Plane
double Flyout
Prs3d_DimensionTextHorizontalPosition TextHPos
Prs3d_DimensionTextVerticalPosition TextVPos
Prs3d_DimensionArrowOrientation ArrowPos

Constructor & Destructor Documentation

◆ Length() [1/2]

GEOMGUI_DimensionProperty::Length::Length ( )

◆ Length() [2/2]

GEOMGUI_DimensionProperty::Length::Length ( const Length theOther)

◆ ~Length()

GEOMGUI_DimensionProperty::Length::~Length ( )

Member Function Documentation

◆ FromValues()

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

Implements GEOMGUI_DimensionProperty::Record.

◆ Init()

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

◆ operator!=()

bool GEOMGUI_DimensionProperty::Length::operator!= ( const Length theOther) const

◆ operator==()

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

◆ ToValues()

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

Implements GEOMGUI_DimensionProperty::Record.

References ArrowPos, FirstPoint, Flyout, Plane, SecondPoint, TextHPos, and TextVPos.

◆ Update()

void GEOMGUI_DimensionProperty::Length::Update ( Handle(AIS_LengthDimension)&  theIO,
const gp_Ax3 &  theLCS 
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::Length::ArrowPos

◆ FirstPoint

gp_Pnt GEOMGUI_DimensionProperty::Length::FirstPoint

◆ Flyout

double GEOMGUI_DimensionProperty::Length::Flyout

◆ Plane

gp_Pln GEOMGUI_DimensionProperty::Length::Plane

◆ SecondPoint

gp_Pnt GEOMGUI_DimensionProperty::Length::SecondPoint

◆ TextHPos

Prs3d_DimensionTextHorizontalPosition GEOMGUI_DimensionProperty::Length::TextHPos

◆ TextVPos

Prs3d_DimensionTextVerticalPosition GEOMGUI_DimensionProperty::Length::TextVPos

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