Open CASCADE Technology  6.9.0
Public Member Functions

IGESDimen_NewGeneralNote Class Reference

defines NewGeneralNote, Type <213> Form <0> in package IGESDimen Further attributes for formatting text strings More...

#include <IGESDimen_NewGeneralNote.hxx>

Inheritance diagram for IGESDimen_NewGeneralNote:
Inheritance graph
[legend]

Public Member Functions

 IGESDimen_NewGeneralNote ()
 
void Init (const Standard_Real width, const Standard_Real height, const Standard_Integer justifyCode, const gp_XYZ &areaLoc, const Standard_Real areaRotationAngle, const gp_XYZ &baseLinePos, const Standard_Real normalInterlineSpace, const Handle< TColStd_HArray1OfInteger > &charDisplays, const Handle< TColStd_HArray1OfReal > &charWidths, const Handle< TColStd_HArray1OfReal > &charHeights, const Handle< TColStd_HArray1OfReal > &interCharSpc, const Handle< TColStd_HArray1OfReal > &interLineSpc, const Handle< TColStd_HArray1OfInteger > &fontStyles, const Handle< TColStd_HArray1OfReal > &charAngles, const Handle< Interface_HArray1OfHAsciiString > &controlCodeStrings, const Handle< TColStd_HArray1OfInteger > &nbChars, const Handle< TColStd_HArray1OfReal > &boxWidths, const Handle< TColStd_HArray1OfReal > &boxHeights, const Handle< TColStd_HArray1OfInteger > &charSetCodes, const Handle< IGESData_HArray1OfIGESEntity > &charSetEntities, const Handle< TColStd_HArray1OfReal > &slAngles, const Handle< TColStd_HArray1OfReal > &rotAngles, const Handle< TColStd_HArray1OfInteger > &mirrorFlags, const Handle< TColStd_HArray1OfInteger > &rotateFlags, const Handle< TColgp_HArray1OfXYZ > &startPoints, const Handle< Interface_HArray1OfHAsciiString > &texts)
 This method is used to set the fields of the class NewGeneralNote. More...
 
Standard_Real TextWidth () const
 returns width of text containment area of all strings in the note More...
 
Standard_Real TextHeight () const
 returns height of text containment area of all strings in the note More...
 
Standard_Integer JustifyCode () const
 returns Justification code of all strings within the note 0 = no justification 1 = right justified 2 = center justified 3 = left justified More...
 
gp_Pnt AreaLocation () const
 returns Text containment area Location point More...
 
gp_Pnt TransformedAreaLocation () const
 returns Text containment area Location point after Transformation More...
 
Standard_Real ZDepthAreaLocation () const
 returns distance from the containment area plane More...
 
Standard_Real AreaRotationAngle () const
 returns rotation angle of text containment area in radians More...
 
gp_Pnt BaseLinePosition () const
 returns position of first base line More...
 
gp_Pnt TransformedBaseLinePosition () const
 returns position of first base line after Transformation More...
 
Standard_Real ZDepthBaseLinePosition () const
 returns distance from the Base line position plane More...
 
Standard_Real NormalInterlineSpace () const
 returns Normal Interline Spacing More...
 
Standard_Integer NbStrings () const
 returns number of text HAsciiStrings More...
 
Standard_Integer CharacterDisplay (const Standard_Integer Index) const
 returns Fixed/Variable width character display of string 0 = Fixed 1 = Variable raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Boolean IsVariable (const Standard_Integer Index) const
 returns False if Character display width is Fixed optional method, if required raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real CharacterWidth (const Standard_Integer Index) const
 returns Character Width of string raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real CharacterHeight (const Standard_Integer Index) const
 returns Character Height of string raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real InterCharacterSpace (const Standard_Integer Index) const
 returns Inter-character spacing of string raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real InterlineSpace (const Standard_Integer Index) const
 returns Interline spacing of string raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Integer FontStyle (const Standard_Integer Index) const
 returns FontStyle of string raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real CharacterAngle (const Standard_Integer Index) const
 returns CharacterAngle of string Angle returned will be between 0 and 2PI raises exception if Index <= 0 or Index > NbStrings() More...
 
