mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 05:28:47 +08:00
Redundant keyword 'mutable' removed in CDL files. In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed. Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
148 lines
4.1 KiB
Plaintext
148 lines
4.1 KiB
Plaintext
-- Created on: 1993-04-30
|
|
-- Created by: Yves FRICAUD
|
|
-- Copyright (c) 1993-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
--
|
|
-- This file is part of Open CASCADE Technology software library.
|
|
--
|
|
-- This library is free software; you can redistribute it and/or modify it under
|
|
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
|
-- by the Free Software Foundation, with special exception defined in the file
|
|
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
-- distribution for complete text of the license and disclaimer of any warranty.
|
|
--
|
|
-- Alternatively, this file may be used under the terms of Open CASCADE
|
|
-- commercial license or contractual agreement.
|
|
|
|
class Arc from MAT
|
|
|
|
inherits
|
|
|
|
TShared from MMgt
|
|
---Purpose: An Arc is associated to each Bisecting of the mat.
|
|
|
|
uses
|
|
|
|
BasicElt from MAT,
|
|
Node from MAT,
|
|
Side from MAT,
|
|
Address from Standard
|
|
|
|
|
|
raises
|
|
|
|
DomainError from Standard
|
|
|
|
is
|
|
|
|
|
|
Create ( ArcIndex : Integer;
|
|
GeomIndex : Integer;
|
|
FirstElement : BasicElt from MAT;
|
|
SecondElement : BasicElt from MAT )
|
|
--- Purpose :
|
|
returns Arc;
|
|
|
|
Index (me)
|
|
--- Purpose : Returns the index of <me> in Graph.theArcs.
|
|
returns Integer
|
|
is static;
|
|
|
|
GeomIndex(me)
|
|
--- Purpose : Returns the index associated of the geometric
|
|
-- representation of <me>.
|
|
returns Integer
|
|
is static;
|
|
|
|
FirstElement(me)
|
|
--- Purpose : Returns one of the BasicElt equidistant from <me>.
|
|
returns BasicElt from MAT
|
|
is static;
|
|
|
|
SecondElement(me)
|
|
--- Purpose : Returns the other BasicElt equidistant from <me>.
|
|
returns BasicElt from MAT
|
|
is static;
|
|
|
|
FirstNode (me)
|
|
--- Purpose : Returns one Node extremity of <me>.
|
|
returns Node from MAT
|
|
is static;
|
|
|
|
SecondNode (me)
|
|
--- Purpose : Returns the other Node extremity of <me>.
|
|
returns Node from MAT
|
|
is static;
|
|
|
|
TheOtherNode (me ; aNode : Node)
|
|
returns Node from MAT
|
|
--- Purpose : an Arc has two Node, if <aNode> egal one
|
|
-- Returns the other.
|
|
--
|
|
raises
|
|
DomainError from Standard
|
|
---Purpose: if <aNode> is not oh <me>
|
|
is static;
|
|
|
|
HasNeighbour(me ; aNode : Node ; aSide : Side)
|
|
--- Purpose : Returnst True is there is an arc linked to
|
|
-- the Node <aNode> located on the side <aSide> of <me>;
|
|
returns Boolean from Standard
|
|
raises
|
|
DomainError from Standard
|
|
---Purpose: if <aNode> is not on <me>
|
|
is static;
|
|
|
|
Neighbour(me ; aNode : Node ; aSide : Side)
|
|
--- Purpose : Returns the first arc linked to the Node <aNode>
|
|
-- located on the side <aSide> of <me>;
|
|
returns Arc from MAT
|
|
raises
|
|
DomainError from Standard
|
|
---Purpose: if HasNeighbour() returns FALSE.
|
|
is static;
|
|
|
|
SetIndex (me : mutable ; anInteger : Integer)
|
|
is static;
|
|
|
|
SetGeomIndex(me : mutable ; anInteger : Integer)
|
|
is static;
|
|
|
|
SetFirstElement (me : mutable ; aBasicElt : BasicElt from MAT)
|
|
is static;
|
|
|
|
SetSecondElement (me : mutable ; aBasicElt : BasicElt from MAT)
|
|
is static;
|
|
|
|
SetFirstNode (me : mutable ; aNode : Node from MAT)
|
|
is static;
|
|
|
|
SetSecondNode (me : mutable ; aNode : Node from MAT)
|
|
is static;
|
|
|
|
SetFirstArc (me : mutable ; aSide : Side ; anArc : Arc)
|
|
is static;
|
|
|
|
SetSecondArc (me : mutable ; aSide : Side ; anArc : Arc)
|
|
is static;
|
|
|
|
SetNeighbour (me : mutable ; aSide : Side ; aNode : Node ; anArc : Arc)
|
|
is static;
|
|
|
|
fields
|
|
|
|
arcIndex : Integer;
|
|
geomIndex : Integer;
|
|
firstElement : BasicElt from MAT;
|
|
secondElement : BasicElt from MAT;
|
|
firstNode : Node from MAT;
|
|
secondNode : Node from MAT;
|
|
firstArcLeft : Address from Standard;
|
|
firstArcRight : Address from Standard;
|
|
secondArcRight : Address from Standard;
|
|
secondArcLeft : Address from Standard;
|
|
|
|
end Arc;
|
|
|
|
|