Open CASCADE Technology  7.7.0
Data Structures | Public Types | Public Member Functions | Data Fields
PrsDim_Dimension::SelectionGeometry Struct Reference

Selection geometry of dimension presentation. The structure is filled with data during compute of presentation, then this data is used to generate selection sensitives when computing selection. More...

#include <PrsDim_Dimension.hxx>

Data Structures

struct  Arrow
 Arrows are represented by directed triangles. More...
 

Public Types

typedef NCollection_Sequence< gp_PntCurve
 
typedef NCollection_Handle< CurveHCurve
 
typedef NCollection_Handle< ArrowHArrow
 
typedef NCollection_Sequence< HCurveSeqOfCurves
 
typedef NCollection_Sequence< HArrowSeqOfArrows
 

Public Member Functions

void Clear (const Standard_Integer theMode)
 Clear geometry of sensitives for the specified compute mode. More...
 
CurveNewCurve ()
 Add new curve entry and return the reference to populate it. More...
 
ArrowNewArrow ()
 Add new arrow entry and return the reference to populate it. More...
 

Data Fields

gp_Pnt TextPos
 Center of text label. More...
 
gp_Dir TextDir
 Direction of text label. More...
 
Standard_Real TextWidth
 Width of text label. More...
 
Standard_Real TextHeight
 Height of text label. More...
 
SeqOfCurves DimensionLine
 Sequence of points for composing the segments of dimension line. More...
 
SeqOfArrows Arrows
 Sequence of arrow geometries. More...
 
Standard_Boolean IsComputed
 Shows if the selection geometry was filled. More...
 

Detailed Description

Selection geometry of dimension presentation. The structure is filled with data during compute of presentation, then this data is used to generate selection sensitives when computing selection.

Member Typedef Documentation

◆ Curve

◆ HArrow

◆ HCurve

◆ SeqOfArrows

◆ SeqOfCurves

Member Function Documentation

◆ Clear()

void PrsDim_Dimension::SelectionGeometry::Clear ( const Standard_Integer  theMode)
inline

Clear geometry of sensitives for the specified compute mode.

Parameters
theMode[in] the compute mode to clear.

◆ NewArrow()

Arrow& PrsDim_Dimension::SelectionGeometry::NewArrow ( )
inline

Add new arrow entry and return the reference to populate it.

◆ NewCurve()

Curve& PrsDim_Dimension::SelectionGeometry::NewCurve ( )
inline

Add new curve entry and return the reference to populate it.

Field Documentation

◆ Arrows

SeqOfArrows PrsDim_Dimension::SelectionGeometry::Arrows

Sequence of arrow geometries.

◆ DimensionLine

SeqOfCurves PrsDim_Dimension::SelectionGeometry::DimensionLine

Sequence of points for composing the segments of dimension line.

◆ IsComputed

Standard_Boolean PrsDim_Dimension::SelectionGeometry::IsComputed

Shows if the selection geometry was filled.

◆ TextDir

gp_Dir PrsDim_Dimension::SelectionGeometry::TextDir

Direction of text label.

◆ TextHeight

Standard_Real PrsDim_Dimension::SelectionGeometry::TextHeight

Height of text label.

◆ TextPos

gp_Pnt PrsDim_Dimension::SelectionGeometry::TextPos

Center of text label.

◆ TextWidth

Standard_Real PrsDim_Dimension::SelectionGeometry::TextWidth

Width of text label.


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