Handle< TCollection_HAsciiStringControlCodeString (const Standard_Integer Index) const
 returns ControlCodeString of string raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Integer NbCharacters (const Standard_Integer Index) const
 returns number of characters in string or zero raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real BoxWidth (const Standard_Integer Index) const
 returns Box width of string raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real BoxHeight (const Standard_Integer Index) const
 returns Box height of string raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Boolean IsCharSetEntity (const Standard_Integer Index) const
 returns False if Value, True if Pointer (Entity) raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Integer CharSetCode (const Standard_Integer Index) const
 returns Character Set Interpretation (default = 1) of string returns 0 if IsCharSetEntity () is True 1 = Standard ASCII 1001 = Symbol Font1 1002 = Symbol Font2 1003 = Symbol Font3 raises exception if Index <= 0 or Index > NbStrings() More...
 
Handle< IGESData_IGESEntityCharSetEntity (const Standard_Integer Index) const
 returns Character Set Interpretation of string returns a Null Handle if IsCharSetEntity () is False raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real SlantAngle (const Standard_Integer Index) const
 returns Slant angle of string in radians default value = PI/2 raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real RotationAngle (const Standard_Integer Index) const
 returns Rotation angle of string in radians raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Integer MirrorFlag (const Standard_Integer Index) const
 returns Mirror Flag of string 0 = no mirroring 1 = mirror axis is perpendicular to the text base line 2 = mirror axis is text base line raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Boolean IsMirrored (const Standard_Integer Index) const
 returns False if MirrorFlag = 0. ie. no mirroring else returns True raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Integer RotateFlag (const Standard_Integer Index) const
 returns Rotate internal text Flag of string 0 = text horizontal 1 = text vertical raises exception if Index <= 0 or Index > NbStrings() More...
 
gp_Pnt StartPoint (const Standard_Integer Index) const
 returns text start point of string raises exception if Index <= 0 or Index > NbStrings() More...
 
gp_Pnt TransformedStartPoint (const Standard_Integer Index) const
 returns text start point of string after Transformation raises exception if Index <= 0 or Index > NbStrings() More...
 
Standard_Real ZDepthStartPoint (const Standard_Integer Index) const
 returns distance from the start point plane raises exception if Index <= 0 or Index > NbStrings() More...
 
Handle< TCollection_HAsciiStringText (const Standard_Integer Index) const
 returns text string raises exception if Index <= 0 or Index > NbStrings() More...
 
- Public Member Functions inherited from IGESData_IGESEntity
IGESData_IGESType IGESType () const
 gives IGES typing info (includes "Type" and "Form" data) More...
 
Standard_Integer TypeNumber () const
 gives IGES Type Number (often coupled with Form Number) More...
 
Standard_Integer FormNumber () const
 Returns the form number for that type of an IGES entity. The default form number is 0. More...
 
Handle< IGESData_IGESEntityDirFieldEntity (const Standard_Integer fieldnum) const
 Returns the Entity which has been recorded for a given Field Number, i.e. without any cast. Maps with : 3 : Structure 4 : LineFont 5 : LevelList 6 : View 7 : Transf(ormation Matrix) 8 : LabelDisplay 13 : Color. Other values give a null handle It can then be of any kind, while specific items have a Type. More...
 
Standard_Boolean HasStructure () const
 returns True if an IGESEntity is defined with a Structure (it is normally reserved for certain classes, such as Macros) More...
 
Handle< IGESData_IGESEntityStructure () const
 Returns Structure (used by some types of IGES Entities only) Returns a Null Handle if Structure is not defined. More...
 
virtual IGESData_DefType DefLineFont () const
 Returns the definition status of LineFont. More...
 
Standard_Integer RankLineFont () const
 Returns LineFont definition as an Integer (if defined as Rank) If LineFont is defined as an Entity, returns a negative value. More...
 
