IGESDimen
OCCT package IGESDimen: IGESDimen, IGESDimen_AngularDimension, IGESDimen_BasicDimension, IGESDimen_CenterLine, and 47 more bound classes.
IGESDimen
This package represents Entities applied to Dimensions ie. Annotation Entities and attached Properties and Associativities.
Constructors(1)
Static methods(2)
- Init(): void
Prepares dynamic data (Protocol, Modules) for this package.
Returns the Protocol for this Package.
IGESDimen_AngularDimension
defines AngularDimension, Type <202> Form <0> in package IGESDimen Used to dimension angles
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(12)
- Init(aNote: IGESDimen_GeneralNote, aLine: IGESDimen_WitnessLine, anotherLine: IGESDimen_WitnessLine, aVertex: gp_XY, aRadius: number, aLeader: IGESDimen_LeaderArrow, anotherLeader: IGESDimen_LeaderArrow): void
This method is used to set the fields of the class AngularDimension.
- aNote : General Note Entity
- aLine : First Witness Line Entity or Null Handle
- anotherLine : Second Witness Line Entity or Null Handle
- aVertex : Coordinates of vertex point
- aRadius : Radius of leader arcs
- aLeader : First Leader Entity
- anotherLeader : Second Leader Entity
Parameters (7)aNoteaLineanotherLineaVertexaRadiusaLeaderanotherLeader
returns the General Note Entity of the Dimension.
- HasFirstWitnessLine(): boolean
returns False if theFirstWitnessLine is Null Handle.
returns the First Witness Line Entity or Null Handle.
- HasSecondWitnessLine(): boolean
returns False if theSecondWitnessLine is Null Handle.
returns the Second Witness Line Entity or Null Handle.
returns the coordinates of the Vertex point as Pnt2d from gp.
returns the coordinates of the Vertex point as Pnt2d from gp after Transformation. (Z = 0.0 for Transformation)
- Radius(): number
returns the Radius of the Leader arcs.
returns the First Leader Entity.
returns the Second Leader Entity.
IGESDimen_BasicDimension
Defines IGES Basic Dimension, Type 406, Form 31, in package IGESDimen The basic Dimension Property indicates that the referencing dimension entity is to be displayed with a box around text.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(7)
- Init(nbPropVal: number, lowerLeft: gp_XY, lowerRight: gp_XY, upperRight: gp_XY, upperLeft: gp_XY): voidParameters (5)
nbPropVallowerLeftlowerRightupperRightupperLeft
- NbPropertyValues(): number
returns the number of properties = 8
returns coordinates of lower left corner
returns coordinates of lower right corner
returns coordinates of upper right corner
returns coordinates of upper left corner
IGESDimen_CenterLine
defines CenterLine, Type <106> Form <20-21> in package IGESDimen Is an entity appearing as crosshairs or as a construction between 2 positions
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(9)
- Init(aDataType: number, aZdisp: number, dataPnts: NCollection_HArray1_gp_XY): void
This method is used to set the fields of the class CenterLine.
- aDataType : Interpretation Flag, always = 1
- aZDisplacement : Common z displacement
- dataPnts : Data points (x and y)
Parameters (3)aDataTypeaZdispdataPnts
- SetCrossHair(mode: boolean): void
Sets FormNumber to 20 if <mode> is True, 21 else.
Parameters (1)mode
- Datatype(): number
returns Interpretation Flag : IP = 1.
- NbPoints(): number
returns Number of Data Points.
- ZDisplacement(): number
returns Common Z displacement.
returns the data point as Pnt from gp. raises exception if Index <= 0 or Index >
NbPoints()Parameters (1)Index
- TransformedPoint(Index: number): gp_Pnt
returns the data point as Pnt from gp after Transformation. raises exception if Index <= 0 or Index >
NbPoints()Parameters (1)Index
- IsCrossHair(): boolean
returns True if Form is 20.
IGESDimen_CurveDimension
defines CurveDimension, Type <204> Form <0> in package IGESDimen Used to dimension curves Consists of one tail segment of nonzero length beginning with an arrowhead and which serves to define the orientation
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(12)
- Init(aNote: IGESDimen_GeneralNote, aCurve: IGESData_IGESEntity, anotherCurve: IGESData_IGESEntity, aLeader: IGESDimen_LeaderArrow, anotherLeader: IGESDimen_LeaderArrow, aLine: IGESDimen_WitnessLine, anotherLine: IGESDimen_WitnessLine): void
This method is used to set the fields of the class CurveDimension.
- aNote : General Note Entity
- aCurve : First Curve Entity
- anotherCurve : Second Curve Entity or a Null Handle
- aLeader : First Leader Entity
- anotherLeader : Second Leader Entity
- aLine : First Witness Line Entity or a Null Handle
- anotherLine : Second Witness Line Entity or a Null Handle
Parameters (7)aNoteaCurveanotherCurveaLeaderanotherLeaderaLineanotherLine
returns the General Note Entity
returns the First curve Entity
- HasSecondCurve(): boolean
returns False if theSecondCurve is a Null Handle.
returns the Second curve Entity or a Null Handle.
returns the First Leader Entity
returns the Second Leader Entity
- HasFirstWitnessLine(): boolean
returns False if theFirstWitnessLine is a Null Handle.
returns the First Witness Line Entity or a Null Handle.
- HasSecondWitnessLine(): boolean
returns False if theSecondWitnessLine is a Null Handle.
returns the Second Witness Line Entity or a Null Handle.
IGESDimen_DiameterDimension
defines DiameterDimension, Type <206> Form <0> in package IGESDimen Used for dimensioning diameters
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
- Init(aNote: IGESDimen_GeneralNote, aLeader: IGESDimen_LeaderArrow, anotherLeader: IGESDimen_LeaderArrow, aCenter: gp_XY): void
This method is used to set the fields of the class DiameterDimension.
- aNote : General Note Entity
- aLeader : First Leader Entity
- anotherLeader : Second Leader Entity or a Null Handle.
- aCenter : Arc center coordinates
Parameters (4)aNoteaLeaderanotherLeaderaCenter
returns the General Note Entity
returns the First Leader Entity
- HasSecondLeader(): boolean
returns False if theSecondleader is a Null Handle.
returns the Second Leader Entity
returns the Arc Center coordinates as Pnt2d from package gp
returns the Arc Center coordinates as Pnt2d from package gp after Transformation. (Z = 0.0 for Transformation)
IGESDimen_DimensionDisplayData
Defines IGES Dimension Display Data, Type <406> Form <30>, in package IGESDimen The Dimensional Display Data Property is optional but when present must be referenced by a dimension entity. The information it contains could be extracted from the text, leader and witness line data with difficulty.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(18)
- Init(numProps: number, aDimType: number, aLabelPos: number, aCharSet: number, aString: TCollection_HAsciiString, aSymbol: number, anAng: number, anAlign: number, aLevel: number, aPlace: number, anOrient: number, initVal: number, notes: NCollection_HArray1_int, startInd: NCollection_HArray1_int, endInd: NCollection_HArray1_int): voidParameters (15)
numPropsaDimTypeaLabelPosaCharSetaStringaSymbolanAnganAlignaLevelaPlaceanOrientinitValnotesstartIndendInd
- NbPropertyValues(): number
returns the number of property values (14)
- DimensionType(): number
returns the dimension type
- LabelPosition(): number
returns the preferred label position
- CharacterSet(): number
returns the character set interpretation
returns e.g., 8HDIAMETER
- DecimalSymbol(): number
- WitnessLineAngle(): number
returns the witness line angle in radians
- TextAlignment(): number
returns the text alignment
- TextLevel(): number
returns the text level
- TextPlacement(): number
returns the preferred text placement
- ArrowHeadOrientation(): number
returns the arrowhead orientation
- InitialValue(): number
returns the primary dimension initial value
- NbSupplementaryNotes(): number
returns the number of supplementary notes or zero
- SupplementaryNote(Index: number): number
returns the Index'th supplementary note raises exception if Index <= 0 or Index >
NbSupplementaryNotes()Parameters (1)Index
- StartIndex(Index: number): number
returns the Index'th note start index raises exception if Index <= 0 or Index >
NbSupplementaryNotes()Parameters (1)Index
- EndIndex(Index: number): number
returns the Index'th note end index raises exception if Index <= 0 or Index > NbSupplemetaryNotes()
Parameters (1)Index
IGESDimen_DimensionedGeometry
Defines IGES Dimensioned Geometry, Type <402> Form <13>, in package IGESDimen This entity has been replaced by the new form of Dimensioned Geometry Associativity Entity (Type 402, Form 21) and should no longer be used by preprocessors.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(6)
- Init(nbDims: number, aDimension: IGESData_IGESEntity, entities: NCollection_HArray1_handle_IGESData_IGESEntity): voidParameters (3)
nbDimsaDimensionentities
- NbDimensions(): number
returns the number of dimensions
- NbGeometryEntities(): number
returns the number of associated geometry entities
returns the Dimension entity
- GeometryEntity(Index: number): IGESData_IGESEntity
returns the num'th Geometry entity raises exception if Index <= 0 or Index >
NbGeometryEntities()Parameters (1)Index
IGESDimen_DimensionTolerance
defines Dimension Tolerance, Type <406>, Form <29> in package IGESDimen Provides tolerance information for a dimension which can be used by the receiving system to regenerate the dimension.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(11)
- Init(nbPropVal: number, aSecTolFlag: number, aTolType: number, aTolPlaceFlag: number, anUpperTol: number, aLowerTol: number, aSignFlag: boolean, aFracFlag: number, aPrecision: number): void
This method is used to set the fields of the class DimensionTolerance.
- nbPropVal : Number of property values, default = 8
- aSecTolFlag : Secondary Tolerance Flag 0 = Applies to primary dimension 1 = Applies to secondary dimension 2 = Display values as fractions
- aTolType : Tolerance Type 1 = Bilateral 2 = Upper/Lower 3 = Unilateral Upper 4 = Unilateral Lower 5 = Range - min before max 6 = Range - min after max 7 = Range - min above max 8 = Range - min below max 9 = Nominal + Range - min above max 10 = Nominal + Range - min below max
- aTolPlaceFlag : Tolerance Placement Flag 1 = Before nominal value 2 = After nominal value 3 = Above nominal value 4 = Below nominal value
- anUpperTol : Upper Tolerance
- aLowerTol : Lower Tolerance
- aSignFlag : Sign Suppression Flag
- aFracFlag : Fraction Flag 0 = Display values as decimal numbers 1 = Display values as mixed fractions 2 = Display values as fractions
- aPrecision :
PrecisionValue
Parameters (9)nbPropValaSecTolFlagaTolTypeaTolPlaceFlaganUpperTolaLowerTolaSignFlagaFracFlagaPrecision
- NbPropertyValues(): number
returns the number of property values, always = 8
- SecondaryToleranceFlag(): number
returns the Secondary Tolerance Flag
- ToleranceType(): number
returns the Tolerance Type
- TolerancePlacementFlag(): number
returns the Tolerance Placement Flag, default = 2
- UpperTolerance(): number
returns the Upper or Bilateral Tolerance Value
- LowerTolerance(): number
returns the Lower Tolerance Value
- SignSuppressionFlag(): boolean
returns the Sign Suppression Flag
- FractionFlag(): number
returns the Fraction Flag
- Precision(): number
returns the
Precisionfor Value Display
IGESDimen_DimensionUnits
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(9)
- Init(nbPropVal: number, aSecondPos: number, aUnitsInd: number, aCharSet: number, aFormat: TCollection_HAsciiString, aFracFlag: number, aPrecision: number): void
This method is used to set the fields of the class DimensionUnits.
- nbPropVal : Number of property values, always = 6
- aSecondPos : Secondary Dimension Position 0 = This is the main text 1 = Before primary dimension 2 = After primary dimension 3 = Above primary dimension 4 = Below primary dimension
- aUnitsInd :
UnitsIndicator - aCharSet : Character Set used
- aFormat : Format HAsciiString 1 =
StandardASCII 1001 = Symbol Font 1 1002 = Symbol Font 2 1003 = Drafting Font - aFracFlag : Fraction Flag 0 = Display values as decimal numbers 1 = Display values as fractions
- aPrecision :
PrecisionValue
Parameters (7)nbPropValaSecondPosaUnitsIndaCharSetaFormataFracFlagaPrecision
- NbPropertyValues(): number
returns the number of property values
- SecondaryDimenPosition(): number
returns position of secondary dimension w.r.t. primary dimension
- UnitsIndicator(): number
returns the units indicator
- CharacterSet(): number
returns the character set interpretation
returns the string used in formatting value
- FractionFlag(): number
returns the fraction flag
- PrecisionOrDenominator(): number
returns the precision/denominator number of decimal places when
FractionFlag()= 0 denominator of fraction whenFractionFlag()= 1
IGESDimen_FlagNote
defines FlagNote, Type <208> Form <0> in package IGESDimen Is label information formatted in different ways
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(13)
- Init(leftCorner: gp_XYZ, anAngle: number, aNote: IGESDimen_GeneralNote, someLeaders: NCollection_HArray1_handle_IGESDimen_LeaderArrow): void
This method is used to set the fields of the class FlagNote.
- leftCorner : Lower left corner of the Flag
- anAngle : Rotation angle in radians
- aNote : General Note Entity
- someLeaders : Leader Entities
Parameters (4)leftCorneranAngleaNotesomeLeaders
returns Lower Left coordinate of Flag as Pnt from package gp
returns Lower Left coordinate of Flag as Pnt from package gp after Transformation.
- Angle(): number
returns Rotation angle in radians
returns General Note Entity
- NbLeaders(): number
returns number of Arrows (Leaders) or zero
- Leader(Index: number): IGESDimen_LeaderArrow
returns Leader Entity raises exception if Index <= 0 or Index >
NbLeaders()Parameters (1)Index
- Height(): number
returns Height computed by the formula : Height = 2 * CH where CH is from theNote
- CharacterHeight(): number
returns the Character Height (from General Note)
- Length(): number
returns Length computed by the formula : Length = TW + 0.4*CH where CH is from theNote and TW is from theNote
- TextWidth(): number
returns the Text Width (from General Note)
- TipLength(): number
returns TipLength computed by the formula : TipLength = 0.5 * H / tan 35(deg) where H is
Height()
IGESDimen_GeneralLabel
defines GeneralLabel, Type <210> Form <0> in package IGESDimen Used for general labeling with leaders
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(5)
- Init(aNote: IGESDimen_GeneralNote, someLeaders: NCollection_HArray1_handle_IGESDimen_LeaderArrow): void
This method is used to set the fields of the class GeneralLabel.
- aNote : General Note Entity
- someLeaders : Associated Leader Entities
Parameters (2)aNotesomeLeaders
returns General Note Entity
- NbLeaders(): number
returns Number of Leaders
- Leader(Index: number): IGESDimen_LeaderArrow
returns Leader Entity raises exception if Index <= 0 or Index >
NbLeaders()Parameters (1)Index
IGESDimen_GeneralModule
Definition of General Services for IGESDimen (specific part) This Services comprise : Shared & Implied Lists, Copy, Check.
Constructors(1)
Creates a GeneralModule from
IGESDimenand puts it into GeneralLib.
Static methods(2)
- get_type_name(): string
Instance methods(6)
- DirChecker(CN: number, ent: IGESData_IGESEntity): IGESData_DirChecker
Returns a DirChecker, specific for each type of Entity (identified by its Case Number) : this DirChecker defines constraints which must be respected by the DirectoryPart.
Parameters (2)CNent
- OwnCheckCase(CN: number, ent: IGESData_IGESEntity, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check for each type of Entity.
Parameters (3)CNentshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- NewVoid(CN: number): { returnValue: boolean; entto: Standard_Transient; [Symbol.dispose](): void }
Specific creation of a new void entity.
Parameters (1)CN
ReturnsA result object with fields:
returnValue: the C++ return valueentto: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopyCase(CN: number, entfrom: IGESData_IGESEntity, entto: IGESData_IGESEntity, TC: Interface_CopyTool): void
Copies parameters which are specific of each Type of Entity.
Parameters (4)CNentfromenttoTC
- CategoryNumber(CN: number, ent: Standard_Transient, shares: Interface_ShareTool): number
Returns a category number which characterizes an entity Drawing for all.
Parameters (3)CNentshares
IGESDimen_GeneralNote
defines GeneralNote, Type <212> Form <0-8, 100-200, 105> in package IGESDimen Used for formatting boxed text in different ways
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(18)
- Init(nbChars: NCollection_HArray1_int, widths: NCollection_HArray1_double, heights: NCollection_HArray1_double, fontCodes: NCollection_HArray1_int, fonts: NCollection_HArray1_handle_IGESGraph_TextFontDef, slants: NCollection_HArray1_double, rotations: NCollection_HArray1_double, mirrorFlags: NCollection_HArray1_int, rotFlags: NCollection_HArray1_int, start: NCollection_HArray1_gp_XYZ, texts: NCollection_HArray1_handle_TCollection_HAsciiString): void
This method is used to set the fields of the class GeneralNote.
- nNbChars : number of chars strings
- widths : Box widths
- heights : Box heights
- fontCodes : Font codes, default = 1
- fonts : Text Font Definition Entities
- slants : Slant angles in radians
- rotations : Rotation angles in radians
- mirrorFlags : Mirror flags
- rotFlags : Rotation internal text flags
- start : Text start points
- texts : Text strings raises exception if there is mismatch between the various Array Lengths.
Parameters (11)nbCharswidthsheightsfontCodesfontsslantsrotationsmirrorFlagsrotFlagsstarttexts
- SetFormNumber(form: number): void
Changes FormNumber (indicates Graphical Representation) Error if not in ranges [0-8] or [100-102] or 105.
Parameters (1)form
- NbStrings(): number
returns number of text strings in General Note
- NbCharacters(Index: number): number
returns number of characters of string or zero raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- BoxWidth(Index: number): number
returns Box width of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- BoxHeight(Index: number): number
returns Box height of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- IsFontEntity(Index: number): boolean
returns False if Value, True if Entity raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- FontCode(Index: number): number
returns Font code (default = 1) of string returns 0 if IsFontEntity () is True raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- FontEntity(Index: number): IGESGraph_TextFontDef
returns Text Font Definition Entity of string returns a Null Handle if IsFontEntity () returns False raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- SlantAngle(Index: number): number
returns Slant angle of string in radians default value = PI/2 raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- RotationAngle(Index: number): number
returns Rotation angle of string in radians raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- MirrorFlag(Index: number): number
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()Parameters (1)Index
- RotateFlag(Index: number): number
returns Rotate internal text Flag of string 0 = text horizontal 1 = text vertical raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- StartPoint(Index: number): gp_Pnt
returns text start point of Index'th string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- TransformedStartPoint(Index: number): gp_Pnt
returns text start point of Index'th string after Transformation raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- ZDepthStartPoint(Index: number): number
returns distance from Start Point plane of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- Text(Index: number): TCollection_HAsciiString
returns text string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
IGESDimen_GeneralSymbol
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.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(9)
- Init(aNote: IGESDimen_GeneralNote, allGeoms: NCollection_HArray1_handle_IGESData_IGESEntity, allLeaders: NCollection_HArray1_handle_IGESDimen_LeaderArrow): void
This method is used to set the fields of the class GeneralSymbol.
- aNote : General Note, null for form 0
- allGeoms : Geometric Entities
- allLeaders : Leader Arrows
Parameters (3)aNoteallGeomsallLeaders
- SetFormNumber(form: number): void
Changes FormNumber (indicates the Nature of the Symbol) Error if not in ranges [0-3] or [> 5000].
Parameters (1)form
- HasNote(): boolean
returns True if there is associated General Note Entity
returns Null handle for form 0 only
- NbGeomEntities(): number
returns number of Geometry Entities
- GeomEntity(Index: number): IGESData_IGESEntity
returns the Index'th Geometry Entity raises exception if Index <= 0 or Index >
NbGeomEntities()Parameters (1)Index
- NbLeaders(): number
returns number of Leaders or zero if not specified
- LeaderArrow(Index: number): IGESDimen_LeaderArrow
returns the Index'th Leader Arrow raises exception if Index <= 0 or Index >
NbLeaders()Parameters (1)Index
IGESDimen_LeaderArrow
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
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(11)
- Init(height: number, width: number, depth: number, position: gp_XY, segments: NCollection_HArray1_gp_XY): void
This method is used to set the fields of the class LeaderArrow.
- height : ArrowHead height
- width : ArrowHead width
- depth : Z Depth
- position : ArrowHead coordinates
- segments : Segment tail coordinate pairs
Parameters (5)heightwidthdepthpositionsegments
- SetFormNumber(form: number): void
Changes FormNumber (indicates the Shape of the Arrow) Error if not in range [0-12].
Parameters (1)form
- NbSegments(): number
returns number of segments
- ArrowHeadHeight(): number
returns ArrowHead height
- ArrowHeadWidth(): number
returns ArrowHead width
- ZDepth(): number
returns Z depth
returns ArrowHead coordinates
returns ArrowHead coordinates after Transformation
- SegmentTail(Index: number): gp_Pnt2d
returns segment tail coordinates. raises exception if Index <= 0 or Index > NbSegments
Parameters (1)Index
- TransformedSegmentTail(Index: number): gp_Pnt
returns segment tail coordinates after Transformation. raises exception if Index <= 0 or Index > NbSegments
Parameters (1)Index
IGESDimen_LinearDimension
defines LinearDimension, Type <216> Form <0> in package IGESDimen Used for linear dimensioning
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(10)
- Init(aNote: IGESDimen_GeneralNote, aLeader: IGESDimen_LeaderArrow, anotherLeader: IGESDimen_LeaderArrow, aWitness: IGESDimen_WitnessLine, anotherWitness: IGESDimen_WitnessLine): void
This method is used to set the fields of the class LinearDimension.
- aNote : General Note Entity
- aLeader : First Leader Entity
- anotherLeader : Second Leader Entity
- aWitness : First Witness Line Entity or a Null Handle
- anotherWitness : Second Witness Line Entity or a Null Handle
Parameters (5)aNoteaLeaderanotherLeaderaWitnessanotherWitness
- SetFormNumber(form: number): void
Changes FormNumber (indicates the Nature of the Dimension Unspecified, Diameter or Radius) Error if not in range [0-2].
Parameters (1)form
returns General Note Entity
returns first Leader Entity
returns second Leader Entity
- HasFirstWitness(): boolean
returns False if no first witness line
returns first Witness Line Entity or a Null Handle
- HasSecondWitness(): boolean
returns False if no second witness line
returns second Witness Line Entity or a Null Handle
IGESDimen_NewDimensionedGeometry
defines New Dimensioned Geometry, Type <402>, Form <21> in package IGESDimen Links a dimension entity with the geometry entities it is dimensioning, so that later, in the receiving database, the dimension can be automatically recalculated and redrawn should the geometry be changed.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(11)
- Init(nbDimens: number, aDimen: IGESData_IGESEntity, anOrientation: number, anAngle: number, allEntities: NCollection_HArray1_handle_IGESData_IGESEntity, allLocations: NCollection_HArray1_int, allPoints: NCollection_HArray1_gp_XYZ): void
This method is used to set the fields of the class NewDimensionedGeometry.
- nbDimen : Number of Dimensions, default = 1
- aDimen : Dimension Entity
- anOrientation : Dimension Orientation Flag
- anAngle : Angle Value
- allEntities : Geometric Entities
- allLocations : Dimension Location Flags
- allPoints : Points on the Geometry Entities exception raised if lengths of entities, locations, points are not the same
Parameters (7)nbDimensaDimenanOrientationanAngleallEntitiesallLocationsallPoints
- NbDimensions(): number
returns the number of dimensions
- NbGeometries(): number
returns the number of associated geometry entities
returns the dimension entity
- DimensionOrientationFlag(): number
returns the dimension orientation flag
- AngleValue(): number
returns the angle value
- GeometryEntity(Index: number): IGESData_IGESEntity
returns the Index'th geometry entity raises exception if Index <= 0 or Index >
NbGeometries()Parameters (1)Index
- DimensionLocationFlag(Index: number): number
returns the Index'th geometry entity's dimension location flag raises exception if Index <= 0 or Index >
NbGeometries()Parameters (1)Index
coordinate of point on Index'th geometry entity raises exception if Index <= 0 or Index >
NbGeometries()Parameters (1)Index
- TransformedPoint(Index: number): gp_Pnt
coordinate of point on Index'th geometry entity after Transformation raises exception if Index <= 0 or Index >
NbGeometries()Parameters (1)Index
IGESDimen_NewGeneralNote
defines NewGeneralNote, Type <213> Form <0> in package IGESDimen Further attributes for formatting text strings
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(38)
- Init(width: number, height: number, justifyCode: number, areaLoc: gp_XYZ, areaRotationAngle: number, baseLinePos: gp_XYZ, normalInterlineSpace: number, charDisplays: NCollection_HArray1_int, charWidths: NCollection_HArray1_double, charHeights: NCollection_HArray1_double, interCharSpc: NCollection_HArray1_double, interLineSpc: NCollection_HArray1_double, fontStyles: NCollection_HArray1_int, charAngles: NCollection_HArray1_double, controlCodeStrings: NCollection_HArray1_handle_TCollection_HAsciiString, nbChars: NCollection_HArray1_int, boxWidths: NCollection_HArray1_double, boxHeights: NCollection_HArray1_double, charSetCodes: NCollection_HArray1_int, charSetEntities: NCollection_HArray1_handle_IGESData_IGESEntity, slAngles: NCollection_HArray1_double, rotAngles: NCollection_HArray1_double, mirrorFlags: NCollection_HArray1_int, rotateFlags: NCollection_HArray1_int, startPoints: NCollection_HArray1_gp_XYZ, texts: NCollection_HArray1_handle_TCollection_HAsciiString): void
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.
Parameters (26)widthheightjustifyCodeareaLocareaRotationAnglebaseLinePosnormalInterlineSpacecharDisplayscharWidthscharHeightsinterCharSpcinterLineSpcfontStylescharAnglescontrolCodeStringsnbCharsboxWidthsboxHeightscharSetCodescharSetEntitiesslAnglesrotAnglesmirrorFlagsrotateFlagsstartPointstexts
- TextWidth(): number
returns width of text containment area of all strings in the note
- TextHeight(): number
returns height of text containment area of all strings in the note
- JustifyCode(): number
returns Justification code of all strings within the note 0 = no justification 1 = right justified 2 = center justified 3 = left justified
returns Text containment area Location point
returns Text containment area Location point after Transformation
- ZDepthAreaLocation(): number
returns distance from the containment area plane
- AreaRotationAngle(): number
returns rotation angle of text containment area in radians
returns position of first base line
returns position of first base line after Transformation
- ZDepthBaseLinePosition(): number
returns distance from the Base line position plane
- NormalInterlineSpace(): number
returns Normal Interline Spacing
- NbStrings(): number
returns number of text HAsciiStrings
- CharacterDisplay(Index: number): number
returns Fixed/Variable width character display of string 0 = Fixed 1 = Variable raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- IsVariable(Index: number): boolean
returns False if Character display width is Fixed optional method, if required raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- CharacterWidth(Index: number): number
returns Character Width of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- CharacterHeight(Index: number): number
returns Character Height of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- InterCharacterSpace(Index: number): number
returns Inter-character spacing of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- InterlineSpace(Index: number): number
returns Interline spacing of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- FontStyle(Index: number): number
returns FontStyle of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- CharacterAngle(Index: number): number
returns CharacterAngle of string Angle returned will be between 0 and 2PI raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- ControlCodeString(Index: number): TCollection_HAsciiString
returns ControlCodeString of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- NbCharacters(Index: number): number
returns number of characters in string or zero raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- BoxWidth(Index: number): number
returns Box width of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- BoxHeight(Index: number): number
returns Box height of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- IsCharSetEntity(Index: number): boolean
returns False if Value, True if Pointer (Entity) raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- CharSetCode(Index: number): number
returns Character Set Interpretation (default = 1) of string returns 0 if IsCharSetEntity () is True 1 =
StandardASCII 1001 = Symbol Font1 1002 = Symbol Font2 1003 = Symbol Font3 raises exception if Index <= 0 or Index >NbStrings()Parameters (1)Index
- CharSetEntity(Index: number): IGESData_IGESEntity
returns Character Set Interpretation of string returns a Null Handle if IsCharSetEntity () is False raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- SlantAngle(Index: number): number
returns Slant angle of string in radians default value = PI/2 raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- RotationAngle(Index: number): number
returns Rotation angle of string in radians raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- MirrorFlag(Index: number): number
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()Parameters (1)Index
- IsMirrored(Index: number): boolean
returns False if MirrorFlag = 0. ie. no mirroring else returns True raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- RotateFlag(Index: number): number
returns Rotate internal text Flag of string 0 = text horizontal 1 = text vertical raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- StartPoint(Index: number): gp_Pnt
returns text start point of string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- TransformedStartPoint(Index: number): gp_Pnt
returns text start point of string after Transformation raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- ZDepthStartPoint(Index: number): number
returns distance from the start point plane raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
- Text(Index: number): TCollection_HAsciiString
returns text string raises exception if Index <= 0 or Index >
NbStrings()Parameters (1)Index
IGESDimen_OrdinateDimension
defines IGES Ordinate Dimension, Type <218> Form <0, 1>, in package IGESDimen Note: The ordinate dimension entity is used to indicate dimensions from a common base line. Dimensioning is only permitted along the XT or YT axis.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(7)
- Init(aNote: IGESDimen_GeneralNote, aType: boolean, aLine: IGESDimen_WitnessLine, anArrow: IGESDimen_LeaderArrow): voidParameters (4)
aNoteaTypeaLineanArrow
- IsLine(): boolean
returns True if Witness Line and False if Leader (only for Form 0)
- IsLeader(): boolean
returns True if Leader and False if Witness Line (only for Form 0)
returns the General Note entity associated.
returns the Witness Line associated or Null handle
returns the Leader associated or Null handle
IGESDimen_PointDimension
defines IGES Point Dimension, Type <220> Form <0>, in package IGESDimen A Point Dimension Entity consists of a leader, text, and an optional circle or hexagon enclosing the text IGES specs for this entity mention SimpleClosedPlanarCurve Entity(106/63)which is not listed in LIST.Text In the sequel we have ignored this & considered only the other two entity for representing the hexagon or circle enclosing the text.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
- Init(aNote: IGESDimen_GeneralNote, anArrow: IGESDimen_LeaderArrow, aGeom: IGESData_IGESEntity): voidParameters (3)
aNoteanArrowaGeom
- GeomCase(): number
returns the type of geometric entity. 0 if no hexagon or circle encloses the text 1 if CircularArc 2 if CompositeCurve 3 otherwise
returns the Geometry Entity, Null handle if GeomCase(me) .eq. 0
returns Null handle if GeomCase(me) .ne. 1
returns Null handle if GeomCase(me) .ne. 2
IGESDimen_Protocol
Description of Protocol for IGESDimen.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(4)
- NbResources(): number
- Resource(num: number): Interface_Protocol
Returns a Resource, given a rank.
Parameters (1)num
- TypeNumber(atype: Standard_Type): number
Returns a Case Number, specific of each recognized Type This Case Number is then used in Libraries : the various Modules attached to this class of Protocol must use them in accordance (for a given value of TypeNumber, they must consider the same Type as the Protocol defines).
Parameters (1)atype
IGESDimen_RadiusDimension
Defines IGES Radius Dimension, type <222> Form <0, 1>, in package IGESDimen. A Radius Dimension Entity consists of a General Note, a leader, and an arc center point. A second form of this entity accounts for the occasional need to have two leader entities referenced.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(9)
- Init(aNote: IGESDimen_GeneralNote, anArrow: IGESDimen_LeaderArrow, arcCenter: gp_XY, anotherArrow: IGESDimen_LeaderArrow): voidParameters (4)
aNoteanArrowarcCenteranotherArrow
- InitForm(form: number): void
Allows to change Form Number (1 admits null arrow).
Parameters (1)form
returns the General Note entity
returns the Leader Arrow entity
returns the coordinates of the Arc Center
returns the coordinates of the Arc Center after Transformation (Z coord taken from ZDepth of Leader Entity)
- HasLeader2(): boolean
returns True if form is 1, False if 0
returns Null handle if Form is 0
IGESDimen_ReadWriteModule
Defines Dimen File Access Module for IGESDimen (specific parts) Specific actions concern : Read and Write Own Parameters of an IGESEntity.
Constructors(1)
Creates a ReadWriteModule & puts it into ReaderLib & WriterLib.
Static methods(2)
- get_type_name(): string
Instance methods(2)
- WriteOwnParams(CN: number, ent: IGESData_IGESEntity, IW: IGESData_IGESWriter): void
Writes own parameters to IGESWriter.
Parameters (3)CNentIW—Mutated in place; read the updated value from this argument after the call.
IGESDimen_Section
defines Section, Type <106> Form <31-38> in package IGESDimen Contains information to display sectioned sides
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
- Init(dataType: number, aDisp: number, dataPoints: NCollection_HArray1_gp_XY): void
This method is used to set the fields of the class Section.
- dataType : Interpretation Flag, always = 1
- aDisp : Common z displacement
- dataPoints : Data points
Parameters (3)dataTypeaDispdataPoints
- SetFormNumber(form: number): void
Changes FormNumber (indicates the Type of the Hatches) Error if not in range [31-38].
Parameters (1)form
- Datatype(): number
returns Interpretation Flag, always = 1
- NbPoints(): number
returns number of Data Points
- ZDisplacement(): number
returns common Z displacement
returns Index'th data point raises exception if Index <= 0 or Index >
NbPoints()Parameters (1)Index
- TransformedPoint(Index: number): gp_Pnt
returns Index'th data point after Transformation raises exception if Index <= 0 or Index >
NbPoints()Parameters (1)Index
IGESDimen_SectionedArea
defines IGES Sectioned Area, Type <230> Form <0>, in package IGESDimen A sectioned area is a portion of a design which is to be filled with a pattern of lines. Ordinarily, this entity is used to reveal or expose shape or material characteri- stics defined by other entities.
It consists of a pointer to an exterior definition curve, a specification of the pattern of lines, the coordinates of a point on a pattern line, the distance between the pattern lines, the angle between the pattern lines and the X-axis of definition space, and the specification of any enclosed definition curves (commonly known as islands).
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(13)
- Init(aCurve: IGESData_IGESEntity, aPattern: number, aPoint: gp_XYZ, aDistance: number, anAngle: number, someIslands: NCollection_HArray1_handle_IGESData_IGESEntity): voidParameters (6)
aCurveaPatternaPointaDistanceanAnglesomeIslands
- SetInverted(mode: boolean): void
Sets the cross hatches to be inverted or not, according value of <mode> (corresponds to FormNumber).
Parameters (1)mode
- IsInverted(): boolean
returns the exterior definition curve
- Pattern(): number
returns fill pattern code
returns point thru which line should pass
returns point thru which line should pass after Transformation
- ZDepth(): number
returns the Z depth
- Distance(): number
returns the normal distance between lines
- Angle(): number
returns the angle of lines with XT axis
- NbIslands(): number
returns the number of island curves
- IslandCurve(Index: number): IGESData_IGESEntity
returns the interior definition curves, returns Null Handle exception raised if Index <= 0 or Index >
NbIslands()Parameters (1)Index
IGESDimen_SpecificModule
Defines Services attached to IGES Entities : Dump & OwnCorrect, for IGESDimen.
Constructors(1)
Creates a SpecificModule from
IGESDimen& puts it into SpecificLib.
Static methods(2)
- get_type_name(): string
Instance methods(2)
- OwnCorrect(CN: number, ent: IGESData_IGESEntity): boolean
Performs non-ambiguous Corrections on Entities which support them (BasicDimension,CenterLine,DimensionDisplayData, DimensionTolerance,DimensionUnits,DimensionedGeometry, NewDimensionedGeometry,Section,WitnessLine).
Parameters (2)CNent
IGESDimen_ToolAngularDimension
Tool to work on a AngularDimension. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolAngularDimension, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_AngularDimension, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_AngularDimension, entto: IGESDimen_AngularDimension, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolBasicDimension
Tool to work on a BasicDimension. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolBasicDimension, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESDimen_BasicDimension): boolean
Sets automatic unambiguous Correction on a BasicDimension (NbPropertyValues forced to 8).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_BasicDimension, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_BasicDimension, entto: IGESDimen_BasicDimension, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolCenterLine
Tool to work on a CenterLine. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolCenterLine, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESDimen_CenterLine): boolean
Sets automatic unambiguous Correction on a CenterLine (LineFont forced to Rank = 1, DataType forced to 1).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_CenterLine, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_CenterLine, entto: IGESDimen_CenterLine, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolCurveDimension
Tool to work on a CurveDimension. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolCurveDimension, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_CurveDimension, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_CurveDimension, entto: IGESDimen_CurveDimension, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolDiameterDimension
Tool to work on a DiameterDimension. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolDiameterDimension, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_DiameterDimension, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_DiameterDimension, entto: IGESDimen_DiameterDimension, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolDimensionDisplayData
Tool to work on a DimensionDisplayData. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolDimensionDisplayData, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESDimen_DimensionDisplayData): boolean
Sets automatic unambiguous Correction on a DimensionDisplayData (NbPropertyValues forced to 14).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_DimensionDisplayData, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_DimensionDisplayData, entto: IGESDimen_DimensionDisplayData, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolDimensionedGeometry
Tool to work on a DimensionedGeometry. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolDimensionedGeometry, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESDimen_DimensionedGeometry): boolean
Sets automatic unambiguous Correction on a DimensionedGeometry (NbDimensions forced to 1).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_DimensionedGeometry, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_DimensionedGeometry, entto: IGESDimen_DimensionedGeometry, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolDimensionTolerance
Tool to work on a DimensionTolerance. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolDimensionTolerance, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESDimen_DimensionTolerance): boolean
Sets automatic unambiguous Correction on a DimensionTolerance (NbPropertyValues forced to 8).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_DimensionTolerance, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_DimensionTolerance, entto: IGESDimen_DimensionTolerance, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolDimensionUnits
Tool to work on a DimensionUnits. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolDimensionUnits, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESDimen_DimensionUnits): boolean
Sets automatic unambiguous Correction on a DimensionUnits (NbPropertyValues forced to 6).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_DimensionUnits, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_DimensionUnits, entto: IGESDimen_DimensionUnits, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolFlagNote
Tool to work on a FlagNote. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolFlagNote, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_FlagNote, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_FlagNote, entto: IGESDimen_FlagNote, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolGeneralLabel
Tool to work on a GeneralLabel. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolGeneralLabel, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_GeneralLabel, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_GeneralLabel, entto: IGESDimen_GeneralLabel, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolGeneralNote
Tool to work on a GeneralNote. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolGeneralNote, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_GeneralNote, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_GeneralNote, entto: IGESDimen_GeneralNote, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolGeneralSymbol
Tool to work on a GeneralSymbol. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolGeneralSymbol, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_GeneralSymbol, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_GeneralSymbol, entto: IGESDimen_GeneralSymbol, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolLeaderArrow
Tool to work on a LeaderArrow. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolLeaderArrow, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_LeaderArrow, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_LeaderArrow, entto: IGESDimen_LeaderArrow, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolLinearDimension
Tool to work on a LinearDimension. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolLinearDimension, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_LinearDimension, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_LinearDimension, entto: IGESDimen_LinearDimension, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolNewDimensionedGeometry
Tool to work on a NewDimensionedGeometry. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolNewDimensionedGeometry, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESDimen_NewDimensionedGeometry): boolean
Sets automatic unambiguous Correction on a NewDimensionedGeometry (NbDimensions forced to 1, Transf Nullified in D.E.).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_NewDimensionedGeometry, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_NewDimensionedGeometry, entto: IGESDimen_NewDimensionedGeometry, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolNewGeneralNote
Tool to work on a NewGeneralNote. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolNewGeneralNote, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_NewGeneralNote, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_NewGeneralNote, entto: IGESDimen_NewGeneralNote, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolOrdinateDimension
Tool to work on a OrdinateDimension. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolOrdinateDimension, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_OrdinateDimension, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_OrdinateDimension, entto: IGESDimen_OrdinateDimension, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolPointDimension
Tool to work on a PointDimension. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolPointDimension, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_PointDimension, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_PointDimension, entto: IGESDimen_PointDimension, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolRadiusDimension
Tool to work on a RadiusDimension. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolRadiusDimension, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_RadiusDimension, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_RadiusDimension, entto: IGESDimen_RadiusDimension, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolSection
Tool to work on a Section. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSection, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESDimen_Section): boolean
Sets automatic unambiguous Correction on a Section (LineFont forced to Rank = 1, DataType forced to 1).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_Section, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_Section, entto: IGESDimen_Section, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolSectionedArea
Tool to work on a SectionedArea. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSectionedArea, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_SectionedArea, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_SectionedArea, entto: IGESDimen_SectionedArea, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_ToolWitnessLine
Tool to work on a WitnessLine. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolWitnessLine, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESDimen_WitnessLine): boolean
Sets automatic unambiguous Correction on a WitnessLine (LineFont forced to Rank = 1, DataType forced to 1).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESDimen_WitnessLine, shares: Interface_ShareTool): { ach: Interface_Check; [Symbol.dispose](): void }
Performs Specific Semantic Check.
Parameters (2)entshares
ReturnsA result object with fields:
ach: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- OwnCopy(entfrom: IGESDimen_WitnessLine, entto: IGESDimen_WitnessLine, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESDimen_WitnessLine
defines WitnessLine, Type <106> Form <40> in package IGESDimen Contains one or more straight line segments associated with drafting entities of various types
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(7)
- Init(dataType: number, aDisp: number, dataPoints: NCollection_HArray1_gp_XY): void
This method is used to set the fields of the class WitnessLine.
- dataType : Interpretation Flag, always = 1
- aDispl : Common z displacement
- dataPoints : Data points
Parameters (3)dataTypeaDispdataPoints
- Datatype(): number
returns Interpretation Flag, always = 1
- NbPoints(): number
returns number of Data Points
- ZDisplacement(): number
returns common Z displacement
returns Index'th. data point raises exception if Index <= 0 or Index > NbPoints
Parameters (1)Index
- TransformedPoint(Index: number): gp_Pnt
returns data point after Transformation. raises exception if Index <= 0 or Index > NbPoints
Parameters (1)Index