IGESGeom
OCCT package IGESGeom: IGESGeom, IGESGeom_Boundary, IGESGeom_BoundedSurface, IGESGeom_BSplineCurve, and 47 more bound classes.
IGESGeom
This package consists of B-Rep and CSG Solid entities.
Constructors(1)
Static methods(2)
- Init(): void
Prepares dynamic data (Protocol, Modules) for this package.
Returns the Protocol for this Package.
IGESGeom_Boundary
defines IGESBoundary, Type <141> Form <0> in package IGESGeom A boundary entity identifies a surface boundary consisting of a set of curves lying on the surface
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(11)
- Init(aType: number, aPreference: number, aSurface: IGESData_IGESEntity, allModelCurves: NCollection_HArray1_handle_IGESData_IGESEntity, allSenses: NCollection_HArray1_int, allParameterCurves: IGESBasic_HArray1OfHArray1OfIGESEntity): void
This method is used to set the fields of the class Boundary.
- aType : Type of bounded surface representation
- aPreference : Preferred representation of Trimming Curve
- aSurface : Untrimmed surface to be bounded
- allModelCurves : Model Space Curves
- allSenses : Orientation flags of all Model Space Curves
- allParameterCurves : Parameter Space Curves raises exception if allSenses, allModelCurves and allParameterCurves do not have same dimensions
Parameters (6)aTypeaPreferenceaSurfaceallModelCurvesallSensesallParameterCurves
- BoundaryType(): number
returns type of bounded surface representation 0 = Boundary entities may only reference model space trimming curves. Associated surface representation may be parametric 1 = Boundary entities must reference model space curves and associated parameter space curve collections. Associated surface must be a parametric representation
- PreferenceType(): number
returns preferred representation of trimming curves 0 = Unspecified 1 = Model space 2 = Parameter space 3 = Representations are of equal preference
returns the surface to be bounded
- NbModelSpaceCurves(): number
returns the number of model space curves
- ModelSpaceCurve(Index: number): IGESData_IGESEntity
returns Model Space Curve raises exception if Index <= 0 or Index >
NbModelSpaceCurves()Parameters (1)Index
- Sense(Index: number): number
returns the sense of a particular model space curve 1 = model curve direction does not need reversal 2 = model curve direction needs to be reversed raises exception if Index <= 0 or Index >
NbModelSpaceCurves()Parameters (1)Index
- NbParameterCurves(Index: number): number
returns the number of parameter curves associated with one model space curve referred to by Index raises exception if Index <= 0 or Index >
NbModelSpaceCurves()Parameters (1)Index
- ParameterCurves(Index: number): NCollection_HArray1_handle_IGESData_IGESEntity
returns an array of parameter space curves associated with a model space curve referred to by the Index raises exception if Index <= 0 or Index >
NbModelSpaceCurves()Parameters (1)Index
- ParameterCurve(Index: number, Num: number): IGESData_IGESEntity
returns an individual parameter curve raises exception if Index or Num is out of range
Parameters (2)IndexNum
IGESGeom_BoundedSurface
defines BoundedSurface, Type <143> Form <0> in package IGESGeom A bounded surface is used to communicate trimmed surfaces. The surface and trimming curves are assumed to be represented parametrically.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(6)
- Init(aType: number, aSurface: IGESData_IGESEntity, allBounds: NCollection_HArray1_handle_IGESGeom_Boundary): void
This method is used to set the fields of the class BoundedSurface.
- aType : Type of bounded surface representation
- aSurface : Surface entity to be bounded
- allBounds : Array of boundary entities
Parameters (3)aTypeaSurfaceallBounds
- RepresentationType(): number
returns the type of Bounded surface representation 0 = The boundary entities may only reference model space curves 1 = The boundary entities may reference both model space curves and associated parameter space curve representations
returns the bounded surface
- NbBoundaries(): number
returns the number of boundaries
- Boundary(Index: number): IGESGeom_Boundary
returns boundary entity raises exception if Index <= 0 or Index >
NbBoundaries()Parameters (1)Index
IGESGeom_BSplineCurve
defines IGESBSplineCurve, Type <126> Form <0-5> in package IGESGeom A parametric equation obtained by dividing two summations involving weights (which are real numbers), the control points, and B-Spline basis functions
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(18)
- Init(anIndex: number, aDegree: number, aPlanar: boolean, aClosed: boolean, aPolynom: boolean, aPeriodic: boolean, allKnots: NCollection_HArray1_double, allWeights: NCollection_HArray1_double, allPoles: NCollection_HArray1_gp_XYZ, aUmin: number, aUmax: number, aNorm: gp_XYZ): void
This method is used to set the fields of the class BSplineCurve. Beware about indexation of arrays.
- anIndex : Upper index of the sum
- aDegree : Degree of basis functions
- aPlanar : 0 = nonplanar curve, 1 = planar curve
- aClosed : 0 = open curve, 1 = closed curve
- aPolynom : 0 = rational, 1 = polynomial
- aPeriodic : 0 = nonperiodic, 1 = periodic
- allKnots : Knot sequence values [-Degree,Index+1]
- allWeights : Array of weights [0,Index]
- allPoles : X, Y, Z coordinates of all control points [0,Index]
- aUmin, aUmax : Starting and ending parameter values
- aNorm : Unit normal (if the curve is planar) raises exception if allWeights & allPoles are not of same size.
Parameters (12)anIndexaDegreeaPlanaraClosedaPolynomaPeriodicallKnotsallWeightsallPolesaUminaUmaxaNorm
- SetFormNumber(form: number): void
Changes FormNumber (indicates the Shape of the Curve) Error if not in range [0-5].
Parameters (1)form
- UpperIndex(): number
returns the upper index of the sum (see Knots,Poles)
- Degree(): number
returns the degree of basis functions
- IsPlanar(): boolean
returns True if the curve is Planar, False if non-planar
- IsClosed(): boolean
returns True if the curve is closed, False if open
- IsPolynomial(flag?: boolean): boolean
returns True if the curve is polynomial, False if rational <flag> False (D) : computed from the list of weights (all must be equal) <flag> True : as recorded
Parameters (1)flag
- IsPeriodic(): boolean
returns True if the curve is periodic, False otherwise
- NbKnots(): number
returns the number of knots (i.e. Degree + UpperIndex + 2)
- Knot(anIndex: number): number
returns the knot referred to by anIndex, inside the range [-Degree,UpperIndex+1] raises exception if anIndex < -
Degree()or anIndex > (NbKnots()-Degree()) Note : Knots are numbered from -Degree (not from 1)Parameters (1)anIndex
- NbPoles(): number
returns number of poles (i.e. UpperIndex + 1)
- Weight(anIndex: number): number
returns the weight referred to by anIndex, in [0,UpperIndex] raises exception if anIndex < 0 or anIndex >
UpperIndex()Parameters (1)anIndex
returns the pole referred to by anIndex, in [0,UpperIndex] raises exception if anIndex < 0 or anIndex >
UpperIndex()Parameters (1)anIndex
- TransformedPole(anIndex: number): gp_Pnt
returns the anIndex'th pole after applying Transf. Matrix raises exception if an Index < 0 or an Index >
UpperIndex()Parameters (1)anIndex
- UMin(): number
returns starting parameter value
- UMax(): number
returns ending parameter value
if the curve is nonplanar then (0, 0, 0) is returned
IGESGeom_BSplineSurface
defines IGESBSplineSurface, Type <128> Form <0-9> in package IGESGeom A parametric equation obtained by dividing two summations involving weights (which are real numbers), the control points, and B-Spline basis functions
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(25)
- Init(anIndexU: number, anIndexV: number, aDegU: number, aDegV: number, aCloseU: boolean, aCloseV: boolean, aPolynom: boolean, aPeriodU: boolean, aPeriodV: boolean, allKnotsU: NCollection_HArray1_double, allKnotsV: NCollection_HArray1_double, allWeights: NCollection_HArray2_double, allPoles: NCollection_HArray2_gp_XYZ, aUmin: number, aUmax: number, aVmin: number, aVmax: number): void
This method is used to set the fields of the class BSplineSurface.
- anIndexU : Upper index of first sum
- anIndexV : Upper index of second sum
- aDegU, aDegV : Degrees of first and second sets of basis functions
- aCloseU, aCloseV : 1 = Closed in U, V directions 0 = open in U, V directions
- aPolynom : 0 = Rational, 1 = polynomial
- aPeriodU, aPeriodV : 0 = Non periodic in U or V direction 1 = Periodic in U or V direction
- allKnotsU, allKnotsV : Knots in U and V directions
- allWeights : Array of weights
- allPoles : XYZ coordinates of all control points
- aUmin : Starting value of U direction
- aUmax : Ending value of U direction
- aVmin : Starting value of V direction
- aVmax : Ending value of V direction raises exception if allWeights & allPoles are not of same size.
Parameters (17)anIndexUanIndexVaDegUaDegVaCloseUaCloseVaPolynomaPeriodUaPeriodVallKnotsUallKnotsVallWeightsallPolesaUminaUmaxaVminaVmax
- SetFormNumber(form: number): void
Changes FormNumber (indicates the Shape of the Surface) Error if not in range [0-9].
Parameters (1)form
- UpperIndexU(): number
returns the upper index of the first sum (U)
- UpperIndexV(): number
returns the upper index of the second sum (V)
- DegreeU(): number
returns degree of first set of basis functions
- DegreeV(): number
returns degree of second set of basis functions
- IsClosedU(): boolean
True if closed in U direction else False.
- IsClosedV(): boolean
True if closed in V direction else False.
- IsPolynomial(flag?: boolean): boolean
True if polynomial, False if rational <flag> False (D) : computed from Weights <flag> True : recorded.
Parameters (1)flag
- IsPeriodicU(): boolean
True if periodic in U direction else False.
- IsPeriodicV(): boolean
True if periodic in V direction else False.
- NbKnotsU(): number
returns number of knots in U direction KnotsU are numbered from -DegreeU
- NbKnotsV(): number
returns number of knots in V direction KnotsV are numbered from -DegreeV
- KnotU(anIndex: number): number
returns the value of knot referred to by anIndex in U direction raises exception if anIndex < -
DegreeU()or anIndex > (NbKnotsU()-DegreeU())Parameters (1)anIndex
- KnotV(anIndex: number): number
returns the value of knot referred to by anIndex in V direction raises exception if anIndex < -
DegreeV()or anIndex > (NbKnotsV()-DegreeV())Parameters (1)anIndex
- NbPolesU(): number
returns number of poles in U direction
- NbPolesV(): number
returns number of poles in V direction
- Weight(anIndex1: number, anIndex2: number): number
returns the weight referred to by anIndex1, anIndex2 raises exception if anIndex1 <= 0 or anIndex1 >
NbPolesU()or if anIndex2 <= 0 or anIndex2 >NbPolesV()Parameters (2)anIndex1anIndex2
returns the control point referenced by anIndex1, anIndex2 raises exception if anIndex1 <= 0 or anIndex1 >
NbPolesU()or if anIndex2 <= 0 or anIndex2 >NbPolesV()Parameters (2)anIndex1anIndex2
- TransformedPole(anIndex1: number, anIndex2: number): gp_Pnt
returns the control point referenced by anIndex1, anIndex2 after applying the Transf.Matrix raises exception if anIndex1 <= 0 or anIndex1 >
NbPolesU()or if anIndex2 <= 0 or anIndex2 >NbPolesV()Parameters (2)anIndex1anIndex2
- UMin(): number
returns starting value in the U direction
- UMax(): number
returns ending value in the U direction
- VMin(): number
returns starting value in the V direction
- VMax(): number
returns ending value in the V direction
IGESGeom_CircularArc
defines IGESCircularArc, Type <100> Form <0> in package IGESGeom A circular arc is a connected portion of a parent circle which consists of more than one point. The definition space coordinate system is always chosen so that the circular arc remains in a plane either coincident with or parallel to the XT, YT plane.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(14)
This method is used to set the fields of the class CircularArc.
- aZT : Shift above the Z plane
- aCenter : Center of the circle of which the arc forms a part
- aStart : Starting point of the circular arc
- anEnd : Ending point of the circular arc
Parameters (4)aZTaCenteraStartanEnd
returns the center of the circle of which arc forms a part
returns the center of the circle of which arc forms a part after applying Transf. Matrix
returns the start point of the arc
returns the start point of the arc after applying Transf. Matrix
- ZPlane(): number
returns the parallel displacement of the plane containing the arc from the XT, YT plane
returns the end point of the arc
returns the end point of the arc after applying Transf. Matrix
- Radius(): number
returns the radius of the circle of which arc forms a part
- Angle(): number
returns the angle subtended by the arc at the center in radians
Z-Axis of circle (i.e. [0,0,1]).
Z-Axis after applying Trans. Matrix.
- IsClosed(): boolean
True if StartPoint = EndPoint.
IGESGeom_CompositeCurve
defines IGESCompositeCurve, Type <102> Form <0> in package IGESGeom A composite curve is defined as an ordered list of entities consisting of a point, connect point and parametrised curve entities (excluding the CompositeCurve entity).
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(4)
- Init(allEntities: NCollection_HArray1_handle_IGESData_IGESEntity): void
This method is used to set the fields of the class CompositeCurve.
- allEntities : Constituent Entities of the composite curve
Parameters (1)allEntities
- NbCurves(): number
returns the number of curves contained in the CompositeCurve
- Curve(Index: number): IGESData_IGESEntity
returns Component of the CompositeCurve (a curve or a point) raises exception if Index <= 0 or Index >
NbCurves()Parameters (1)Index
IGESGeom_ConicArc
defines IGESConicArc, Type <104> Form <0-3> in package IGESGeom A conic arc is a bounded connected portion of a parent conic curve which consists of more than one point. The parent conic curve is either an ellipse, a parabola, or a hyperbola. The definition space coordinate system is always chosen so that the conic arc lies in a plane either coincident with or parallel to XT, YT plane. Within such a plane a conic is defined by the six coefficients in the following equation. AXT^2 + BXTYT + CYT^2 + DXT + EYT + F = 0
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(19)
- Init(A: number, B: number, C: number, D: number, E: number, F: number, ZT: number, aStart: gp_XY, anEnd: gp_XY): void
This method is used to set the fields of the class ConicalArc.
- A, B, C, D, E, F : Coefficients of the equation defining conic arc
- ZT : Parallel ZT displacement of the arc from XT, YT plane.
- aStart : Starting point of the conic arc
- anEnd : End point of the conic arc
Parameters (9)ABCDEFZTaStartanEnd
- OwnCorrect(): boolean
sets the Form Number equal to ComputedFormNumber, returns True if changed
- ComputedFormNumber(): number
Computes the Form Number according to the equation 1 for Ellipse, 2 for Hyperbola, 3 for Parabola.
- Equation(A: number, B: number, C: number, D: number, E: number, F: number): { A: number; B: number; C: number; D: number; E: number; F: number }Parameters (6)
ABCDEF
- ZPlane(): number
returns the Z displacement of the arc from XT, YT plane
returns the starting point of the arc
returns the starting point of the arc after applying Transf. Matrix
returns the end point of the arc
returns the end point of the arc after applying Transf. Matrix
- IsFromEllipse(): boolean
returns True if parent conic curve is an ellipse
- IsFromParabola(): boolean
returns True if parent conic curve is a parabola
- IsFromHyperbola(): boolean
returns True if parent conic curve is a hyperbola
- IsClosed(): boolean
returns True if StartPoint = EndPoint
Z-Axis of conic (i.e. [0,0,1]).
Z-Axis after applying Trans. Matrix.
- Definition(Center: gp_Pnt, MainAxis: gp_Dir, rmin: number, rmax: number): { rmin: number; rmax: number }
Returns a Definition computed from equation, easier to use : the center of the conic (meaningless for a parabola) (defined with Z displacement) <MainAxis> : the Main Axis of the conic (for a Circle, arbitrary the X Axis) <Rmin,Rmax> : Minor and Major Radii of the conic For a Circle, Rmin = Rmax, For a Parabola, Rmin = Rmax = the Focal Warning : the basic definition (by equation) is not very stable, limit cases may be approximative.
Parameters (4)Center—Mutated in place; read the updated value from this argument after the call.MainAxis—Mutated in place; read the updated value from this argument after the call.rminrmax
ReturnsA result object with fields:
rmin: updated value from the call.rmax: updated value from the call.
- TransformedDefinition(Center: gp_Pnt, MainAxis: gp_Dir, rmin: number, rmax: number): { rmin: number; rmax: number }
Same as Definition, but the Location is applied on the Center and the MainAxis.
Parameters (4)Center—Mutated in place; read the updated value from this argument after the call.MainAxis—Mutated in place; read the updated value from this argument after the call.rminrmax
ReturnsA result object with fields:
rmin: updated value from the call.rmax: updated value from the call.
- ComputedDefinition(Xcen: number, Ycen: number, Xax: number, Yax: number, Rmin: number, Rmax: number): { Xcen: number; Ycen: number; Xax: number; Yax: number; Rmin: number; Rmax: number }
Computes and returns the coordinates of the definition of a comic from its equation. Used by Definition & TransformedDefinition, or may be called directly if needed.
Parameters (6)XcenYcenXaxYaxRminRmax
ReturnsA result object with fields:
Xcen: updated value from the call.Ycen: updated value from the call.Xax: updated value from the call.Yax: updated value from the call.Rmin: updated value from the call.Rmax: updated value from the call.
IGESGeom_CopiousData
defines IGESCopiousData, Type <106> Form <1-3,11-13,63> in package IGESGeom This entity stores data points in the form of pairs, triples, or sextuples. An interpretation flag value signifies which of these forms is being used.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(15)
- Init(aDataType: number, aZPlane: number, allData: NCollection_HArray1_double): void
This method is used to set the fields of the class CopiousData.
- aDataType : Specifies whether data is a pair or a triple or a sextuple.
- aZPlane : Common Z value for all points if datatype = 1
- allData : Data to be read in groups of 2, 3 or 6
Parameters (3)aDataTypeaZPlaneallData
- SetPolyline(mode: boolean): void
Sets Copious Data to be a Polyline if <mode> is True (Form = 11-12-13) or a Set of Points else (Form 1-2-3).
Parameters (1)mode
- SetClosedPath2D(): void
Sets Copious Data to be a Closed Path 2D (Form 63) Warning : DataType is not checked and must be set to ONE by Init.
- IsPointSet(): boolean
Returns True if <me> is a Set of Points (Form 1-2-3).
- IsPolyline(): boolean
Returns True if <me> is a Polyline (Form 11-12-13).
- IsClosedPath2D(): boolean
Returns True if <me> is a Closed Path 2D (Form 63).
- DataType(): number
returns data type 1 = XY ( with common Z given by plane) 2 = XYZ ( point) 3 = XYZ + Vec(XYZ) (point + normal vector)
- NbPoints(): number
returns the number of tuples
- Data(NumPoint: number, NumData: number): number
Returns an individual Data, given the N0 of the Point and the B0 of the Coordinate (according DataType).
Parameters (2)NumPointNumData
- ZPlane(): number
If datatype = 1, then returns common z value for all data else returns 0.
returns the coordinates of the point specified by the anIndex raises exception if anIndex <= 0 or anIndex >
NbPoints()Parameters (1)anIndex
- TransformedPoint(anIndex: number): gp_Pnt
returns the coordinates of the point specified by the anIndex after applying Transf. Matrix raises exception if anIndex <= 0 or anIndex >
NbPoints()Parameters (1)anIndex
returns i, j, k values if 3-tuple else returns (0, 0, 0) raises exception if anIndex <= 0 or anIndex >
NbPoints()Parameters (1)anIndex
- TransformedVector(anIndex: number): gp_Vec
returns transformed vector if 3-tuple else returns (0, 0, 0) raises exception if anIndex <= 0 or anIndex >
NbPoints()Parameters (1)anIndex
IGESGeom_CurveOnSurface
defines IGESCurveOnSurface, Type <142> Form <0> in package IGESGeom A curve on a parametric surface entity associates a given curve with a surface and identifies the curve as lying on the surface.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(7)
- Init(aMode: number, aSurface: IGESData_IGESEntity, aCurveUV: IGESData_IGESEntity, aCurve3D: IGESData_IGESEntity, aPreference: number): void
This method is used to set the fields of the class CurveOnSurface.
- aMode : Way the curve on the surface has been created
- aSurface : Surface on which the curve lies
- aCurveUV : Curve S (UV)
- aCurve3D : Curve C (3D)
- aPreference : 0 = Unspecified 1 = S o B is preferred 2 = C is preferred 3 = C and S o B are equally preferred
Parameters (5)aModeaSurfaceaCurveUVaCurve3DaPreference
- CreationMode(): number
returns the mode in which the curve is created on the surface 0 = Unspecified 1 = Projection of a given curve on the surface 2 = Intersection of two surfaces 3 = Isoparametric curve, i.e:- either a
uparametric or avparametric curve returns the surface on which the curve lies
returns curve S
returns curve C
- PreferenceMode(): number
returns preference mode 0 = Unspecified 1 = S o B is preferred 2 = C is preferred 3 = C and S o B are equally preferred
IGESGeom_Direction
defines IGESDirection, Type <123> Form <0> in package IGESGeom A direction entity is a non-zero vector in Euclidean 3-space that is defined by its three components (direction ratios) with respect to the coordinate axes. If x, y, z are the direction ratios then (x^2 + y^2 + z^2) > 0
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(4)
This method is used to set the fields of the class Direction.
- aDirection : Direction ratios, Z is 0 by default
Parameters (1)aDirection
returns the Direction value after applying Transformation matrix
IGESGeom_Flash
defines IGESFlash, Type <125> Form <0 - 4> in package IGESGeom A flash entity is a point in the ZT=0 plane that locates a particular closed area. That closed area can be defined in one of two ways. First, it can be an arbitrary closed area defined by any entity capable of defining a closed area. The points of this entity must all lie in the ZT=0 plane. Second, it can be a member of a predefined set of flash shapes.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(10)
- Init(aPoint: gp_XY, aDim: number, anotherDim: number, aRotation: number, aReference: IGESData_IGESEntity): void
This method is used to set the fields of the class Flash.
- aPoint : Reference of flash
- aDim : First flash sizing parameter
- anotherDim : Second flash sizing parameter
- aRotation : Rotation of flash about reference point in radians
- aReference : Pointer to the referenced entity or Null
Parameters (5)aPointaDimanotherDimaRotationaReference
- SetFormNumber(form: number): void
Changes FormNumber (indicates the Nature of the Flash : 0 Unspecified, then given by Reference, 1->4 various Specialisations (Circle,Rectangle, etc...) ) Error if not in range [0-4].
Parameters (1)form
returns the referenced point, Z = 0 always
returns the referenced point after applying Transf. Matrix
- Dimension1(): number
returns first flash sizing parameter
- Dimension2(): number
returns second flash sizing parameter
- Rotation(): number
returns the angle in radians of the rotation of flash about the reference point
returns the referenced entity or Null handle.
- HasReferenceEntity(): boolean
returns True if referenced entity is present.
IGESGeom_GeneralModule
Definition of General Services for IGESGeom (specific part) This Services comprise : Shared & Implied Lists, Copy, Check.
Constructors(1)
Creates a GeneralModule from
IGESGeomand 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 Shape for all, but Drawing for : Flash; Point with a symbol; Plane with a symbol.
Parameters (3)CNentshares
IGESGeom_Line
defines IGESLine, Type <110> Form <0> in package IGESGeom A line is a bounded, connected portion of a parent straight line which consists of more than one point. A line is defined by its end points.
From IGES-5.3, two other Forms are admitted (same params) : 0 remains for standard limited line (the default) 1 for semi-infinite line (End is just a passing point) 2 for full infinite Line (both Start and End are arbitrary)
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
This method is used to set the fields of the class Line.
- aStart : Start point of the line
- anEnd : End point of the line
Parameters (2)aStartanEnd
- Infinite(): number
Returns the Infinite status i.e. the Form Number : 0 1 2.
- SetInfinite(status: number): void
Sets the Infinite status Does nothing if <status> is not 0 1 or 2.
Parameters (1)status
- StartPoint(): gp_Pnt
returns the start point of the line
returns the start point of the line after applying Transf. Matrix
returns the end point of the line
returns the end point of the line after applying Transf. Matrix
IGESGeom_OffsetCurve
defines IGESOffsetCurve, Type <130> Form <0> in package IGESGeom An OffsetCurve entity contains the data necessary to determine the offset of a given curve C. This entity points to the base curve to be offset and contains offset distance and other pertinent information.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(17)
- Init(aBaseCurve: IGESData_IGESEntity, anOffsetType: number, aFunction: IGESData_IGESEntity, aFunctionCoord: number, aTaperedOffsetType: number, offDistance1: number, arcLength1: number, offDistance2: number, arcLength2: number, aNormalVec: gp_XYZ, anOffsetParam: number, anotherOffsetParam: number): void
This method is used to set the fields of the class OffsetCurve.
- aBaseCurve : The curve entity to be offset
- anOffsetType : Offset distance flag 1 = Single value, uniform distance 2 = Varying linearly 3 = As a specified function
- aFunction : Curve entity, one coordinate of which describes offset as a function of its parameter (0 unless OffsetType = 3)
- aFunctionCoord : Particular coordinate of curve describing offset as function of its parameters. (used if OffsetType = 3)
- aTaperedOffsetType : Tapered offset type flag 1 = Function of arc length 2 = Function of parameter (Only used if OffsetType = 2 or 3)
- offDistance1 : First offset distance (Only used if OffsetType = 1 or 2)
- arcLength1 : Arc length or parameter value of first offset distance (Only used if OffsetType = 2)
- offDistance2 : Second offset distance
- arcLength2 : Arc length or parameter value of second offset distance (Only used if OffsetType = 2)
- aNormalVec : Unit vector normal to plane containing curve to be offset
- anOffsetParam : Start parameter value of offset curve
- anotherOffsetParam : End parameter value of offset curve
Parameters (12)aBaseCurveanOffsetTypeaFunctionaFunctionCoordaTaperedOffsetTypeoffDistance1arcLength1offDistance2arcLength2aNormalVecanOffsetParamanotherOffsetParam
returns the curve to be offset
- OffsetType(): number
returns the offset distance flag 1 = Single value offset (uniform distance) 2 = Offset distance varying linearly 3 = Offset distance specified as a function
returns the function defining the offset if at all the offset is described as a function or Null Handle.
- HasFunction(): boolean
returns True if function defining the offset is present.
- FunctionParameter(): number
returns particular coordinate of the curve which describes offset as a function of its parameters. (only used if
OffsetType()= 3) - TaperedOffsetType(): number
returns tapered offset type flag (only used if
OffsetType()= 2 or 3) 1 = Function of arc length 2 = Function of parameter - FirstOffsetDistance(): number
returns first offset distance (only used if
OffsetType()= 1 or 2) - ArcLength1(): number
returns arc length or parameter value (depending on value of offset distance flag) of first offset distance (only used if
OffsetType()= 2) - SecondOffsetDistance(): number
returns the second offset distance
- ArcLength2(): number
returns arc length or parameter value (depending on value of offset distance flag) of second offset distance (only used if
OffsetType()= 2) returns unit vector normal to plane containing curve to be offset
returns unit vector normal to plane containing curve to be offset after applying Transf. Matrix
- Parameters(StartParam: number, EndParam: number): { StartParam: number; EndParam: number }Parameters (2)
StartParamEndParam
- StartParameter(): number
returns Start Parameter value of the offset curve
- EndParameter(): number
returns End Parameter value of the offset curve
IGESGeom_OffsetSurface
defines IGESOffsetSurface, Type <140> Form <0> in package IGESGeom An offset surface is a surface defined in terms of an already existing surface.If S(u, v) is a parametrised regular surface and N(u, v) is a differential field of unit normal vectors defined on the whole surface, and "d" a fixed non zero real number, then offset surface to S is a parametrised surface S(u, v) given by O(u, v) = S(u, v) + d * N(u, v); u1 <= u <= u2; v1 <= v <= v2;
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(6)
- Init(anIndicatoR: gp_XYZ, aDistance: number, aSurface: IGESData_IGESEntity): void
This method is used to set the fields of the class OffsetSurface.
- anIndicator : Offset indicator
- aDistance : Offset distance
- aSurface : Surface that is offset
Parameters (3)anIndicatoRaDistanceaSurface
returns the offset indicator
returns the offset indicator after applying Transf. Matrix
- Distance(): number
returns the distance by which surface is offset
returns the surface that has been offset
IGESGeom_Plane
defines IGESPlane, Type <108> Form <-1,0,1> in package IGESGeom A plane entity can be used to represent unbounded plane, as well as bounded portion of a plane. In either of the above cases the plane is defined within definition space by means of coefficients A, B, C, D where at least one of A, B, C is non-zero and A * XT + B * YT + C * ZT = D
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(12)
- Init(A: number, B: number, C: number, D: number, aCurve: IGESData_IGESEntity, attach: gp_XYZ, aSize: number): voidParameters (7)
ABCDaCurveattachaSize
- SetFormNumber(form: number): void
Changes FormNumber (indicates the Type of Bound : 0 no Bound, 1 (External) Bound, -1 Hole) Remark that Init keeps this Value and must be consistent : aCurve Null if FormNumber = 0, Non-Null else Error if not in ranges [0-1] or [10-12].
Parameters (1)form
- Equation(A: number, B: number, C: number, D: number): { A: number; B: number; C: number; D: number }Parameters (4)
ABCD
- TransformedEquation(A: number, B: number, C: number, D: number): { A: number; B: number; C: number; D: number }Parameters (4)
ABCD
- HasBoundingCurve(): boolean
returns True if there exists a bounding curve
- HasBoundingCurveHole(): boolean
returns True if bounding curve exists and bounded portion is negative
returns Optional Bounding Curve, can be positive (normal clipping) or negative (hole) according to Form Number
- HasSymbolAttach(): boolean
returns True if
SymbolSize()> 0, False ifSymbolSize()= 0 returns (X, Y, Z) if symbol exists else returns (0, 0, 0)
returns (X, Y, Z) if symbol exists after applying Transf. Matrix else returns (0, 0, 0)
- SymbolSize(): number
Size of optional display symbol.
IGESGeom_Point
defines IGESPoint, Type <116> Form <0> in package IGESGeom
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(6)
- Init(aPoint: gp_XYZ, aSymbol: IGESBasic_SubfigureDef): void
This method is used to set the fields of the class Point.
- aPoint : Coordinates of point
- aSymbol : SubfigureDefinition entity specifying the display symbol if there exists one, or zero
Parameters (2)aPointaSymbol
returns coordinates of the point
returns coordinates of the point after applying Transf. Matrix
- HasDisplaySymbol(): boolean
returns True if symbol exists
returns display symbol entity if it exists
IGESGeom_Protocol
Description of Protocol for IGESGeom.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(4)
- NbResources(): number
Gives the count of Resource Protocol. Here, one (Protocol from
IGESBasic). - 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
IGESGeom_ReadWriteModule
Defines Geom File Access Module for IGESGeom (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.
IGESGeom_RuledSurface
defines IGESRuledSurface, Type <118> Form <0-1> in package IGESGeom A ruled surface is formed by moving a line connecting points of equal relative arc length or equal relative parametric value on two parametric curves from a start point to a terminate point on the curves. The parametric curves may be points, lines, circles, conics, rational B-splines, parametric splines or any parametric curve defined in the IGES specification.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
- Init(aCurve: IGESData_IGESEntity, anotherCurve: IGESData_IGESEntity, aDirFlag: number, aDevFlag: number): void
This method is used to set the fields of the class RuledSurface.
- aCurve : First parametric curve
- anotherCurve : Second parametric curve
- aDirFlag : Direction Flag 0 = Join first to first, last to last 1 = Join first to last, last to first
- aDevFlag : Developable Surface Flag 1 = Developable 0 = Possibly not
Parameters (4)aCurveanotherCurveaDirFlagaDevFlag
- SetRuledByParameter(mode: boolean): void
Sets <me> to be Ruled by Parameter (Form 1) if <mode> is True, or Ruled by Length (Form 0) else.
Parameters (1)mode
- IsRuledByParameter(): boolean
Returns True if Form is 1.
returns the first curve
returns the second curve
- DirectionFlag(): number
return the sense of direction 0 = Join first to first, last to last 1 = Join first to last, last to first
- IsDevelopable(): boolean
returns True if developable else False
IGESGeom_SpecificModule
Defines Services attached to IGES Entities : Dump & OwnCorrect, for IGESGeom.
Constructors(1)
Creates a SpecificModule from
IGESGeom& puts it into SpecificLib.
Static methods(2)
- get_type_name(): string
Instance methods(2)
- OwnCorrect(CN: number, ent: IGESData_IGESEntity): boolean
Performs non-ambiguous Correction on Entities which support them (Boundary,ConicArc,Flash,OffsetCurve,TransformationMatrix).
Parameters (2)CNent
IGESGeom_SplineCurve
Defines IGESSplineCurve, Type <112> Form <0> in package IGESGeom The parametric spline is a sequence of parametric polynomial segments. The curve could be of the type Linear, Quadratic, Cubic, Wilson-Fowler, Modified Wilson-Fowler, B-Spline. The N polynomial segments are delimited by the break points: T(1), T(2), T(3), ..., T(N+1).
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(13)
- Init(aType: number, aDegree: number, nbDimensions: number, allBreakPoints: NCollection_HArray1_double, allXPolynomials: NCollection_HArray2_double, allYPolynomials: NCollection_HArray2_double, allZPolynomials: NCollection_HArray2_double, allXvalues: NCollection_HArray1_double, allYvalues: NCollection_HArray1_double, allZvalues: NCollection_HArray1_double): void
This method is used to set the fields of the class SplineCurve.
- aType : Spline Type 1 = Linear 2 = Quadratic 3 = Cubic 4 = Wilson-Fowler 5 = Modified Wilson-Fowler 6 = B Spline
- aDegree : Degree of continuity w.r.t. arc length
- nbDimensions : Number of dimensions 2 = Planar 3 = Non-planar
- allBreakPoints : Array of break points
- allXPolynomials : X coordinate polynomials of segments
- allYPolynomials : Y coordinate polynomials of segments
- allZPolynomials : Z coordinate polynomials of segments
- allXValues : Values of 1st, 2nd, 3rd derivatives of X polynomials at the terminate point and values of X at terminate point
- allYValues : Values of 1st, 2nd, 3rd derivatives of Y polynomials at the terminate point and values of Y at terminate point
- allZvalues : Values of 1st, 2nd, 3rd derivatives of Z polynomials at the terminate point and values of Z at terminate point raises exception if allXPolynomials, allYPolynomials & allZPolynomials are not of same size OR allXValues, allYValues & allZValues are not of size 4
Parameters (10)aTypeaDegreenbDimensionsallBreakPointsallXPolynomialsallYPolynomialsallZPolynomialsallXvaluesallYvaluesallZvalues
- SplineType(): number
returns the type of Spline curve
- Degree(): number
returns the degree of the curve
- NbDimensions(): number
returns the number of dimensions 2 = Planar 3 = Non-planar
- NbSegments(): number
returns the number of segments
- BreakPoint(Index: number): number
returns breakpoint of piecewise polynomial raises exception if Index <= 0 or Index >
NbSegments()+ 1Parameters (1)Index
- XCoordPolynomial(Index: number, AX: number, BX: number, CX: number, DX: number): { AX: number; BX: number; CX: number; DX: number }
returns X coordinate polynomial for segment referred to by Index raises exception if Index <= 0 or Index >
NbSegments()Parameters (5)IndexAXBXCXDX
ReturnsA result object with fields:
AX: updated value from the call.BX: updated value from the call.CX: updated value from the call.DX: updated value from the call.
- YCoordPolynomial(Index: number, AY: number, BY: number, CY: number, DY: number): { AY: number; BY: number; CY: number; DY: number }
returns Y coordinate polynomial for segment referred to by Index raises exception if Index <= 0 or Index >
NbSegments()Parameters (5)IndexAYBYCYDY
ReturnsA result object with fields:
AY: updated value from the call.BY: updated value from the call.CY: updated value from the call.DY: updated value from the call.
- ZCoordPolynomial(Index: number, AZ: number, BZ: number, CZ: number, DZ: number): { AZ: number; BZ: number; CZ: number; DZ: number }
returns Z coordinate polynomial for segment referred to by Index raises exception if Index <= 0 or Index >
NbSegments()Parameters (5)IndexAZBZCZDZ
ReturnsA result object with fields:
AZ: updated value from the call.BZ: updated value from the call.CZ: updated value from the call.DZ: updated value from the call.
- XValues(TPX0: number, TPX1: number, TPX2: number, TPX3: number): { TPX0: number; TPX1: number; TPX2: number; TPX3: number }
returns the value of X polynomial, the values of 1st, 2nd and 3rd derivatives of the X polynomial at the terminate point
Parameters (4)TPX0TPX1TPX2TPX3
ReturnsA result object with fields:
TPX0: updated value from the call.TPX1: updated value from the call.TPX2: updated value from the call.TPX3: updated value from the call.
- YValues(TPY0: number, TPY1: number, TPY2: number, TPY3: number): { TPY0: number; TPY1: number; TPY2: number; TPY3: number }
returns the value of Y polynomial, the values of 1st, 2nd and 3rd derivatives of the Y polynomial at the termminate point
Parameters (4)TPY0TPY1TPY2TPY3
ReturnsA result object with fields:
TPY0: updated value from the call.TPY1: updated value from the call.TPY2: updated value from the call.TPY3: updated value from the call.
- ZValues(TPZ0: number, TPZ1: number, TPZ2: number, TPZ3: number): { TPZ0: number; TPZ1: number; TPZ2: number; TPZ3: number }
returns the value of Z polynomial, the values of 1st, 2nd and 3rd derivatives of the Z polynomial at the termminate point
Parameters (4)TPZ0TPZ1TPZ2TPZ3
ReturnsA result object with fields:
TPZ0: updated value from the call.TPZ1: updated value from the call.TPZ2: updated value from the call.TPZ3: updated value from the call.
IGESGeom_SplineSurface
defines IGESSplineSurface, Type <114> Form <0> in package IGESGeom A parametric spline surface is a grid of polynomial patches. Patch could be of the type Linear, Quadratic, Cubic, Wilson-Fowler, Modified Wilson-Fowler, B-Spline The M * N grid of patches is defined by the 'u' break points TU(1), TU(2), ..., TU(M+1) and the 'v' break points TV(1), TV(2), TV(3) ..., TV(N+1).
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(12)
- Init(aBoundaryType: number, aPatchType: number, allUBreakpoints: NCollection_HArray1_double, allVBreakpoints: NCollection_HArray1_double, allXCoeffs: NCollection_HArray2_handle_NCollection_HArray1_double, allYCoeffs: NCollection_HArray2_handle_NCollection_HArray1_double, allZCoeffs: NCollection_HArray2_handle_NCollection_HArray1_double): void
This method is used to set the fields of the class SplineSurface.
- aBoundaryType : Type of Spline boundary 1 = Linear 2 = Quadratic 3 = Cubic 4 = Wilson-Fowler 5 = Modified Wilson-Fowler 6 = B-spline
- aPatchType : Type of patch contained in the grid 1 = Cartesian Product 0 = Unspecified
- allUBreakpoints : u values of grid lines
- allVBreakpoints : v values of grid lines
- allXCoeffs : X coefficients of M x N patches
- allYCoeffs : Y coefficients of M x N patches
- allZCoeffs : Z coefficients of M x N patches raises exception if allXCoeffs, allYCoeffs & allZCoeffs are not of the same size. or if the size of each element of the double array is not 16
Parameters (7)aBoundaryTypeaPatchTypeallUBreakpointsallVBreakpointsallXCoeffsallYCoeffsallZCoeffs
- NbUSegments(): number
returns the number of U segments
- NbVSegments(): number
returns the number of V segments
- BoundaryType(): number
returns boundary type
- PatchType(): number
returns patch type
- UBreakPoint(anIndex: number): number
returns U break point of the grid line referred to by anIndex raises exception if anIndex <= 0 or anIndex >
NbUSegments()+ 1Parameters (1)anIndex
- VBreakPoint(anIndex: number): number
returns V break point of the grid line referred to by anIndex raises exception if anIndex <= 0 or anIndex >
NbVSegments()+ 1Parameters (1)anIndex
- XPolynomial(anIndex1: number, anIndex2: number): NCollection_HArray1_double
returns X polynomial of patch referred to by anIndex1, anIndex2 raises exception if anIndex1 <= 0 or anIndex1 >
NbUSegments()or anIndex2 <= 0 or anIndex2 >NbVSegments()Parameters (2)anIndex1anIndex2
- YPolynomial(anIndex1: number, anIndex2: number): NCollection_HArray1_double
returns Y polynomial of patch referred to by anIndex1, anIndex2 raises exception if anIndex1 <= 0 or anIndex1 >
NbUSegments()or anIndex2 <= 0 or anIndex2 >NbVSegments()Parameters (2)anIndex1anIndex2
- ZPolynomial(anIndex1: number, anIndex2: number): NCollection_HArray1_double
returns Z polynomial of patch referred to by anIndex1, anIndex2 raises exception if anIndex1 <= 0 or anIndex1 >
NbUSegments()or anIndex2 <= 0 or anIndex2 >NbVSegments()Parameters (2)anIndex1anIndex2
- Polynomials(): { XCoef: NCollection_HArray2_handle_NCollection_HArray1_double; YCoef: NCollection_HArray2_handle_NCollection_HArray1_double; ZCoef: NCollection_HArray2_handle_NCollection_HArray1_double; [Symbol.dispose](): void }
returns in one all the polynomial values "in bulk" useful for massive treatments
ReturnsA result object with fields:
XCoef: owned by the returned envelope.YCoef: owned by the returned envelope.ZCoef: owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
IGESGeom_SurfaceOfRevolution
defines IGESSurfaceOfRevolution, Type <120> Form <0> in package IGESGeom A surface of revolution is defined by an axis of rotation a generatrix, and start and terminate rotation angles. The surface is created by rotating the generatrix about the axis of rotation through the start and terminate rotation angles.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(6)
- Init(anAxis: IGESGeom_Line, aGeneratrix: IGESData_IGESEntity, aStartAngle: number, anEndAngle: number): void
This method is used to set the fields of the class Line.
- anAxis : Axis of revolution
- aGeneratrix : The curve which is revolved about the axis
- aStartAngle : Start angle of the surface of revolution
- anEndAngle : End angle of the surface of revolution
Parameters (4)anAxisaGeneratrixaStartAngleanEndAngle
returns the axis of revolution
returns the curve which is revolved about the axis
- StartAngle(): number
returns start angle of revolution
- EndAngle(): number
returns end angle of revolution
IGESGeom_TabulatedCylinder
defines IGESTabulatedCylinder, Type <122> Form <0> in package IGESGeom A tabulated cylinder is a surface formed by moving a line segment called generatrix parallel to itself along a curve called directrix. The curve may be a line, circular arc, conic arc, parametric spline curve, rational B-spline curve or composite curve.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(5)
- Init(aDirectrix: IGESData_IGESEntity, anEnd: gp_XYZ): void
This method is used to set the fields of the class TabulatedCylinder.
- aDirectrix : Directrix Curve of the tabulated cylinder
- anEnd : Coordinates of the terminate point of the generatrix The start point of the directrix is identical to the start point of the generatrix
Parameters (2)aDirectrixanEnd
returns the directrix curve of the tabulated cylinder
returns end point of generatrix of the tabulated cylinder
returns end point of generatrix of the tabulated cylinder after applying Transf. Matrix
IGESGeom_ToolBoundary
Tool to work on a Boundary. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolBoundary, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESGeom_Boundary): boolean
Sets automatic unambiguous Correction on a Boundary (if BoundaryType = 0, Nullify all ParameterCurves).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_Boundary, 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: IGESGeom_Boundary, entto: IGESGeom_Boundary, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolBoundedSurface
Tool to work on a BoundedSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolBoundedSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_BoundedSurface, 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: IGESGeom_BoundedSurface, entto: IGESGeom_BoundedSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolBSplineCurve
Tool to work on a BSplineCurve. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolBSplineCurve, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_BSplineCurve, 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: IGESGeom_BSplineCurve, entto: IGESGeom_BSplineCurve, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolBSplineSurface
Tool to work on a BSplineSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolBSplineSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_BSplineSurface, 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: IGESGeom_BSplineSurface, entto: IGESGeom_BSplineSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolCircularArc
Tool to work on a CircularArc. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolCircularArc, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_CircularArc, 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: IGESGeom_CircularArc, entto: IGESGeom_CircularArc, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolCompositeCurve
Tool to work on a CompositeCurve. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolCompositeCurve, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_CompositeCurve, 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: IGESGeom_CompositeCurve, entto: IGESGeom_CompositeCurve, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolConicArc
Tool to work on a ConicArc. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolConicArc, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESGeom_ConicArc): boolean
Sets automatic unambiguous Correction on a ConicArc (FormNumber recomputed according case Ellips-Parab-Hyperb).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_ConicArc, 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: IGESGeom_ConicArc, entto: IGESGeom_ConicArc, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolCopiousData
Tool to work on a CopiousData. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolCopiousData, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_CopiousData, 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: IGESGeom_CopiousData, entto: IGESGeom_CopiousData, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolCurveOnSurface
Tool to work on a CurveOnSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolCurveOnSurface, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESGeom_CurveOnSurface): boolean
Sets automatic unambiguous Correction on a CurveOnSurface (its CurveUV must have UseFlag at 5).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_CurveOnSurface, 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: IGESGeom_CurveOnSurface, entto: IGESGeom_CurveOnSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolDirection
Tool to work on a Direction. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolDirection, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_Direction, 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: IGESGeom_Direction, entto: IGESGeom_Direction, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolFlash
Tool to work on a Flash. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolFlash, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESGeom_Flash): boolean
Sets automatic unambiguous Correction on a Flash (LineFont in Directory Entry forced to Rank = 1).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_Flash, 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: IGESGeom_Flash, entto: IGESGeom_Flash, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolLine
Tool to work on a Line. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolLine, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_Line, 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: IGESGeom_Line, entto: IGESGeom_Line, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolOffsetCurve
Tool to work on a OffsetCurve. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolOffsetCurve, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESGeom_OffsetCurve): boolean
Sets automatic unambiguous Correction on a OffsetCurve (if OffsetType is not 3, OffsetFunction is cleared).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_OffsetCurve, 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: IGESGeom_OffsetCurve, entto: IGESGeom_OffsetCurve, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolOffsetSurface
Tool to work on a OffsetSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolOffsetSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_OffsetSurface, 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: IGESGeom_OffsetSurface, entto: IGESGeom_OffsetSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolPlane
Tool to work on a Plane. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolPlane, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_Plane, 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: IGESGeom_Plane, entto: IGESGeom_Plane, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolPoint
Tool to work on a Point. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolPoint, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_Point, 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: IGESGeom_Point, entto: IGESGeom_Point, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolRuledSurface
Tool to work on a RuledSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolRuledSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_RuledSurface, 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: IGESGeom_RuledSurface, entto: IGESGeom_RuledSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolSplineCurve
Tool to work on a SplineCurve. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSplineCurve, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_SplineCurve, 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: IGESGeom_SplineCurve, entto: IGESGeom_SplineCurve, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolSplineSurface
Tool to work on a SplineSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSplineSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_SplineSurface, 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: IGESGeom_SplineSurface, entto: IGESGeom_SplineSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolSurfaceOfRevolution
Tool to work on a SurfaceOfRevolution. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSurfaceOfRevolution, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_SurfaceOfRevolution, 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: IGESGeom_SurfaceOfRevolution, entto: IGESGeom_SurfaceOfRevolution, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolTabulatedCylinder
Tool to work on a TabulatedCylinder. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolTabulatedCylinder, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_TabulatedCylinder, 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: IGESGeom_TabulatedCylinder, entto: IGESGeom_TabulatedCylinder, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolTransformationMatrix
Tool to work on a TransformationMatrix. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolTransformationMatrix, ready to work.
Instance methods(4)
- OwnCorrect(ent: IGESGeom_TransformationMatrix): boolean
Sets automatic unambiguous Correction on a TransformationMatrix (FormNumber if 0 or 1, recomputed according Positive/Negative).
Parameters (1)ent
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_TransformationMatrix, 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: IGESGeom_TransformationMatrix, entto: IGESGeom_TransformationMatrix, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_ToolTrimmedSurface
Tool to work on a TrimmedSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolTrimmedSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESGeom_TrimmedSurface, 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: IGESGeom_TrimmedSurface, entto: IGESGeom_TrimmedSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESGeom_TransformationMatrix
defines IGESTransformationMatrix, Type <124> Form <0> in package IGESGeom The transformation matrix entity transforms three-row column vectors by means of matrix multiplication and then a vector addition. This entity can be considered as an "operator" entity in that it starts with the input vector, operates on it as described above, and produces the output vector.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(5)
- Init(aMatrix: NCollection_HArray2_double): void
This method is used to set the fields of the class TransformationMatrix.
- aMatrix : 3 x 4 array containing elements of the transformation matrix raises exception if aMatrix is not 3 x 4 array
Parameters (1)aMatrix
- SetFormNumber(form: number): void
Changes FormNumber (indicates the Type of Transf : Transformation 0-1 or Coordinate System 10-11-12) Error if not in ranges [0-1] or [10-12].
Parameters (1)form
- Data(I: number, J: number): number
returns individual Data Error if I not in [1-3] or J not in [1-4]
Parameters (2)IJ
returns the transformation matrix 4th row elements of GTrsf will always be 0, 0, 0, 1 (not defined)
IGESGeom_TrimmedSurface
defines IGESTrimmedSurface, Type <144> Form <0> in package IGESGeom A simple closed curve in Euclidean plane divides the plane in to two disjoint, open connected components; one bounded, one unbounded. The bounded one is called the interior region to the curve. Unbounded component is called exterior region to the curve. The domain of the trimmed surface is defined as the interior of the outer boundaries and exterior of the inner boundaries and includes the boundary curves.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
- Init(aSurface: IGESData_IGESEntity, aFlag: number, anOuter: IGESGeom_CurveOnSurface, allInners: NCollection_HArray1_handle_IGESGeom_CurveOnSurface): void
This method is used to set the fields of the class TrimmedSurface.
- aSurface : Surface to be trimmed
- aFlag : Outer boundary type False = The outer boundary is the boundary of rectangle D which is the domain of the surface to be trimmed True = otherwise
- anOuter : Closed curve which constitutes outer boundary
- allInners : Array of closed curves which constitute the inner boundary
Parameters (4)aSurfaceaFlaganOuterallInners
returns the surface to be trimmed
- HasOuterContour(): boolean
returns True if outer contour exists
returns the outer contour of the trimmed surface
- OuterBoundaryType(): number
returns the outer contour type of the trimmed surface 0 : The outer boundary is the boundary of D 1 : otherwise
- NbInnerContours(): number
returns the number of inner boundaries
- InnerContour(Index: number): IGESGeom_CurveOnSurface
returns the Index'th inner contour raises exception if Index <= 0 or Index >
NbInnerContours()Parameters (1)Index