mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-06 10:36:12 +03:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
103 lines
2.6 KiB
Plaintext
103 lines
2.6 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 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 <me>.
|
|
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 <S> the Arcs linked to <me>.
|
|
is static;
|
|
|
|
NearElts (me ; S : in out SequenceOfBasicElt)
|
|
---Purpose: Returns in <S> the BasicElts equidistant
|
|
-- to <me>.
|
|
is static;
|
|
|
|
Distance (me)
|
|
--Purpose: Returns the distance between <me> and the figure.
|
|
returns Real
|
|
is static;
|
|
|
|
PendingNode (me)
|
|
--- Purpose:Returns True if <me> is a pending Node.
|
|
-- (ie : the number of Arc Linked = 1)
|
|
returns Boolean from Standard
|
|
is static;
|
|
|
|
OnBasicElt (me)
|
|
---Purpose: Returns True if <me> belongs to the figure.
|
|
returns Boolean from Standard
|
|
is static;
|
|
|
|
Infinite (me)
|
|
---Purpose: Returns True if the distance of <me> 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;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|