-- 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 Node from MAT ---Purpose : inherits TShared from MMgt uses Arc from MAT, BasicElt from MAT, SequenceOfArc from MAT, SequenceOfBasicElt from MAT, Address from Standard is Create (GeomIndex : Integer; LinkedArc : Arc from MAT; Distance : Real) returns mutable Node from MAT; GeomIndex (me) ---Purpose: Returns the index associated of the geometric -- representation of . returns Integer is static; Index (me) ---Purpose: Returns the index associated of the node returns Integer is static; LinkedArcs (me ; S : in out SequenceOfArc) ---Purpose: Returns in the Arcs linked to . is static; NearElts (me ; S : in out SequenceOfBasicElt) ---Purpose: Returns in the BasicElts equidistant -- to . is static; Distance (me) --Purpose: Returns the distance between and the figure. returns Real is static; PendingNode (me) --- Purpose:Returns True if is a pending Node. -- (ie : the number of Arc Linked = 1) returns Boolean from Standard is static; OnBasicElt (me) ---Purpose: Returns True if belongs to the figure. returns Boolean from Standard is static; Infinite (me) ---Purpose: Returns True if the distance of is Infinite returns Boolean from Standard is static; SetIndex (me : mutable ; anIndex : Integer from Standard) --- Purpose : Set the index associated of the node is static; SetLinkedArc(me : mutable ; anArc : Arc from MAT) is static; fields nodeIndex : Integer from Standard; geomIndex : Integer from Standard; aLinkedArc : Address from Standard; distance : Real from Standard; end Node;