mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
37
src/GeomLib/GeomLib_IsPlanarSurface.cdl
Executable file
37
src/GeomLib/GeomLib_IsPlanarSurface.cdl
Executable file
@@ -0,0 +1,37 @@
|
||||
-- File: GeomLib_IsPlanarSurface.cdl
|
||||
-- Created: Mon Nov 23 11:01:50 1998
|
||||
-- Author: Philippe MANGIN
|
||||
-- <pmn@sgi29>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class IsPlanarSurface from GeomLib
|
||||
|
||||
---Purpose: Find if a surface is a planar surface.
|
||||
|
||||
uses
|
||||
Surface from Geom,
|
||||
Pln from gp
|
||||
|
||||
raises
|
||||
NotDone from StdFail
|
||||
|
||||
is
|
||||
Create(S : Surface; Tol : Real = 1.0e-7)
|
||||
returns IsPlanarSurface from GeomLib;
|
||||
|
||||
IsPlanar(me)
|
||||
---Purpose: Return if the Surface is a plan
|
||||
returns Boolean;
|
||||
|
||||
Plan(me)
|
||||
---Purpose: Return the plan definition
|
||||
---C++: return const &
|
||||
returns Pln from gp
|
||||
raises NotDone; -- if <me> is not Planar
|
||||
|
||||
fields
|
||||
myPlan : Pln from gp;
|
||||
IsPlan : Boolean;
|
||||
|
||||
end IsPlanarSurface;
|
Reference in New Issue
Block a user