Handle< IGESData_LineFontEntityLineFont () const
 Returns LineFont as an Entity (if defined as Reference) Returns a Null Handle if DefLineFont is not "DefReference". More...
 
virtual IGESData_DefList DefLevel () const
 Returns the definition status of Level. More...
 
Standard_Integer Level () const
 Returns the level the entity belongs to. Returns -1 if the entity belongs to more than one level. More...
 
Handle< IGESData_LevelListEntityLevelList () const
 Returns LevelList if Level is defined as a list. Returns a null handle if DefLevel is not DefSeveral. More...
 
virtual IGESData_DefList DefView () const
 Returns the definition status of the view. This can be: none, one or several. More...
 
Handle< IGESData_ViewKindEntityView () const
 Returns the view of this IGES entity. This view can be a single view or a list of views. Warning A null handle is returned if the view is not defined. More...
 
Handle< IGESData_ViewKindEntitySingleView () const
 Returns the view as a single view if it was defined as such and not as a list of views. Warning A null handle is returned if DefView does not have the value DefOne. More...
 
Handle< IGESData_ViewKindEntityViewList () const
 Returns the view of this IGES entity as a list. Warning A null handle is returned if the definition status does not have the value DefSeveral. More...
 
Standard_Boolean HasTransf () const
 Returns True if a Transformation Matrix is defined. More...
 
Handle< IGESData_TransfEntityTransf () const
 Returns the Transformation Matrix (under IGES definition) Returns a Null Handle if there is none for a more complete use, see Location & CompoundLocation. More...
 
Standard_Boolean HasLabelDisplay () const
 Returns True if a LabelDisplay mode is defined for this entity. More...
 
Handle
< IGESData_LabelDisplayEntity
LabelDisplay () const
 Returns the Label Display Associativity Entity if there is one. Returns a null handle if there is none. More...
 
Standard_Integer BlankStatus () const
 gives Blank Status (0 visible, 1 blanked) More...
 
Standard_Integer SubordinateStatus () const
 gives Subordinate Switch (0-1-2-3) More...
 
Standard_Integer UseFlag () const
 gives Entity's Use Flag (0 to 5) More...
 
Standard_Integer HierarchyStatus () const
 gives Hierarchy status (0-1-2) More...
 
Standard_Integer LineWeightNumber () const
 Returns the LineWeight Number (0 not defined), see also LineWeight. More...
 
Standard_Real LineWeight () const
 Returns the true Line Weight, computed from LineWeightNumber and Global Parameter in the Model by call to SetLineWeight. More...
 
virtual IGESData_DefType DefColor () const
 Returns the definition status of Color. More...
 
Standard_Integer RankColor () const
 Returns the color definition as an integer value if the color was defined as a rank. Warning A negative value is returned if the color was defined as an entity. More...
 
Handle< IGESData_ColorEntityColor () const
 Returns the IGES entity which describes the color of the entity. Returns a null handle if this entity was defined as an integer. More...
 
Standard_Boolean CResValues (const Standard_CString res1, const Standard_CString res2) const
 returns "reserved" alphanumeric values res1 and res2 res1 and res2 have to be reserved as Character[9 at least] (remark : their content is changed) returned values are ended by null character in 9th returned Boolean is False if res1 and res2 are blank, true else More...
 
Standard_Boolean HasShortLabel () const
 Returns true if a short label is defined. A short label is a non-blank 8-character string. More...
 
Handle< TCollection_HAsciiStringShortLabel () const
 Returns the label value for this IGES entity as a string. Warning If the label is blank, this string is null. More...
 
virtual Standard_Boolean HasSubScriptNumber () const
 Returns true if a subscript number is defined. A subscript number is an integer used to identify a label. More...
 
Standard_Integer SubScriptNumber () const
 Returns the integer subscript number used to identify this IGES entity. Warning 0 is returned if no subscript number is defined for this IGES entity. More...
 
void InitDirFieldEntity (const Standard_Integer fieldnum, const Handle< IGESData_IGESEntity > &ent)
 Initializes a directory field as an Entiy of any kind See DirFieldEntity for more details. More...
 
