mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-16 06:25:04 +08: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.
115 lines
3.6 KiB
Plaintext
115 lines
3.6 KiB
Plaintext
-- Created on: 1997-04-17
|
|
-- Created by: Christophe MARION
|
|
-- Copyright (c) 1997-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 EdgeInterferenceTool from HLRBRep
|
|
|
|
---Purpose: Implements the methods required to instantiates
|
|
-- the EdgeInterferenceList from HLRAlgo.
|
|
|
|
uses
|
|
Integer from Standard,
|
|
Boolean from Standard,
|
|
Real from Standard,
|
|
Dir from gp,
|
|
Orientation from TopAbs,
|
|
Intersection from HLRAlgo,
|
|
Interference from HLRAlgo,
|
|
Data from HLRBRep
|
|
|
|
is
|
|
Create(DS : Data from HLRBRep) returns EdgeInterferenceTool from HLRBRep;
|
|
|
|
--- methods to iterate on the Vertices of the Edge
|
|
|
|
LoadEdge(me : in out)
|
|
is static;
|
|
|
|
InitVertices(me : in out)
|
|
---C++: inline
|
|
is static;
|
|
|
|
MoreVertices(me) returns Boolean from Standard
|
|
---C++: inline
|
|
is static;
|
|
|
|
NextVertex(me : in out)
|
|
---C++: inline
|
|
is static;
|
|
|
|
CurrentVertex(me) returns Intersection from HLRAlgo
|
|
---C++: inline
|
|
---C++: return const &
|
|
is static;
|
|
|
|
CurrentOrientation(me) returns Orientation from TopAbs
|
|
---C++: inline
|
|
is static;
|
|
|
|
CurrentParameter(me) returns Real from Standard
|
|
---C++: inline
|
|
is static;
|
|
|
|
-- Data on the Edge
|
|
|
|
IsPeriodic(me) returns Boolean from Standard
|
|
---C++: inline
|
|
is static;
|
|
|
|
EdgeGeometry(me; Param : Real from Standard;
|
|
Tgt : out Dir from gp;
|
|
Nrm : out Dir from gp;
|
|
Curv : out Real from Standard)
|
|
---Purpose: Returns local geometric description of the Edge at
|
|
-- parameter <Para>. See method Reset of class
|
|
-- EdgeFaceTransition from TopCnx for other arguments.
|
|
is static;
|
|
|
|
-- Data on Interferences
|
|
|
|
ParameterOfInterference(me; I : Interference from HLRAlgo)
|
|
returns Real from Standard
|
|
---C++: inline
|
|
is static;
|
|
|
|
SameInterferences(me; I1, I2 : Interference from HLRAlgo)
|
|
returns Boolean from Standard
|
|
---Purpose: True if the two interferences are on the same
|
|
-- geometric locus.
|
|
is static;
|
|
|
|
SameVertexAndInterference(me; I : Interference from HLRAlgo)
|
|
returns Boolean from Standard
|
|
---Purpose: True if the Interference and the current Vertex
|
|
-- are on the same geometric locus.
|
|
is static;
|
|
|
|
InterferenceBoundaryGeometry(me; I : Interference from HLRAlgo;
|
|
Tang : out Dir from gp;
|
|
Norm : out Dir from gp;
|
|
Curv : out Real from Standard)
|
|
---Purpose: Returns the geometry of the boundary at the
|
|
-- interference <I>. See the AddInterference method
|
|
-- of the class EdgeFaceTransition from TopCnx for
|
|
-- the other arguments.
|
|
is static;
|
|
|
|
fields
|
|
myDS : Data from HLRBRep;
|
|
inter : Intersection from HLRAlgo [2];
|
|
cur : Integer from Standard;
|
|
|
|
end EdgeInterferenceTool;
|