OpenCascade.js
API ReferenceModelingAlgorithmsTKTopAlgo

MAT

OCCT package MAT: MAT_Arc, MAT_BasicElt, MAT_Bisector, MAT_Edge, and 8 more bound classes.

MAT_Arc

An Arc is associated to each Bisecting of the mat.

Constructors(1)

Static methods(2)

Instance methods(19)

MAT_BasicElt

A BasicELt is associated to each elementary constituent of the figure.

Constructors(1)

  • constructor(anInteger: number): MAT_BasicElt

    Constructor, <anInteger> is the <index> of <me>.

    Parameters (1)
    • anInteger

Static methods(2)

Instance methods(9)

MAT_Bisector

Constructors(1)

Static methods(2)

Instance methods(30)

MAT_Edge

Constructors(1)

Static methods(2)

Instance methods(12)

MAT_Graph

The Class Graph permits the exploration of the Bisector Locus.

Constructors(1)

Static methods(2)

Instance methods(14)

  • Perform(SemiInfinite: boolean, TheRoots: MAT_ListOfBisector, NbBasicElts: number, NbArcs: number): void

    Construct <me> from the result of the method <CreateMat> of the class <MAT> from <MAT>.
    <SemiInfinite> : if some bisector are infinites. <TheRoots> : Set of the bisectors. <NbBasicElts> : Number of Basic Elements. <NbArcs> : Number of Arcs = Number of Bisectors.

    Parameters (4)
    • SemiInfinite
    • TheRoots
    • NbBasicElts
    • NbArcs
  • Arc(Index: number): MAT_Arc

    Return the Arc of index <Index> in <theArcs>.

    Parameters (1)
    • Index
  • BasicElt(Index: number): MAT_BasicElt

    Return the BasicElt of index <Index> in <theBasicElts>.

    Parameters (1)
    • Index
  • Node(Index: number): MAT_Node

    Return the Node of index <Index> in <theNodes>.

    Parameters (1)
    • Index
  • NumberOfArcs(): number

    Return the number of arcs of <me>.

  • NumberOfNodes(): number

    Return the number of nodes of <me>.

  • Return the number of basic elements of <me>.

  • Return the number of infinites nodes of <me>.

  • FusionOfBasicElts(IndexElt1: number, IndexElt2: number, MergeArc1: boolean, GeomIndexArc1: number, GeomIndexArc2: number, MergeArc2: boolean, GeomIndexArc3: number, GeomIndexArc4: number): { MergeArc1: boolean; GeomIndexArc1: number; GeomIndexArc2: number; MergeArc2: boolean; GeomIndexArc3: number; GeomIndexArc4: number }

    Merge two BasicElts. The End of the BasicElt Elt1 of IndexElt1 becomes The End of the BasicElt Elt2 of IndexElt2. Elt2 is replaced in the arcs by Elt1, Elt2 is eliminated.
    <MergeArc1> is True if the fusion of the BasicElts => a fusion of two Arcs which separated the same elements. In this case <GeomIndexArc1> and <GeomIndexArc2> are the Geometric Index of this arcs.
    If the BasicElt corresponds to a close line, the StartArc and the EndArc of Elt1 can separate the same elements. In this case there is a fusion of this arcs, <MergeArc2> is true and <GeomIndexArc3> and <GeomIndexArc4> are the Geometric Index of this arcs.

    Parameters (8)
    • IndexElt1
    • IndexElt2
    • MergeArc1
    • GeomIndexArc1
    • GeomIndexArc2
    • MergeArc2
    • GeomIndexArc3
    • GeomIndexArc4
    Returns

    A result object with fields:

    • MergeArc1: updated value from the call.
    • GeomIndexArc1: updated value from the call.
    • GeomIndexArc2: updated value from the call.
    • MergeArc2: updated value from the call.
    • GeomIndexArc3: updated value from the call.
    • GeomIndexArc4: updated value from the call.
  • CompactArcs(): void
  • CompactNodes(): void
  • Parameters (1)
    • NewMap
  • Parameters (1)
    • Index

MAT_ListOfBisector

Constructors(1)

Static methods(2)

Instance methods(25)

MAT_ListOfEdge

Constructors(1)

Static methods(2)

Instance methods(25)

MAT_Node

Node of Graph.

Constructors(1)

Static methods(2)

Instance methods(11)

MAT_TListNodeOfListOfBisector

Constructors(2)

Static methods(2)

Instance methods(8)

MAT_TListNodeOfListOfEdge

Constructors(2)

Static methods(2)

Instance methods(8)

MAT_Zone

Definition of Zone of Proximity of a BasicElt :
A Zone of proximity is the set of the points which are more near from the BasicElt than any other.

Constructors(2)

Static methods(2)

Instance methods(6)