void InitTransf (const Handle< IGESData_TransfEntity > &ent)
 Initializes Transf, or erases it if <ent> is given Null. More...
 
void InitView (const Handle< IGESData_ViewKindEntity > &ent)
 Initializes View, or erases it if <ent> is given Null. More...
 
void InitLineFont (const Handle< IGESData_LineFontEntity > &ent, const Standard_Integer rank=0)
 Initializes LineFont : if <ent> is not Null, it gives LineFont, else <rank> gives or erases (if zero) RankLineFont. More...
 
void InitLevel (const Handle< IGESData_LevelListEntity > &ent, const Standard_Integer val=0)
 Initializes Level : if <ent> is not Null, it gives LevelList, else <val> gives or erases (if zero) unique Level. More...
 
void InitColor (const Handle< IGESData_ColorEntity > &ent, const Standard_Integer rank=0)
 Initializes Color data : if <ent> is not Null, it gives Color, else <rank> gives or erases (if zero) RankColor. More...
 
void InitStatus (const Standard_Integer blank, const Standard_Integer subordinate, const Standard_Integer useflag, const Standard_Integer hierarchy)
 Initializes the Status of Directory Part. More...
 
void SetLabel (const Handle< TCollection_HAsciiString > &label, const Standard_Integer sub=-1)
 Sets a new Label to an IGES Entity If is given, it sets value of SubScriptNumber else, SubScriptNumber is erased. More...
 
void InitMisc (const Handle< IGESData_IGESEntity > &str, const Handle< IGESData_LabelDisplayEntity > &lab, const Standard_Integer weightnum)
 Initializes various data (those not yet seen above), or erases them if they are given as Null (Zero for <weightnum>) : <str> for Structure, <lab> for LabelDisplay, and <weightnum> for WeightNumber. More...
 
Standard_Boolean HasOneParent () const
 Returns True if an entity has one and only one parent, defined by a SingleParentEntity Type Associativity (explicit sharing). Thus, implicit sharing remains defined at model level (see class ToolLocation) More...
 
Handle< IGESData_IGESEntityUniqueParent () const
 Returns the Unique Parent (in the sense given by HasOneParent) Error if there is none or several. More...
 
gp_GTrsf Location () const
 Returns Location given by Transf in Directory Part (see above) It must be considered for local definition : if the Entity is set in a "Parent", that one can add its one Location, but this is not taken in account here : see CompoundLocation for that. If no Transf is defined, returns Identity If Transf is itself compound, gives the final result. More...
 
gp_GTrsf VectorLocation () const
 Returns Location considered for Vectors, i.e. without its Translation Part. As Location, it gives local definition. More...
 
gp_GTrsf CompoundLocation () const
 Returns Location by taking in account a Parent which has its own Location : that one will be combined to that of <me> The Parent is considered only if HasOneParent is True, else it is ignored and CompoundLocation = Location. More...
 
Standard_Boolean HasName () const
 says if a Name is defined, as Short Label or as Name Property (Property is looked first, else ShortLabel is considered) More...
 
Handle< TCollection_HAsciiStringNameValue () const
 returns Name value as a String (Property Name or ShortLabel) if SubNumber is defined, it is concatenated after ShortLabel as follows label(number). Ignored with a Property Name More...
 
Standard_Boolean ArePresentAssociativities () const
 Returns True if the Entity is defined with an Associativity list, even empty (that is, file contains its length 0) Else, the file contained NO idencation at all about this list. More...
 
Standard_Integer NbAssociativities () const
 gives number of recorded associativities (0 no list defined) More...
 
Interface_EntityIterator Associativities () const
 Returns the Associativity List under the form of an EntityIterator. More...
 
Standard_Integer NbTypedAssociativities (const Handle< Standard_Type > &atype) const
 gives how many Associativities have a given type More...
 
Handle< IGESData_IGESEntityTypedAssociativity (const Handle< Standard_Type > &atype) const
 returns the Associativity of a given Type (if only one exists) Error if none or more than one More...
 
void Associate (const Handle< IGESData_IGESEntity > &ent) const
 Sets "me" in the Associativity list of another Entity. More...
 
