Open CASCADE Technology 6.6.0
|
defines LeaderArrow, Type <214> Form <1-12>
in package IGESDimen
Consists of one or more line segments except when
leader is part of an angular dimension, with links to
presumed text item
#include <IGESDimen_LeaderArrow.hxx>
Public Member Functions | |
IGESDimen_LeaderArrow () | |
void | Init (const Standard_Real height, const Standard_Real width, const Standard_Real depth, const gp_XY &position, const Handle< TColgp_HArray1OfXY > &segments) |
This method is used to set the fields of the class LeaderArrow | |
void | SetFormNumber (const Standard_Integer form) |
Changes FormNumber (indicates the Shape of the Arrow) Error if not in range [0-12] | |
Standard_Integer | NbSegments () const |
returns number of segments | |
Standard_Real | ArrowHeadHeight () const |
returns ArrowHead height | |
Standard_Real | ArrowHeadWidth () const |
returns ArrowHead width | |
Standard_Real | ZDepth () const |
returns Z depth | |
gp_Pnt2d | ArrowHead () const |
returns ArrowHead co-ordinates | |
gp_Pnt | TransformedArrowHead () const |
returns ArrowHead co-ordinates after Transformation | |
gp_Pnt2d | SegmentTail (const Standard_Integer Index) const |
returns segment tail co-ordinates. raises exception if Index <= 0 or Index > NbSegments | |
gp_Pnt | TransformedSegmentTail (const Standard_Integer Index) const |
returns segment tail co-ordinates after Transformation. raises exception if Index <= 0 or Index > NbSegments |
IGESDimen_LeaderArrow::IGESDimen_LeaderArrow | ( | ) |
gp_Pnt2d IGESDimen_LeaderArrow::ArrowHead | ( | ) | const |
Standard_Real IGESDimen_LeaderArrow::ArrowHeadHeight | ( | ) | const |
Standard_Real IGESDimen_LeaderArrow::ArrowHeadWidth | ( | ) | const |
void IGESDimen_LeaderArrow::Init | ( | const Standard_Real | height, |
const Standard_Real | width, | ||
const Standard_Real | depth, | ||
const gp_XY & | position, | ||
const Handle< TColgp_HArray1OfXY > & | segments | ||
) |
Standard_Integer IGESDimen_LeaderArrow::NbSegments | ( | ) | const |
gp_Pnt2d IGESDimen_LeaderArrow::SegmentTail | ( | const Standard_Integer | Index | ) | const |
void IGESDimen_LeaderArrow::SetFormNumber | ( | const Standard_Integer | form | ) |
gp_Pnt IGESDimen_LeaderArrow::TransformedArrowHead | ( | ) | const |
gp_Pnt IGESDimen_LeaderArrow::TransformedSegmentTail | ( | const Standard_Integer | Index | ) | const |
Standard_Real IGESDimen_LeaderArrow::ZDepth | ( | ) | const |