Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/TopOpeBRepBuild_Pave.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-11-14
0002 // Created by: Jean Yves LEBEY
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 _TopOpeBRepBuild_Pave_HeaderFile
0018 #define _TopOpeBRepBuild_Pave_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 
0022 #include <Standard_Real.hxx>
0023 #include <Standard_Boolean.hxx>
0024 #include <TopOpeBRepDS_Kind.hxx>
0025 #include <TopOpeBRepBuild_Loop.hxx>
0026 
0027 class TopOpeBRepBuild_Pave : public TopOpeBRepBuild_Loop
0028 {
0029 
0030 public:
0031   //! V = vertex, P = parameter of vertex <V>
0032   //! bound = True if <V> is an old vertex
0033   //! bound = False if <V> is a new vertex
0034   Standard_EXPORT TopOpeBRepBuild_Pave(const TopoDS_Shape& V, const double P, const bool bound);
0035 
0036   Standard_EXPORT void HasSameDomain(const bool b);
0037 
0038   Standard_EXPORT void SameDomain(const TopoDS_Shape& VSD);
0039 
0040   Standard_EXPORT bool HasSameDomain() const;
0041 
0042   Standard_EXPORT const TopoDS_Shape& SameDomain() const;
0043 
0044   Standard_EXPORT const TopoDS_Shape& Vertex() const;
0045 
0046   Standard_EXPORT TopoDS_Shape& ChangeVertex();
0047 
0048   Standard_EXPORT double Parameter() const;
0049 
0050   Standard_EXPORT void Parameter(const double Par);
0051 
0052   Standard_EXPORT TopOpeBRepDS_Kind& InterferenceType();
0053 
0054   Standard_EXPORT bool IsShape() const override;
0055 
0056   Standard_EXPORT const TopoDS_Shape& Shape() const override;
0057 
0058   Standard_EXPORT void Dump() const override;
0059 
0060   DEFINE_STANDARD_RTTIEXT(TopOpeBRepBuild_Pave, TopOpeBRepBuild_Loop)
0061 
0062 private:
0063   TopoDS_Shape      myVertex;
0064   double            myParam;
0065   bool              myIsShape;
0066   bool              myHasSameDomain;
0067   TopoDS_Shape      mySameDomain;
0068   TopOpeBRepDS_Kind myIntType;
0069 };
0070 
0071 #endif // _TopOpeBRepBuild_Pave_HeaderFile