libcascade
API ReferenceDataExchangeTKXSBase

XSAlgo

OCCT package XSAlgo: XSAlgo, XSAlgo_AlgoContainer.

XSAlgo_AlgoContainer

Constructors(1)

Static methods(2)

Instance methods(6)

  • 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 process
    • thePrec —
      basic precision and tolerance
    • theMaxTol —
      maximum allowed tolerance
    • thePrscfile —
      name of the resource file
    • thePseq —
      name of the sequence of operators defined in the resource file for Shape Processing
    • theProgress —
      progress indicator
    • theNonManifold —
      flag to proceed with non-manifold topology
    • theDetailingLevel —
      the lowest shape type to be processed, lower shapes are ignored
    Returns

    A result object with fields:

    • returnValue: the processed shape
    • theInfo: 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)
    • theEdge
    • theFace
    • thePrecision
    • theIsSeam
  • MergeTransferInfo(TP: Transfer_TransientProcess, info: Standard_Transient, startTPitem: number): void
    Parameters (3)
    • TP
    • info
    • startTPitem
  • 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)
    • FP
    • info