IGESSolid
OCCT package IGESSolid: IGESSolid, IGESSolid_Block, IGESSolid_BooleanTree, IGESSolid_ConeFrustum, and 50 more bound classes.
IGESSolid
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.
IGESSolid_Block
defines Block, Type <150> Form Number <0> in package IGESSolid The Block is a rectangular parallelopiped, defined with one vertex at (X1, Y1, Z1) and three edges lying along the local +X, +Y, +Z axes.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(14)
This method is used to set the fields of the class Block.
- aSize : Length in each local directions
- aCorner : Corner point coordinates. Default (0,0,0)
- aXAxis : Unit vector defining local X-axis default (1,0,0)
- aZAxis : Unit vector defining local Z-axis default (0,0,1)
Parameters (4)aSizeaCorneraXAxisaZAxis
returns the size of the block
- XLength(): number
returns the length of the Block along the local X-direction
- YLength(): number
returns the length of the Block along the local Y-direction
- ZLength(): number
returns the length of the Block along the local Z-direction
returns the corner point coordinates of the Block
returns the corner point coordinates of the Block after applying the TransformationMatrix
returns the direction defining the local X-axis
returns the direction defining the local X-axis after applying TransformationMatrix
returns the direction defining the local Y-axis it is the cross product of ZAxis and XAxis
returns the direction defining the local Y-axis after applying TransformationMatrix
returns the direction defining the local X-axis
returns the direction defining the local Z-axis after applying TransformationMatrix
IGESSolid_BooleanTree
defines BooleanTree, Type <180> Form Number <0> in package IGESSolid The Boolean tree describes a binary tree structure composed of regularized Boolean operations and operands, in post-order notation.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(6)
- Init(operands: NCollection_HArray1_handle_IGESData_IGESEntity, operations: NCollection_HArray1_int): void
This method is used to set the fields of the class BooleanTree.
- operands : Array containing pointer to DE of operands
- operations : Array containing integer type for operations
Parameters (2)operandsoperations
- Length(): number
returns the length of the post-order list
- IsOperand(Index: number): boolean
returns True if Index'th value in the post-order list is an Operand; else returns False if it is an Integer Operations raises exception if Index < 1 or Index >
Length()Parameters (1)Index
- Operand(Index: number): IGESData_IGESEntity
returns the Index'th value in the post-order list only if it is an operand else returns NULL raises exception if Index < 1 or Index >
Length()Parameters (1)Index
- Operation(Index: number): number
returns the Index'th value in the post-order list only if it is an operation else returns 0 raises exception if Index < 1 or Index >
Length()Parameters (1)Index
IGESSolid_ConeFrustum
defines ConeFrustum, Type <156> Form Number <0> in package IGESSolid The Cone Frustum is defined by the center of the larger circular face of the frustum, its radius, a unit vector in the axis direction, a height in this direction and a second circular face with radius which is lesser than the first face.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(9)
This method is used to set the fields of the class ConeFrustum.
- Ht : the Height of cone
- R1 : Radius of the larger face
- R2 : Radius of the smaller face (default 0)
- Center : Center of the larger face (default (0,0,0))
- anAxis : Unit vector in axis direction (default (0,0,1))
Parameters (5)HtR1R2CenteranAxis
- Height(): number
returns the height of the cone frustum
- LargerRadius(): number
returns the radius of the larger face of the cone frustum
- SmallerRadius(): number
returns the radius of the second face of the cone frustum
- FaceCenter(): gp_Pnt
returns the center of the larger face of the cone frustum
returns the center of the larger face of the cone frustum after applying TransformationMatrix
returns the direction of the axis of the cone frustum
returns the direction of the axis of the cone frustum after applying TransformationMatrix
IGESSolid_ConicalSurface
defines ConicalSurface, Type <194> Form Number <0,1> in package IGESSolid The right circular conical surface is defined by a point on the axis on the cone, the direction of the axis of the cone, the radius of the cone at the axis point and the cone semi-angle.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
- Init(aLocation: IGESGeom_Point, anAxis: IGESGeom_Direction, aRadius: number, anAngle: number, aRefdir: IGESGeom_Direction): void
This method is used to set the fields of the class ConicalSurface.
- aLocation : Location of the point on axis
- anAxis : Direction of the axis
- aRadius : Radius at axis point
- anAngle : Value of semi-angle in degrees (0
Parameters (5)aLocationanAxisaRadiusanAngleaRefdir
returns the location of the point on the axis
returns the direction of the axis
- Radius(): number
returns the radius at the axis point
- SemiAngle(): number
returns the semi-angle value
returns the reference direction of the conical surface in case of parametrised surface. For unparametrised surface it returns NULL.
- IsParametrised(): boolean
returns True if Form no is 1 else false
IGESSolid_Cylinder
defines Cylinder, Type <154> Form Number <0> in package IGESSolid This defines a solid cylinder
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
This method is used to set the fields of the class Cylinder.
- aHeight : Cylinder height
- aRadius : Cylinder radius
- aCenter : First face center coordinates (default (0,0,0))
- anAxis : Unit vector in axis direction (default (0,0,1))
Parameters (4)aHeightaRadiusaCenteranAxis
- Height(): number
returns the cylinder height
- Radius(): number
returns the cylinder radius
- FaceCenter(): gp_Pnt
returns the first face center coordinates.
returns the first face center after applying TransformationMatrix
returns the vector in axis direction
returns the vector in axis direction after applying TransformationMatrix
IGESSolid_CylindricalSurface
defines CylindricalSurface, Type <192> Form Number <0,1> in package IGESSolid
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(7)
- Init(aLocation: IGESGeom_Point, anAxis: IGESGeom_Direction, aRadius: number, aRefdir: IGESGeom_Direction): void
This method is used to set the fields of the class CylindricalSurface.
- aLocation : the location of the point on axis
- anAxis : the direction of the axis
- aRadius : the radius at the axis point
- aRefdir : the reference direction (parametrised surface) default NULL (unparametrised surface)
Parameters (4)aLocationanAxisaRadiusaRefdir
returns the point on the axis
returns the direction on the axis
- Radius(): number
returns the radius at the axis point
- IsParametrised(): boolean
returns whether the surface is parametrised or not
returns the reference direction only for parametrised surface else returns NULL
IGESSolid_EdgeList
defines EdgeList, Type <504> Form <1> in package IGESSolid EdgeList is defined as a segment joining two vertices It contains one or more edge tuples.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
- Init(curves: NCollection_HArray1_handle_IGESData_IGESEntity, startVertexList: NCollection_HArray1_handle_IGESSolid_VertexList, startVertexIndex: NCollection_HArray1_int, endVertexList: NCollection_HArray1_handle_IGESSolid_VertexList, endVertexIndex: NCollection_HArray1_int): void
This method is used to set the fields of the class EdgeList.
- curves : the model space curves
- startVertexList : the vertex list that contains the start vertices
- startVertexIndex : the index of the vertex in the corresponding vertex list
- endVertexList : the vertex list that contains the end vertices
- endVertexIndex : the index of the vertex in the corresponding vertex list raises exception if size of curves,startVertexList,startVertexIndex, endVertexList and endVertexIndex do no match
Parameters (5)curvesstartVertexListstartVertexIndexendVertexListendVertexIndex
- NbEdges(): number
returns the number of edges in the edge list
- Curve(num: number): IGESData_IGESEntity
returns the num'th model space curve raises Exception if num <= 0 or num >
NbEdges()Parameters (1)num
- StartVertexList(num: number): IGESSolid_VertexList
returns the num'th start vertex list raises Exception if num <= 0 or num >
NbEdges()Parameters (1)num
- StartVertexIndex(num: number): number
returns the index of num'th start vertex in the corresponding start vertex list raises Exception if num <= 0 or num >
NbEdges()Parameters (1)num
- EndVertexList(num: number): IGESSolid_VertexList
returns the num'th end vertex list raises Exception if num <= 0 or num >
NbEdges()Parameters (1)num
- EndVertexIndex(num: number): number
returns the index of num'th end vertex in the corresponding end vertex list raises Exception if num <= 0 or num >
NbEdges()Parameters (1)num
IGESSolid_Ellipsoid
defines Ellipsoid, Type <168> Form Number <0> in package IGESSolid The ellipsoid is a solid bounded by the surface defined by: X^2 Y^2 Z^2 ---- + ---- + ---- = 1 LX^2 LY^2 LZ^2
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(14)
This method is used to set the fields of the class Ellipsoid.
- aSize : Lengths in the local X,Y,Z directions
- aCenter : Center point of ellipsoid (default (0,0,0))
- anXAxis : Unit vector defining local X-axis default (1,0,0)
- anZAxis : Unit vector defining local Z-axis default (0,0,1)
Parameters (4)aSizeaCenteranXAxisanZAxis
returns the size
- XLength(): number
returns the length in the local X-direction
- YLength(): number
returns the length in the local Y-direction
- ZLength(): number
returns the length in the local Z-direction
returns the center of the ellipsoid
returns the center of the ellipsoid after applying TransformationMatrix
returns the vector corresponding to the local X-direction
returns the vector corresponding to the local X-direction after applying TransformationMatrix
returns the vector corresponding to the local Y-direction which is got by taking cross product of ZAxis and XAxis
returns the vector corresponding to the local Y-direction (which is got by taking cross product of ZAxis and XAxis) after applying TransformationMatrix
returns the vector corresponding to the local Z-direction
returns the vector corresponding to the local Z-direction after applying TransformationMatrix
IGESSolid_Face
defines Face, Type <510> Form Number <1> in package IGESSolid Face entity is a bound (partial) which has finite area
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(6)
- Init(aSurface: IGESData_IGESEntity, outerLoopFlag: boolean, loops: NCollection_HArray1_handle_IGESSolid_Loop): void
This method is used to set the fields of the class Face.
- aSurface : Pointer to the underlying surface
- outerLoopFlag : True means the first loop is the outer loop
- loops : Array of loops bounding the face
Parameters (3)aSurfaceouterLoopFlagloops
returns the underlying surface of the face
- NbLoops(): number
returns the number of the loops bounding the face
- HasOuterLoop(): boolean
checks whether there is an outer loop or not
- Loop(Index: number): IGESSolid_Loop
returns the Index'th loop that bounds the face raises exception if Index < 0 or Index >= NbLoops
Parameters (1)Index
IGESSolid_GeneralModule
Definition of General Services for IGESSolid (specific part) This Services comprise : Shared & Implied Lists, Copy, Check.
Constructors(1)
Creates a GeneralModule from
IGESSolidand 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.
Parameters (3)CNentshares
IGESSolid_Loop
defines Loop, Type <508> Form Number <1> in package IGESSolid A Loop entity specifies a bound of a face. It represents a connected collection of face boundaries, seams, and poles of a single face.
From IGES-5.3, a Loop can be free with Form Number 0, else it is a bound of a face (it is the default)
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(12)
- Init(types: NCollection_HArray1_int, edges: NCollection_HArray1_handle_IGESData_IGESEntity, index: NCollection_HArray1_int, orient: NCollection_HArray1_int, nbParameterCurves: NCollection_HArray1_int, isoparametricFlags: IGESBasic_HArray1OfHArray1OfInteger, curves: IGESBasic_HArray1OfHArray1OfIGESEntity): void
This method is used to set the fields of the class Loop.
- types : 0 = Edge; 1 = Vertex
- edges : Pointer to the EdgeList or VertexList
- index : Index of the edge into the EdgeList VertexList entity
- orient : Orientation flag of the edge
- nbParameterCurves : the number of parameter space curves for each edge
- isoparametricFlags : the isoparametric flag of the parameter space curve
- curves : the parameter space curves raises exception if length of types, edges, index, orient and nbParameterCurves do not match or the length of isoparametricFlags and curves do not match
Parameters (7)typesedgesindexorientnbParameterCurvesisoparametricFlagscurves
- IsBound(): boolean
Tells if a Loop is a Bound (FN 1) else it is free (FN 0).
- SetBound(bound: boolean): void
Sets or Unset the Bound Status (from Form Number) Default is True.
Parameters (1)bound
- NbEdges(): number
returns the number of edge tuples
- EdgeType(Index: number): number
returns the type of Index'th edge (0 = Edge, 1 = Vertex) raises exception if Index <= 0 or Index >
NbEdges()Parameters (1)Index
- Edge(Index: number): IGESData_IGESEntity
return the EdgeList or VertexList corresponding to the Index raises exception if Index <= 0 or Index >
NbEdges()Parameters (1)Index
- Orientation(Index: number): boolean
returns the orientation flag corresponding to Index'th edge raises exception if Index <= 0 or Index >
NbEdges()Parameters (1)Index
- NbParameterCurves(Index: number): number
return the number of parameter space curves associated with Index'th Edge raises exception if Index <= 0 or Index >
NbEdges()Parameters (1)Index
- IsIsoparametric(EdgeIndex: number, CurveIndex: number): booleanParameters (2)
EdgeIndexCurveIndex
- ParametricCurve(EdgeIndex: number, CurveIndex: number): IGESData_IGESEntity
returns the CurveIndex'th parameter space curve associated with EdgeIndex'th edge raises exception if EdgeIndex <= 0 or EdgeIndex >
NbEdges()or if CurveIndex <= 0 or CurveIndex > NbParameterCurves(EdgeIndex)Parameters (2)EdgeIndexCurveIndex
- ListIndex(num: number): number
raises exception If num <= 0 or num >
NbEdges()Parameters (1)num
IGESSolid_ManifoldSolid
defines ManifoldSolid, Type <186> Form Number <0> in package IGESSolid A manifold solid is a bounded, closed, and finite volume in three dimensional Euclidean space
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(7)
- Init(aShell: IGESSolid_Shell, shellflag: boolean, voidShells: NCollection_HArray1_handle_IGESSolid_Shell, voidShellFlags: NCollection_HArray1_int): void
This method is used to set the fields of the class ManifoldSolid.
- aShell : pointer to the shell
- shellflag : orientation flag of shell
- voidShells : the void shells
- voidShellFlags : orientation of the void shells raises exception if length of voidShells and voidShellFlags do not match
Parameters (4)aShellshellflagvoidShellsvoidShellFlags
returns the Shell entity which is being referred
- OrientationFlag(): boolean
returns the orientation flag of the shell
- NbVoidShells(): number
returns the number of void shells
- VoidShell(Index: number): IGESSolid_Shell
returns Index'th void shell. raises exception if Index <= 0 or Index >
NbVoidShells()Parameters (1)Index
- VoidOrientationFlag(Index: number): boolean
returns Index'th orientation flag. raises exception if Index <= 0 or Index >
NbVoidShells()Parameters (1)Index
IGESSolid_PlaneSurface
defines PlaneSurface, Type <190> Form Number <0,1> in package IGESSolid A plane surface entity is defined by a point on the surface and a normal to it.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(6)
- Init(aLocation: IGESGeom_Point, aNormal: IGESGeom_Direction, refdir: IGESGeom_Direction): void
This method is used to set the fields of the class PlaneSurface.
- aLocation : the point on the surface
- aNormal : the surface normal direction
- refdir : the reference direction (default NULL) for unparameterised curves
Parameters (3)aLocationaNormalrefdir
returns the point on the surface
returns the normal to the surface
returns the reference direction (for parameterised curve) returns NULL for unparameterised curve
- IsParametrised(): boolean
returns True if parameterised, else False
IGESSolid_Protocol
Description of Protocol for IGESSolid.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(4)
- NbResources(): number
Gives the count of Resource Protocol. Here, one (Protocol from
IGESGeom). - 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
IGESSolid_ReadWriteModule
Defines Solid File Access Module for IGESSolid (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.
IGESSolid_RightAngularWedge
defines RightAngularWedge, Type <152> Form Number <0> in package IGESSolid A right angular wedge is a triangular/trapezoidal prism
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(15)
This method is used to set the fields of the class RightAngularWedge.
- aSize : the lengths along the local axes
- lowX : the length at the smaller X-side
- aCorner : the corner point coordinates default (0,0,0)
- anXAxis : the unit vector defining local X-axis default (1,0,0)
- anZAxis : the unit vector defining local Z-axis default (0,0,1)
Parameters (5)aSizelowXaCorneranXAxisanZAxis
returns the size
- XBigLength(): number
returns the length along the local X-axis
- XSmallLength(): number
returns the smaller length along the local X-direction at Y=LY
- YLength(): number
returns the length along the local Y-axis
- ZLength(): number
returns the length along the local Z-axis
returns the corner point coordinates
returns the corner point coordinates after applying TransformationMatrix
returns the direction defining the local X-axis
returns the direction defining the local X-axis after applying the TransformationMatrix
returns the direction defining the local Y-axis it is got by taking the cross product of ZAxis and XAxis
returns the direction defining the local Y-axis after applying the TransformationMatrix
returns the direction defining the local Z-axis
returns the direction defining the local Z-axis after applying the TransformationMatrix
IGESSolid_SelectedComponent
defines SelectedComponent, Type <182> Form Number <0> in package IGESSolid The Selected Component entity provides a means of selecting one component of a disjoint CSG solid
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(5)
- Init(anEntity: IGESSolid_BooleanTree, selectPnt: gp_XYZ): void
This method is used to set the fields of the class SelectedComponent.
- anEntity : the Boolean tree entity
- selectPnt : Point in or on the desired component
Parameters (2)anEntityselectPnt
returns the Boolean tree entity
returns the point on/in the selected component
returns the point on/in the selected component after applying TransformationMatrix
IGESSolid_Shell
defines Shell, Type <514> Form Number <1> in package IGESSolid Shell entity is a connected entity of dimensionality 2 which divides R3 into two arcwise connected open subsets, one of which is finite. Inside of the shell is defined to be the finite region. From IGES-5.3, Form can be <1> for Closed or <2> for Open
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(7)
- Init(allFaces: NCollection_HArray1_handle_IGESSolid_Face, allOrient: NCollection_HArray1_int): void
This method is used to set the fields of the class Shell.
- allFaces : the faces comprising the shell
- allOrient : the orientation flags of the shell raises exception if length of allFaces & allOrient do not match
Parameters (2)allFacesallOrient
- IsClosed(): boolean
Tells if a Shell is Closed, i.e. if its FormNumber is 1 (this is the default).
- SetClosed(closed: boolean): void
Sets or Unsets the Closed status (FormNumber = 1 else 2).
Parameters (1)closed
- NbFaces(): number
returns the number of the face entities in the shell
- Face(Index: number): IGESSolid_Face
returns the Index'th face entity of the shell raises exception if Index <= 0 or Index >
NbFaces()Parameters (1)Index
- Orientation(Index: number): boolean
returns the orientation of Index'th face w.r.t the direction of the underlying surface raises exception if Index <= 0 or Index >
NbFaces()Parameters (1)Index
IGESSolid_SolidAssembly
defines SolidAssembly, Type <184> Form <0> in package IGESSolid Solid assembly is a collection of items which possess a shared fixed geometric relationship.
From IGES-5.3, From 1 says that at least one item is a Brep else all are Primitives, Boolean Trees, Solid Instances or other Assemblies
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(7)
- Init(allItems: NCollection_HArray1_handle_IGESData_IGESEntity, allMatrices: NCollection_HArray1_handle_IGESGeom_TransformationMatrix): void
This method is used to set the fields of the class SolidAssembly.
- allItems : the collection of items
- allMatrices : transformation matrices corresponding to each item raises exception if the length of allItems & allMatrices do not match
Parameters (2)allItemsallMatrices
- HasBrep(): boolean
Tells if at least one item is a Brep, from FormNumber.
- SetBrep(hasbrep: boolean): void
Sets or Unsets the status "HasBrep" from FormNumber Default is False.
Parameters (1)hasbrep
- NbItems(): number
returns the number of items in the collection
- Item(Index: number): IGESData_IGESEntity
returns the Index'th item raises exception if Index <= 0 or Index >
NbItems()Parameters (1)Index
- TransfMatrix(Index: number): IGESGeom_TransformationMatrix
returns the transformation matrix of the Index'th item raises exception if Index <= 0 or Index >
NbItems()Parameters (1)Index
IGESSolid_SolidInstance
defines SolidInstance, Type <430> Form Number <0> in package IGESSolid This provides a mechanism for replicating a solid representation.
From IGES-5.3, Form may be <1> for a BREP Else it is for a Boolean Tree, Primitive, other Solid Inst.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(5)
- Init(anEntity: IGESData_IGESEntity): void
This method is used to set the fields of the class SolidInstance.
- anEntity : the entity corresponding to the solid
Parameters (1)anEntity
- IsBrep(): boolean
Tells if a SolidInstance is for a BREP Default is False.
- SetBrep(brep: boolean): void
Sets or unsets the Brep status (FormNumber = 1 else 0).
Parameters (1)brep
returns the solid entity
IGESSolid_SolidOfLinearExtrusion
defines SolidOfLinearExtrusion, Type <164> Form Number <0> in package IGESSolid Solid of linear extrusion is defined by translating an area determined by a planar curve
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(6)
- Init(aCurve: IGESData_IGESEntity, aLength: number, aDirection: gp_XYZ): void
This method is used to set the fields of the class SolidOfLinearExtrusion.
- aCurve : the planar curve that is to be translated
- aLength : the length of extrusion
- aDirection : the vector specifying the direction of extrusion default (0,0,1)
Parameters (3)aCurveaLengthaDirection
returns the planar curve that is to be translated
- ExtrusionLength(): number
returns the Extrusion Length
returns the Extrusion direction
returns ExtrusionDirection after applying TransformationMatrix
IGESSolid_SolidOfRevolution
defines SolidOfRevolution, Type <162> Form Number <0,1> in package IGESSolid This entity is defined by revolving the area determined by a planar curve about a specified axis through a given fraction of full rotation.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(10)
- Init(aCurve: IGESData_IGESEntity, aFract: number, aAxisPnt: gp_XYZ, aDirection: gp_XYZ): void
This method is used to set the fields of the class SolidOfRevolution.
- aCurve : the curve entity that is to be revolved
- aFract : the fraction of full rotation (default 1.0)
- aAxisPnt : the point on the axis
- aDirection : the direction of the axis
Parameters (4)aCurveaFractaAxisPntaDirection
- SetClosedToAxis(mode: boolean): void
Sets the Curve to be by default, Closed to Axis (Form 0) if <mode> is True, Closed to Itself (Form 1) else.
Parameters (1)mode
- IsClosedToAxis(): boolean
Returns True if Form Number = 0 if Form no is 0, then the curve is closed to axis if 1, the curve is closed to itself.
returns the curve entity that is to be revolved
- Fraction(): number
returns the fraction of full rotation that the curve is to be rotated
returns the point on the axis
returns the point on the axis after applying Trans.Matrix
returns the direction of the axis
returns the direction of the axis after applying TransformationMatrix
IGESSolid_SpecificModule
Defines Services attached to IGES Entities : Dump, for IGESSolid.
Constructors(1)
Creates a SpecificModule from
IGESSolid& puts it into SpecificLib.
Static methods(2)
- get_type_name(): string
Instance methods(1)
IGESSolid_Sphere
defines Sphere, Type <158> Form Number <0> in package IGESSolid This defines a sphere with a center and radius
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(5)
This method is used to set the fields of the class Sphere.
- aRadius : the radius of the sphere
- aCenter : the center point coordinates (default (0,0,0))
Parameters (2)aRadiusaCenter
- Radius(): number
returns the radius of the sphere
returns the center of the sphere
returns the center of the sphere after applying TransformationMatrix
IGESSolid_SphericalSurface
defines SphericalSurface, Type <196> Form Number <0,1> in package IGESSolid Spherical surface is defined by a center and radius. In case of parametrised surface an axis and a reference direction is provided.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
- Init(aCenter: IGESGeom_Point, aRadius: number, anAxis: IGESGeom_Direction, aRefdir: IGESGeom_Direction): void
This method is used to set the fields of the class SphericalSurface.
- aCenter : the coordinates of the center point
- aRadius : value of radius
- anAxis : the direction of the axis Null in case of Unparametrised surface
- aRefdir : the reference direction Null in case of Unparametrised surface
Parameters (4)aCenteraRadiusanAxisaRefdir
returns the center of the spherical surface
returns the center of the spherical surface after applying TransformationMatrix
- Radius(): number
returns the radius of the spherical surface
returns the direction of the axis (Parametrised surface) Null is returned if the surface is not parametrised
returns the reference direction (Parametrised surface) Null is returned if the surface is not parametrised
- IsParametrised(): boolean
Returns True if the surface is parametrised, else False.
IGESSolid_ToolBlock
Tool to work on a Block. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolBlock, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_Block, 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: IGESSolid_Block, entto: IGESSolid_Block, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolBooleanTree
Tool to work on a BooleanTree. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolBooleanTree, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_BooleanTree, 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: IGESSolid_BooleanTree, entto: IGESSolid_BooleanTree, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolConeFrustum
Tool to work on a ConeFrustum. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolConeFrustum, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_ConeFrustum, 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: IGESSolid_ConeFrustum, entto: IGESSolid_ConeFrustum, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolConicalSurface
Tool to work on a ConicalSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolConicalSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_ConicalSurface, 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: IGESSolid_ConicalSurface, entto: IGESSolid_ConicalSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolCylinder
Tool to work on a Cylinder. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolCylinder, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_Cylinder, 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: IGESSolid_Cylinder, entto: IGESSolid_Cylinder, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolCylindricalSurface
Tool to work on a CylindricalSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolCylindricalSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_CylindricalSurface, 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: IGESSolid_CylindricalSurface, entto: IGESSolid_CylindricalSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolEdgeList
Tool to work on a EdgeList. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolEdgeList, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_EdgeList, 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: IGESSolid_EdgeList, entto: IGESSolid_EdgeList, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolEllipsoid
Tool to work on a Ellipsoid. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolEllipsoid, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_Ellipsoid, 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: IGESSolid_Ellipsoid, entto: IGESSolid_Ellipsoid, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolFace
Tool to work on a Face. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolFace, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_Face, 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: IGESSolid_Face, entto: IGESSolid_Face, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolLoop
Tool to work on a Loop. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolLoop, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_Loop, 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: IGESSolid_Loop, entto: IGESSolid_Loop, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolManifoldSolid
Tool to work on a ManifoldSolid. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolManifoldSolid, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_ManifoldSolid, 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: IGESSolid_ManifoldSolid, entto: IGESSolid_ManifoldSolid, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolPlaneSurface
Tool to work on a PlaneSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolPlaneSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_PlaneSurface, 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: IGESSolid_PlaneSurface, entto: IGESSolid_PlaneSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolRightAngularWedge
Tool to work on a RightAngularWedge. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolRightAngularWedge, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_RightAngularWedge, 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: IGESSolid_RightAngularWedge, entto: IGESSolid_RightAngularWedge, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolSelectedComponent
Tool to work on a SelectedComponent. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSelectedComponent, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_SelectedComponent, 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: IGESSolid_SelectedComponent, entto: IGESSolid_SelectedComponent, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolShell
Tool to work on a Shell. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolShell, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_Shell, 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: IGESSolid_Shell, entto: IGESSolid_Shell, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolSolidAssembly
Tool to work on a SolidAssembly. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSolidAssembly, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_SolidAssembly, 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: IGESSolid_SolidAssembly, entto: IGESSolid_SolidAssembly, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolSolidInstance
Tool to work on a SolidInstance. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSolidInstance, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_SolidInstance, 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: IGESSolid_SolidInstance, entto: IGESSolid_SolidInstance, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolSolidOfLinearExtrusion
Tool to work on a SolidOfLinearExtrusion. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSolidOfLinearExtrusion, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_SolidOfLinearExtrusion, 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: IGESSolid_SolidOfLinearExtrusion, entto: IGESSolid_SolidOfLinearExtrusion, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolSolidOfRevolution
Tool to work on a SolidOfRevolution. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSolidOfRevolution, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_SolidOfRevolution, 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: IGESSolid_SolidOfRevolution, entto: IGESSolid_SolidOfRevolution, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolSphere
Tool to work on a Sphere. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSphere, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_Sphere, 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: IGESSolid_Sphere, entto: IGESSolid_Sphere, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolSphericalSurface
Tool to work on a SphericalSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolSphericalSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_SphericalSurface, 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: IGESSolid_SphericalSurface, entto: IGESSolid_SphericalSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolToroidalSurface
Tool to work on a ToroidalSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolToroidalSurface, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_ToroidalSurface, 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: IGESSolid_ToroidalSurface, entto: IGESSolid_ToroidalSurface, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolTorus
Tool to work on a Torus. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolTorus, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_Torus, 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: IGESSolid_Torus, entto: IGESSolid_Torus, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_ToolVertexList
Tool to work on a VertexList. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).
Constructors(1)
Returns a ToolVertexList, ready to work.
Instance methods(3)
Returns specific DirChecker.
Parameters (1)ent
- OwnCheck(ent: IGESSolid_VertexList, 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: IGESSolid_VertexList, entto: IGESSolid_VertexList, TC: Interface_CopyTool): void
Copies Specific Parameters.
Parameters (3)entfromenttoTC
IGESSolid_TopoBuilder
This class manages the creation of an IGES Topologic entity (BREP : ManifoldSolid, Shell, Face) This includes definiting of Vertex and Edge Lists, building of Edges and Loops.
Constructors(1)
Creates an empty TopoBuilder This creates also a unique VertexList and a unique EdgeList, empty, but which can be referenced from starting.
Instance methods(24)
- Clear(): void
Resets the TopoBuilder for an entirely new operation (with a new EdgeList, a new VertexList, new Shells, ...).
Adds a Vertex to the VertexList.
Parameters (1)val
- NbVertices(): number
Returns the count of already recorded Vertices.
Returns a Vertex, given its rank.
Parameters (1)num
Returns the VertexList. It can be referenced, but it remains empty until call to EndShell or EndSolid.
- AddEdge(curve: IGESData_IGESEntity, vstart: number, vend: number): void
Adds an Edge (3D) to the EdgeList, defined by a Curve and two number of Vertex, for start and end.
Parameters (3)curvevstartvend
- NbEdges(): number
Returns the count of recorded Edges (3D).
- Edge(num: number, vstart: number, vend: number): { curve: IGESData_IGESEntity; vstart: number; vend: number; [Symbol.dispose](): void }
Returns the definition of an Edge (3D) given its rank.
Parameters (3)numvstartvend
ReturnsA result object with fields:
curve: owned by the returned envelope.vstart: updated value from the call.vend: updated value from the call.
Dispose the returned envelope to release owned Handle fields.
Returns the EdgeList. It can be referenced, but it remains empty until call to EndShell or EndSolid.
- MakeLoop(): void
Begins the definition of a new Loop : it is the Current Loop All Edges (UV) defined by MakeEdge/EndEdge will be added in it The Loop can then be referenced but is empty. It will be filled with its Edges(UV) by EndLoop (from SetOuter/AddInner).
- MakeEdge(edgetype: number, edge3d: number, orientation: number): void
Defines an Edge(UV), to be added in the current Loop by EndEdge <edgetype> gives the type of the edge <edge3d> identifies the Edge(3D) used as support The EdgeList is always the current one <orientation gives the orientation flag It is then necessary to :
- give the parametric curves
- close the definition of this edge(UV) by EndEdge, else the next call to MakeEdge will erase this one
Parameters (3)edgetypeedge3dorientation
- AddCurveUV(curve: IGESData_IGESEntity, iso: number): void
Adds a Parametric Curve (UV) to the current Edge(UV).
Parameters (2)curveiso
- EndEdge(): void
Closes the definition of an Edge(UV) and adds it to the current Loop.
- MakeFace(surface: IGESData_IGESEntity): void
Begins the definition of a new Face, on a surface All Loops defined by MakeLoop will be added in it, according the closing call : SetOuter for the Outer Loop (by default, if SetOuter is not called, no OuterLoop is defined); AddInner for the list of Inner Loops (there can be none).
Parameters (1)surface
- SetOuter(): void
Closes the current Loop and sets it Loop as Outer Loop. If no current Loop has yet been defined, does nothing.
- AddInner(): void
Closes the current Loop and adds it to the list of Inner Loops for the current Face.
- EndFace(orientation: number): void
Closes the definition of the current Face, fills it and adds it to the current Shell with an orientation flag (0/1).
Parameters (1)orientation
- MakeShell(): void
Begins the definition of a new Shell (either Simple or in a Solid).
- EndSimpleShell(): void
Closes the whole definition as that of a simple Shell.
- SetMainShell(orientation: number): void
Closes the definition of the current Shell as for the Main Shell of a Solid, with an orientation flag (0/1).
Parameters (1)orientation
- AddVoidShell(orientation: number): void
Closes the definition of the current Shell and adds it to the list of Void Shells of a Solid, with an orientation flag (0/1).
Parameters (1)orientation
- EndSolid(): void
Closes the whole definition as that of a ManifoldSolid Its call is exclusive from that of EndSimpleShell.
Returns the current Shell. The current Shell is created empty by MakeShell and filled by EndShell.
Returns the current ManifoldSolid. It is created empty by Create and filled by EndSolid.
IGESSolid_ToroidalSurface
defines ToroidalSurface, Type <198> Form Number <0,1> in package IGESSolid This entity is defined by the center point, the axis direction and the major and minor radii. In case of parametrised surface a reference direction is provided.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(9)
- Init(aCenter: IGESGeom_Point, anAxis: IGESGeom_Direction, majRadius: number, minRadius: number, Refdir: IGESGeom_Direction): void
This method is used to set the fields of the class ToroidalSurface.
- aCenter : the center point coordinates
- anAxis : the direction of the axis
- majRadius : the major radius
- minRadius : the minor radius
- Refdir : the reference direction (parametrised) default Null for unparametrised surface
Parameters (5)aCenteranAxismajRadiusminRadiusRefdir
returns the center point coordinates of the surface
returns the center point coordinates of the surface after applying TransformationMatrix
returns the direction of the axis
- MajorRadius(): number
returns the major radius of the surface
- MinorRadius(): number
returns the minor radius of the surface
returns the reference direction (parametrised surface) Null is returned if the surface is not parametrised
- IsParametrised(): boolean
Returns True if the surface is parametrised, else False.
IGESSolid_Torus
defines Torus, Type <160> Form Number <0> in package IGESSolid A Torus is a solid formed by revolving a circular disc about a specified coplanar axis.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(8)
This method is used to set the fields of the class Torus.
- R1 : distance from center of torus to center of circular disc to be revolved
- R2 : radius of circular disc
- aPoint : center point coordinates (default (0,0,0))
- anAxis : unit vector in axis direction (default (0,0,1))
Parameters (4)R1R2aPointanAxisdir
- MajorRadius(): number
returns the distance from the center of torus to the center of the disc to be revolved
- DiscRadius(): number
returns the radius of the disc to be revolved
returns the center of torus
returns the center of torus after applying TransformationMatrix
returns direction of the axis
returns direction of the axis after applying TransformationMatrix
IGESSolid_VertexList
defines VertexList, Type <502> Form Number <1> in package IGESSolid A vertex is a point in R3. A vertex is the bound of an edge and can participate in the bounds of a face. It contains one or more vertices.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(4)
- Init(vertices: NCollection_HArray1_gp_XYZ): void
This method is used to set the fields of the class VertexList.
- vertices : the vertices in the list
Parameters (1)vertices
- NbVertices(): number
return the number of vertices in the list
returns the num'th vertex in the list raises exception if num <= 0 or num >
NbVertices()Parameters (1)num