Open CASCADE Technology 7.8.2.dev
|
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_Pnt > | Curve |
typedef NCollection_Handle< Curve > | HCurve |
typedef NCollection_Handle< Arrow > | HArrow |
typedef NCollection_Sequence< HCurve > | SeqOfCurves |
typedef NCollection_Sequence< HArrow > | SeqOfArrows |
Public Member Functions | |
void | Clear (const Standard_Integer theMode) |
Clear geometry of sensitives for the specified compute mode. | |
Curve & | NewCurve () |
Add new curve entry and return the reference to populate it. | |
Arrow & | NewArrow () |
Add new arrow entry and return the reference to populate it. | |
Data Fields | |
gp_Pnt | TextPos |
Center of text label. | |
gp_Dir | TextDir |
Direction of text label. | |
Standard_Real | TextWidth |
Width of text label. | |
Standard_Real | TextHeight |
Height of text label. | |
SeqOfCurves | DimensionLine |
Sequence of points for composing the segments of dimension line. | |
SeqOfArrows | Arrows |
Sequence of arrow geometries. | |
Standard_Boolean | IsComputed |
Shows if the selection geometry was filled. | |
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.
|
inline |
Clear geometry of sensitives for the specified compute mode.
theMode | [in] the compute mode to clear. |
|
inline |
Add new arrow entry and return the reference to populate it.
|
inline |
Add new curve entry and return the reference to populate it.
SeqOfArrows PrsDim_Dimension::SelectionGeometry::Arrows |
Sequence of arrow geometries.
SeqOfCurves PrsDim_Dimension::SelectionGeometry::DimensionLine |
Sequence of points for composing the segments of dimension line.
Standard_Boolean PrsDim_Dimension::SelectionGeometry::IsComputed |
Shows if the selection geometry was filled.
gp_Dir PrsDim_Dimension::SelectionGeometry::TextDir |
Direction of text label.
Standard_Real PrsDim_Dimension::SelectionGeometry::TextHeight |
Height of text label.
gp_Pnt PrsDim_Dimension::SelectionGeometry::TextPos |
Center of text label.
Standard_Real PrsDim_Dimension::SelectionGeometry::TextWidth |
Width of text label.