1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
occt/src/Geom/Geom_SweptSurface.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

69 lines
2.5 KiB
Plaintext

-- Created on: 1993-03-10
-- Created by: JCV
-- 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.
deferred class SweptSurface from Geom inherits Surface from Geom
---Purpose : Describes the common behavior for surfaces
-- constructed by sweeping a curve with another curve.
-- The Geom package provides two concrete derived
-- surfaces: surface of revolution (a revolved surface),
-- and surface of linear extrusion (an extruded surface).
uses Dir from gp,
Curve from Geom,
Shape from GeomAbs
is
Continuity (me) returns Shape from GeomAbs;
---Purpose :
-- returns the continuity of the surface :
-- C0 : only geometric continuity,
-- C1 : continuity of the first derivative all along the surface,
-- C2 : continuity of the second derivative all along the surface,
-- C3 : continuity of the third derivative all along the surface,
-- G1 : tangency continuity all along the surface,
-- G2 : curvature continuity all along the surface,
-- CN : the order of continuity is infinite.
Direction (me) returns Dir;
---Purpose :
-- Returns the reference direction of the swept surface.
-- For a surface of revolution it is the direction of the
-- revolution axis, for a surface of linear extrusion it is
-- the direction of extrusion.
---C++: return const&
BasisCurve (me) returns Curve from Geom;
---Purpose :
-- Returns the referenced curve of the surface.
-- For a surface of revolution it is the revolution curve,
-- for a surface of linear extrusion it is the extruded curve.
fields
basisCurve : Curve from Geom is protected;
direction : Dir from gp is protected;
smooth : Shape from GeomAbs is protected;
end;