Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IGESDimen_LeaderArrow Class Reference

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>

Inheritance diagram for IGESDimen_LeaderArrow:
Inheritance graph
[legend]

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


Constructor & Destructor Documentation


Member Function Documentation

  • height : ArrowHead height
  • width : ArrowHead width
  • depth : Z Depth
  • position : ArrowHead coordinates
  • segments : Segment tail coordinate pairs

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