void Dissociate (const Handle< IGESData_IGESEntity > &ent) const
 Resets "me" from the Associativity list of another Entity. More...
 
Standard_Boolean ArePresentProperties () const
 Returns True if the Entity is defined with a Property list, even empty (that is, file contains its length 0) Else, the file contained NO idencation at all about this list. More...
 
Standard_Integer NbProperties () const
 Gives number of recorded properties (0 no list defined) More...
 
Interface_EntityIterator Properties () const
 Returns Property List under the form of an EntityIterator. More...
 
Standard_Integer NbTypedProperties (const Handle< Standard_Type > &atype) const
 gives how many Properties have a given type More...
 
Handle< IGESData_IGESEntityTypedProperty (const Handle< Standard_Type > &atype, const Standard_Integer anum=0) const
 returns the Property of a given Type Error if none or more than one More...
 
void AddProperty (const Handle< IGESData_IGESEntity > &ent)
 Adds a Property in the list. More...
 
void RemoveProperty (const Handle< IGESData_IGESEntity > &ent)
 Removes a Property from the list. More...
 
void SetLineWeight (const Standard_Real defw, const Standard_Real maxw, const Standard_Integer gradw)
 computes and sets "true" line weight according IGES rules from global data MaxLineWeight (maxv) and LineWeightGrad (gradw), or sets it to defw (Default) if LineWeightNumber is null More...
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IGESData_IGESEntity
 IGESData_IGESEntity ()
 prepares lists of optionnal data, set values to defaults More...
 
void InitTypeAndForm (const Standard_Integer typenum, const Standard_Integer formnum)
 Initializes Type and Form Numbers to new values. Reserved for special uses. More...
 
void LoadAssociativities (const Interface_EntityList &list)
 Loads a complete, already loaded, List of Asociativities (used during Read or Copy Operations) More...
 
void LoadProperties (const Interface_EntityList &list)
 Loads a complete, already loaded, List of Properties (used during Read or Copy Operations) More...
 
void ClearProperties ()
 Removes all properties in once. More...
 

Detailed Description

defines NewGeneralNote, Type <213> Form <0> in package IGESDimen Further attributes for formatting text strings

Constructor & Destructor Documentation

IGESDimen_NewGeneralNote::IGESDimen_NewGeneralNote ( )

Member Function Documentation

gp_Pnt IGESDimen_NewGeneralNote::AreaLocation ( ) const

returns Text containment area Location point

Standard_Real IGESDimen_NewGeneralNote::AreaRotationAngle ( ) const

returns rotation angle of text containment area in radians

gp_Pnt IGESDimen_NewGeneralNote::BaseLinePosition ( ) const

returns position of first base line

Standard_Real IGESDimen_NewGeneralNote::BoxHeight ( const Standard_Integer  Index) const

returns Box height of string raises exception if Index <= 0 or Index > NbStrings()

Standard_Real IGESDimen_NewGeneralNote::BoxWidth ( const Standard_Integer  Index) const

returns Box width of string raises exception if Index <= 0 or Index > NbStrings()

Standard_Real IGESDimen_NewGeneralNote::CharacterAngle ( const Standard_Integer  Index) const

returns CharacterAngle of string Angle returned will be between 0 and 2PI raises exception if Index <= 0 or Index > NbStrings()

Standard_Integer IGESDimen_NewGeneralNote::CharacterDisplay ( const Standard_Integer  Index) const

returns Fixed/Variable width character display of string 0 = Fixed 1 = Variable raises exception if Index <= 0 or Index > NbStrings()

Standard_Real IGESDimen_NewGeneralNote::CharacterHeight ( const Standard_Integer  Index) const

returns Character Height of string raises exception if Index <= 0 or Index > NbStrings()

Standard_Real IGESDimen_NewGeneralNote::CharacterWidth ( const Standard_Integer  Index) const

returns Character Width of string raises exception if Index <= 0 or Index > NbStrings()

Standard_Integer IGESDimen_NewGeneralNote::CharSetCode ( const Standard_Integer  Index) const

