Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/BRepPrimAPI_MakeSweep.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Created on: 1994-02-18
0002 // Created by: Remi LEQUETTE
0003 // Copyright (c) 1994-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _BRepPrimAPI_MakeSweep_HeaderFile
0018 #define _BRepPrimAPI_MakeSweep_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 
0023 #include <BRepBuilderAPI_MakeShape.hxx>
0024 class TopoDS_Shape;
0025 
0026 
0027 //! The abstract class MakeSweep is
0028 //! the root class of swept primitives.
0029 //! Sweeps are objects you obtain by sweeping a profile along a path.
0030 //! The profile can be any topology and the path is usually a curve or
0031 //! a wire. The profile generates objects according to the following rules:
0032 //! -      Vertices generate Edges
0033 //! -      Edges generate Faces.
0034 //! -      Wires generate Shells.
0035 //! -      Faces generate Solids.
0036 //! -      Shells generate Composite  Solids.
0037 //! You are not allowed to sweep Solids and Composite Solids.
0038 //! Two kinds of sweeps are implemented in the BRepPrimAPI package:
0039 //! -      The linear sweep called a   Prism
0040 //! -      The rotational sweep    called a Revol
0041 //! Swept constructions along complex profiles such as BSpline curves
0042 //! are also available in the BRepOffsetAPI package..
0043 class BRepPrimAPI_MakeSweep  : public BRepBuilderAPI_MakeShape
0044 {
0045 public:
0046 
0047   DEFINE_STANDARD_ALLOC
0048 
0049   
0050   //! Returns the  TopoDS  Shape of the bottom of the sweep.
0051   Standard_EXPORT virtual TopoDS_Shape FirstShape() = 0;
0052   
0053   //! Returns the TopoDS Shape of the top of the sweep.
0054   Standard_EXPORT virtual TopoDS_Shape LastShape() = 0;
0055 
0056 
0057 
0058 
0059 protected:
0060 
0061 
0062 
0063 
0064 
0065 private:
0066 
0067 
0068 
0069 
0070 
0071 };
0072 
0073 
0074 
0075 
0076 
0077 
0078 
0079 #endif // _BRepPrimAPI_MakeSweep_HeaderFile