Files
OCCT/src/BRep/BRep_TFace.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

101 lines
3.1 KiB
Plaintext

-- Created on: 1992-05-27
-- Created by: Remi LEQUETTE
-- Copyright (c) 1992-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 TFace from BRep inherits TFace from TopoDS
---Purpose: The Tface from BRep is based on the TFace from
-- TopoDS. The TFace contains :
--
-- * A suface, a tolerance and a Location.
--
-- * A NaturalRestriction flag, when this flag is
-- True the boundary of the face is known to be the
-- parametric space (Umin, UMax, VMin, VMax).
--
-- * An optional Triangulation. If there is a
-- triangulation the surface can be absent.
--
-- The Location is used for the Surface.
--
-- The triangulation is in the same reference system
-- than the TFace. A point on mySurface must be
-- transformed with myLocation, but not a point on
-- the triangulation.
--
-- The Surface may be shared by different TFaces but
-- not the Triangulation, because the Triangulation
-- may be modified by the edges.
--
uses
Surface from Geom,
Location from TopLoc,
TShape from TopoDS,
Triangulation from Poly
is
Create returns mutable TFace from BRep;
---Purpose: Creates an empty TFace.
Surface(me) returns any Surface from Geom;
---C++: inline
---C++: return const &
Triangulation(me) returns any Triangulation from Poly;
---C++: inline
---C++: return const &
Location(me) returns Location from TopLoc;
---C++: inline
---C++: return const &
Tolerance(me) returns Real;
---C++: inline
Surface(me : mutable; S : Surface from Geom);
---C++: inline
Triangulation(me : mutable; T : Triangulation from Poly);
---C++: inline
Location(me : mutable; L : Location from TopLoc);
---C++: inline
Tolerance(me : mutable; T : Real);
---C++: inline
NaturalRestriction(me) returns Boolean;
---C++: inline
NaturalRestriction(me : mutable; N : Boolean);
---C++: inline
EmptyCopy(me) returns mutable TShape from TopoDS
---Purpose: Returns a copy of the TShape with no sub-shapes.
-- The new Face has no triangulation.
is redefined;
fields
mySurface : Surface from Geom;
myTriangulation : Triangulation from Poly;
myLocation : Location from TopLoc;
myTolerance : Real;
myNaturalRestriction : Boolean;
end TFace;