returns Character Set Interpretation (default = 1) of string returns 0 if IsCharSetEntity () is True 1 = Standard ASCII 1001 = Symbol Font1 1002 = Symbol Font2 1003 = Symbol Font3 raises exception if Index <= 0 or Index > NbStrings()

Handle< IGESData_IGESEntity > IGESDimen_NewGeneralNote::CharSetEntity ( const Standard_Integer  Index) const

returns Character Set Interpretation of string returns a Null Handle if IsCharSetEntity () is False raises exception if Index <= 0 or Index > NbStrings()

Handle< TCollection_HAsciiString > IGESDimen_NewGeneralNote::ControlCodeString ( const Standard_Integer  Index) const

returns ControlCodeString of string raises exception if Index <= 0 or Index > NbStrings()

Standard_Integer IGESDimen_NewGeneralNote::FontStyle ( const Standard_Integer  Index) const

returns FontStyle of string raises exception if Index <= 0 or Index > NbStrings()

void IGESDimen_NewGeneralNote::Init ( const Standard_Real  width,
const Standard_Real  height,
const Standard_Integer  justifyCode,
const gp_XYZ areaLoc,
const Standard_Real  areaRotationAngle,
const gp_XYZ baseLinePos,
const Standard_Real  normalInterlineSpace,
const Handle< TColStd_HArray1OfInteger > &  charDisplays,
const Handle< TColStd_HArray1OfReal > &  charWidths,
const Handle< TColStd_HArray1OfReal > &  charHeights,
const Handle< TColStd_HArray1OfReal > &  interCharSpc,
const Handle< TColStd_HArray1OfReal > &  interLineSpc,
const Handle< TColStd_HArray1OfInteger > &  fontStyles,
const Handle< TColStd_HArray1OfReal > &  charAngles,
const Handle< Interface_HArray1OfHAsciiString > &  controlCodeStrings,
const Handle< TColStd_HArray1OfInteger > &  nbChars,
const Handle< TColStd_HArray1OfReal > &  boxWidths,
const Handle< TColStd_HArray1OfReal > &  boxHeights,
const Handle< TColStd_HArray1OfInteger > &  charSetCodes,
const Handle< IGESData_HArray1OfIGESEntity > &  charSetEntities,
const Handle< TColStd_HArray1OfReal > &  slAngles,
const Handle< TColStd_HArray1OfReal > &  rotAngles,
const Handle< TColStd_HArray1OfInteger > &  mirrorFlags,
const Handle< TColStd_HArray1OfInteger > &  rotateFlags,
const Handle< TColgp_HArray1OfXYZ > &  startPoints,
const Handle< Interface_HArray1OfHAsciiString > &  texts 
)

This method is used to set the fields of the class NewGeneralNote.

  • width : Width of text containment area
  • height : Height of text containment area
  • justifyCode : Justification code
  • areaLoc : Text containment area location
  • areaRotationAngle : Text containment area rotation
  • baseLinePos : Base line position
  • normalInterlineSpace : Normal interline spacing
  • charDisplays : Character display type
  • charWidths : Character width
  • charHeights : Character height
  • interCharSpc : Intercharacter spacing
  • interLineSpc : Interline spacing
  • fontStyles : Font style
  • charAngles : Character angle
  • controlCodeStrings : Control Code string
  • nbChars : Number of characters in string
  • boxWidths : Box width
  • boxHeights : Box height
  • charSetCodes : Character Set Interpretation
  • charSetEntities : Character Set Font
  • slAngles : Slant angle of text in radians
  • rotAngles : Rotation angle of text in radians
  • mirrorFlags : Type of mirroring
  • rotateFlags : Rotate internal text flag
  • startPoints : Text start point
  • texts : Text strings raises exception if there is mismatch between the various Array Lengths.
Standard_Real IGESDimen_NewGeneralNote::InterCharacterSpace ( const Standard_Integer  Index) const

returns Inter-character spacing of string raises exception if Index <= 0 or Index > NbStrings()

