Open CASCADE Technology 6.6.0
Public Member Functions
IGESDimen_FlagNote Class Reference

defines FlagNote, Type <208> Form <0>
in package IGESDimen
Is label information formatted in different ways

#include <IGESDimen_FlagNote.hxx>

Inheritance diagram for IGESDimen_FlagNote:
Inheritance graph
[legend]

Public Member Functions

 IGESDimen_FlagNote ()
void Init (const gp_XYZ &leftCorner, const Standard_Real anAngle, const Handle< IGESDimen_GeneralNote > &aNote, const Handle< IGESDimen_HArray1OfLeaderArrow > &someLeaders)
 This method is used to set the fields of the class
FlagNote

gp_Pnt LowerLeftCorner () const
 returns Lower Left coordinate of Flag as Pnt from package gp

gp_Pnt TransformedLowerLeftCorner () const
 returns Lower Left coordinate of Flag as Pnt from package gp
after Transformation.

Standard_Real Angle () const
 returns Rotation angle in radians

Handle_IGESDimen_GeneralNote Note () const
 returns General Note Entity

Standard_Integer NbLeaders () const
 returns number of Arrows (Leaders) or zero

Handle_IGESDimen_LeaderArrow Leader (const Standard_Integer Index) const
 returns Leader Entity
raises exception if Index <= 0 or Index > NbLeaders()

Standard_Real Height () const
 returns Height computed by the formula :
Height = 2 * CH where CH is from theNote

Standard_Real CharacterHeight () const
 returns the Character Height (from General Note)

Standard_Real Length () const
 returns Length computed by the formula :
Length = TW + 0.4*CH where CH is from theNote
and TW is from theNote

Standard_Real TextWidth () const
 returns the Text Width (from General Note)

Standard_Real TipLength () const
 returns TipLength computed by the formula :
TipLength = 0.5 * H / tan 35(deg) where H is Height()


Constructor & Destructor Documentation

IGESDimen_FlagNote::IGESDimen_FlagNote ( )

Member Function Documentation

Standard_Real IGESDimen_FlagNote::Angle ( ) const
Standard_Real IGESDimen_FlagNote::CharacterHeight ( ) const
Standard_Real IGESDimen_FlagNote::Height ( ) const
void IGESDimen_FlagNote::Init ( const gp_XYZ leftCorner,
const Standard_Real  anAngle,
const Handle< IGESDimen_GeneralNote > &  aNote,
const Handle< IGESDimen_HArray1OfLeaderArrow > &  someLeaders 
)
  • leftCorner : Lower left corner of the Flag
  • anAngle : Rotation angle in radians
  • aNote : General Note Entity
  • someLeaders : Leader Entities
Handle_IGESDimen_LeaderArrow IGESDimen_FlagNote::Leader ( const Standard_Integer  Index) const
Standard_Real IGESDimen_FlagNote::Length ( ) const
gp_Pnt IGESDimen_FlagNote::LowerLeftCorner ( ) const
Standard_Integer IGESDimen_FlagNote::NbLeaders ( ) const
Handle_IGESDimen_GeneralNote IGESDimen_FlagNote::Note ( ) const
Standard_Real IGESDimen_FlagNote::TextWidth ( ) const
Standard_Real IGESDimen_FlagNote::TipLength ( ) const
gp_Pnt IGESDimen_FlagNote::TransformedLowerLeftCorner ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines