Open CASCADE Technology
6.5.4
|
defines General Symbol, Type <228>, Form <0-3,5001-9999>
in package IGESDimen
Consists of zero or one (Form 0) or one (all other
forms), one or more geometry entities which define
a symbol, and zero, one or more associated leaders.
#include <IGESDimen_GeneralSymbol.hxx>
Public Member Functions | |
IGESDimen_GeneralSymbol () | |
void | Init (const Handle< IGESDimen_GeneralNote > &aNote, const Handle< IGESData_HArray1OfIGESEntity > &allGeoms, const Handle< IGESDimen_HArray1OfLeaderArrow > &allLeaders) |
This method is used to set the fields of the class GeneralSymbol | |
void | SetFormNumber (const Standard_Integer form) |
Changes FormNumber (indicates the Nature of the Symbole) Error if not in ranges [0-3] or [> 5000] | |
Standard_Boolean | HasNote () const |
returns True if there is associated General Note Entity | |
Handle_IGESDimen_GeneralNote | Note () const |
returns Null handle for form 0 only | |
Standard_Integer | NbGeomEntities () const |
returns number of Geometry Entities | |
Handle_IGESData_IGESEntity | GeomEntity (const Standard_Integer Index) const |
returns the Index'th Geometry Entity raises exception if Index <= 0 or Index > NbGeomEntities() | |
Standard_Integer | NbLeaders () const |
returns number of Leaders or zero if not specified | |
Handle_IGESDimen_LeaderArrow | LeaderArrow (const Standard_Integer Index) const |
returns the Index'th Leader Arrow raises exception if Index <= 0 or Index > NbLeaders() |
Handle_IGESData_IGESEntity IGESDimen_GeneralSymbol::GeomEntity | ( | const Standard_Integer | Index | ) | const |
void IGESDimen_GeneralSymbol::Init | ( | const Handle< IGESDimen_GeneralNote > & | aNote, |
const Handle< IGESData_HArray1OfIGESEntity > & | allGeoms, | ||
const Handle< IGESDimen_HArray1OfLeaderArrow > & | allLeaders | ||
) |
Handle_IGESDimen_LeaderArrow IGESDimen_GeneralSymbol::LeaderArrow | ( | const Standard_Integer | Index | ) | const |
Handle_IGESDimen_GeneralNote IGESDimen_GeneralSymbol::Note | ( | ) | const |