Standard_Real IGESDimen_NewGeneralNote::InterlineSpace ( const Standard_Integer  Index) const

returns Interline spacing of string raises exception if Index <= 0 or Index > NbStrings()

Standard_Boolean IGESDimen_NewGeneralNote::IsCharSetEntity ( const Standard_Integer  Index) const

returns False if Value, True if Pointer (Entity) raises exception if Index <= 0 or Index > NbStrings()

Standard_Boolean IGESDimen_NewGeneralNote::IsMirrored ( const Standard_Integer  Index) const

returns False if MirrorFlag = 0. ie. no mirroring else returns True raises exception if Index <= 0 or Index > NbStrings()

Standard_Boolean IGESDimen_NewGeneralNote::IsVariable ( const Standard_Integer  Index) const

returns False if Character display width is Fixed optional method, if required raises exception if Index <= 0 or Index > NbStrings()

Standard_Integer IGESDimen_NewGeneralNote::JustifyCode ( ) const

returns Justification code of all strings within the note 0 = no justification 1 = right justified 2 = center justified 3 = left justified

Standard_Integer IGESDimen_NewGeneralNote::MirrorFlag ( const Standard_Integer  Index) const

returns Mirror Flag of string 0 = no mirroring 1 = mirror axis is perpendicular to the text base line 2 = mirror axis is text base line raises exception if Index <= 0 or Index > NbStrings()

Standard_Integer IGESDimen_NewGeneralNote::NbCharacters ( const Standard_Integer  Index) const

returns number of characters in string or zero raises exception if Index <= 0 or Index > NbStrings()

Standard_Integer IGESDimen_NewGeneralNote::NbStrings ( ) const

returns number of text HAsciiStrings

Standard_Real IGESDimen_NewGeneralNote::NormalInterlineSpace ( ) const

returns Normal Interline Spacing

Standard_Integer IGESDimen_NewGeneralNote::RotateFlag ( const Standard_Integer  Index) const

returns Rotate internal text Flag of string 0 = text horizontal 1 = text vertical raises exception if Index <= 0 or Index > NbStrings()

Standard_Real IGESDimen_NewGeneralNote::RotationAngle ( const Standard_Integer  Index) const

returns Rotation angle of string in radians raises exception if Index <= 0 or Index > NbStrings()

Standard_Real IGESDimen_NewGeneralNote::SlantAngle ( const Standard_Integer  Index) const

returns Slant angle of string in radians default value = PI/2 raises exception if Index <= 0 or Index > NbStrings()

gp_Pnt IGESDimen_NewGeneralNote::StartPoint ( const Standard_Integer  Index) const

returns text start point of string raises exception if Index <= 0 or Index > NbStrings()

Handle< TCollection_HAsciiString > IGESDimen_NewGeneralNote::Text ( const Standard_Integer  Index) const

returns text string raises exception if Index <= 0 or Index > NbStrings()

Standard_Real IGESDimen_NewGeneralNote::TextHeight ( ) const

returns height of text containment area of all strings in the note

Standard_Real IGESDimen_NewGeneralNote::TextWidth ( ) const

returns width of text containment area of all strings in the note

gp_Pnt IGESDimen_NewGeneralNote::TransformedAreaLocation ( ) const

returns Text containment area Location point after Transformation

gp_Pnt IGESDimen_NewGeneralNote::TransformedBaseLinePosition ( ) const

returns position of first base line after Transformation

gp_Pnt IGESDimen_NewGeneralNote::TransformedStartPoint ( const Standard_Integer  Index) const

returns text start point of string after Transformation raises exception if Index <= 0 or Index > NbStrings()

Standard_Real IGESDimen_NewGeneralNote::ZDepthAreaLocation ( ) const

returns distance from the containment area plane

Standard_Real IGESDimen_NewGeneralNote::ZDepthBaseLinePosition ( ) const

returns distance from the Base line position plane

Standard_Real IGESDimen_NewGeneralNote::ZDepthStartPoint ( const Standard_Integer  Index) const

returns distance from the start point plane raises exception if Index <= 0 or Index > NbStrings()


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