XSAlgo
OCCT package XSAlgo: XSAlgo, XSAlgo_AlgoContainer.
XSAlgo
Constructors(1)
Static methods(3)
- Init(): void
Provides initerface to the algorithms from Shape Healing and others for XSTEP processors. Creates and initializes default AlgoContainer.
- SetAlgoContainer(aContainer: XSAlgo_AlgoContainer): void
Sets default AlgoContainer.
Parameters (1)aContainer
Returns default AlgoContainer.
XSAlgo_AlgoContainer
Constructors(1)
Empty constructor.
Static methods(2)
- get_type_name(): string
Instance methods(6)
- PrepareForTransfer(): void
Performs actions necessary for preparing environment for transfer. Empty in Open version.
- ProcessShape(theShape: TopoDS_Shape, thePrec: number, theMaxTol: number, thePrscfile: string, thePseq: string, theProgress: Message_ProgressRange, theNonManifold: boolean, theDetailingLevel: TopAbs_ShapeEnum): { returnValue: TopoDS_Shape; theInfo: Standard_Transient; [Symbol.dispose](): void }
Does shape processing with specified tolerances.
Parameters (8)theShape—shape to processthePrec—basic precision and tolerancetheMaxTol—maximum allowed tolerancethePrscfile—name of the resource filethePseq—name of the sequence of operators defined in the resource file for Shape ProcessingtheProgress—progress indicatortheNonManifold—flag to proceed with non-manifold topologytheDetailingLevel—the lowest shape type to be processed, lower shapes are ignored
ReturnsA result object with fields:
returnValue: the processed shapetheInfo: information to be recorded in the translation map, owned by the returned envelope.
Dispose the returned envelope to release owned Handle fields.
- CheckPCurve(theEdge: TopoDS_Edge, theFace: TopoDS_Face, thePrecision: number, theIsSeam: boolean): boolean
Checks quality of pcurve of the edge on the given face, and corrects it if necessary.
Parameters (4)theEdgetheFacethePrecisiontheIsSeam
- MergeTransferInfo(TP: Transfer_TransientProcess, info: Standard_Transient, startTPitem: number): voidParameters (3)
TPinfostartTPitem
- MergeTransferInfo(FP: Transfer_FinderProcess, info: Standard_Transient): void
Updates translation map (TP or FP) with information resulting from ShapeProcessing Parameter startTPitem can be used for optimisation, to restrict modifications to entities stored in TP starting from item startTPitem.
Parameters (2)FPinfo
TransferBRep
OCCT package TransferBRep: TransferBRep_BinderOfShape, TransferBRep_Reader, TransferBRep_ShapeBinder, TransferBRep_ShapeInfo, and 3 more bound classes.
XSControl
OCCT package XSControl: XSControl, XSControl_ConnectedShapes, XSControl_Controller, XSControl_FuncShape, and 10 more bound classes.