mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +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.
100 lines
2.5 KiB
Plaintext
100 lines
2.5 KiB
Plaintext
-- Created on: 1993-08-11
|
|
-- Created by: Remi LEQUETTE
|
|
-- 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 Plane from ProjLib inherits Projector from ProjLib
|
|
|
|
---Purpose: Projects elementary curves on a plane.
|
|
|
|
uses
|
|
CurveType from GeomAbs,
|
|
Pln from gp,
|
|
Lin from gp,
|
|
Circ from gp,
|
|
Elips from gp,
|
|
Parab from gp,
|
|
Hypr from gp,
|
|
Lin2d from gp,
|
|
Circ2d from gp,
|
|
Elips2d from gp,
|
|
Parab2d from gp,
|
|
Hypr2d from gp
|
|
|
|
raises
|
|
NoSuchObject from Standard
|
|
|
|
is
|
|
|
|
Create returns Plane from ProjLib;
|
|
---Purpose: Undefined projection.
|
|
|
|
Create(Pl : Pln from gp) returns Plane from ProjLib;
|
|
---Purpose: Projection on the plane <Pl>.
|
|
|
|
Create(Pl : Pln from gp;
|
|
L : Lin from gp) returns Plane from ProjLib;
|
|
---Purpose: Projection of the line <L> on the plane <Pl>.
|
|
|
|
Create(Pl : Pln from gp;
|
|
C : Circ from gp) returns Plane from ProjLib;
|
|
---Purpose: Projection of the circle <C> on the plane <Pl>.
|
|
|
|
Create(Pl : Pln from gp;
|
|
E : Elips from gp) returns Plane from ProjLib;
|
|
---Purpose: Projection of the ellipse <E> on the plane <Pl>.
|
|
|
|
Create(Pl : Pln from gp;
|
|
P : Parab from gp) returns Plane from ProjLib;
|
|
---Purpose: Projection of the parabola <P> on the plane <Pl>.
|
|
|
|
Create(Pl : Pln from gp;
|
|
H : Hypr from gp) returns Plane from ProjLib;
|
|
---Purpose: Projection of the hyperbola <H> on the plane <Pl>.
|
|
|
|
|
|
Init(me : in out;
|
|
Pl : Pln from gp)
|
|
is static;
|
|
|
|
Project(me : in out;
|
|
L : Lin from gp)
|
|
is redefined;
|
|
|
|
Project(me : in out;
|
|
C : Circ from gp)
|
|
is redefined;
|
|
|
|
Project(me : in out;
|
|
E : Elips from gp)
|
|
is redefined;
|
|
|
|
Project(me : in out;
|
|
P : Parab from gp)
|
|
is redefined;
|
|
|
|
Project(me : in out;
|
|
H : Hypr from gp)
|
|
is redefined;
|
|
|
|
|
|
fields
|
|
|
|
myPlane : Pln from gp;
|
|
|
|
end Plane;
|
|
|
|
|
|
|