1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-01 10:26:12 +03:00
occt/src/Contap/Contap_ContAna.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
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.
2014-02-20 16:15:17 +04:00

167 lines
3.4 KiB
Plaintext

-- Created on: 1993-03-04
-- Created by: Jacques GOUSSARD
-- 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 ContAna from Contap
---Purpose: This class provides the computation of the contours
-- for quadric surfaces.
uses Sphere from gp,
Cylinder from gp,
Cone from gp,
Lin from gp,
Circ from gp,
Pnt from gp,
Dir from gp,
CurveType from GeomAbs
raises NotDone from StdFail,
DomainError from Standard,
OutOfRange from Standard
is
Create
returns ContAna from Contap;
Perform(me: in out; S: Sphere from gp; D: Dir from gp)
is static;
Perform(me: in out; S: Sphere from gp; D : Dir from gp;
Ang: Real from Standard)
is static;
Perform(me: in out; S: Sphere from gp; Eye: Pnt from gp)
is static;
Perform(me: in out; C: Cylinder from gp; D: Dir from gp)
is static;
Perform(me: in out; C: Cylinder from gp; D : Dir from gp;
Ang: Real from Standard)
is static;
Perform(me: in out; C: Cylinder from gp; Eye: Pnt from gp)
---Purpose:
is static;
Perform(me: in out; C: Cone from gp; D: Dir from gp)
is static;
Perform(me: in out; C: Cone from gp; D : Dir from gp;
Ang: Real from Standard)
is static;
Perform(me: in out; C: Cone from gp; Eye: Pnt from gp)
---Purpose:
is static;
IsDone(me)
returns Boolean from Standard
---C++: inline
is static;
NbContours(me)
returns Integer from Standard
---C++: inline
raises NotDone from StdFail
is static;
TypeContour(me)
---Purpose: Returns GeomAbs_Line or GeomAbs_Circle, when
-- IsDone() returns True.
returns CurveType from GeomAbs
---C++: inline
raises NotDone from StdFail,
DomainError from Standard
is static;
Circle(me)
returns Circ from gp
---C++: inline
raises NotDone from StdFail,
DomainError from Standard
is static;
Line(me; Index: Integer from Standard)
returns Lin from gp
raises NotDone from StdFail,
DomainError from Standard,
OutOfRange from Standard
is static;
fields
done : Boolean from Standard;
nbSol : Integer from Standard;
typL : CurveType from GeomAbs;
pt1 : Pnt from gp;
pt2 : Pnt from gp;
pt3 : Pnt from gp;
pt4 : Pnt from gp;
dir1 : Dir from gp;
dir2 : Dir from gp;
dir3 : Dir from gp;
dir4 : Dir from gp;
prm : Real from Standard;
end ContAna;