HLRBRep_TheQuadCurvFuncOfTheQuadCurvExactInterCSurf_0.cxx
HLRBRep_VertexList.cxx
HLRBRep_VertexList.hxx
+HLRBRep_TypeOfResultingEdge.hxx
#include <TopoDS_Shape.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
+#include <HLRBRep_TypeOfResultingEdge.hxx>
class HLRBRep_Algo;
class TopoDS_Shape;
class HLRBRep_Data;
TopoDS_Shape IsoLineHCompound();
TopoDS_Shape IsoLineHCompound (const TopoDS_Shape& S);
-
+
+ //! Returns compound of resulting edges
+ //! of required type and visibility,
+ //! taking into account the kind of space
+ //! (2d or 3d)
+ TopoDS_Shape CompoundOfEdges(const HLRBRep_TypeOfResultingEdge type,
+ const Standard_Boolean visible,
+ const Standard_Boolean In3d);
+
+ //! For specified shape
+ //! returns compound of resulting edges
+ //! of required type and visibility,
+ //! taking into account the kind of space
+ //! (2d or 3d)
+ TopoDS_Shape CompoundOfEdges(const TopoDS_Shape& S,
+ const HLRBRep_TypeOfResultingEdge type,
+ const Standard_Boolean visible,
+ const Standard_Boolean In3d);
inline TopoDS_Shape
HLRBRep_HLRToShape::IsoLineHCompound(const TopoDS_Shape& S)
{ return InternalCompound(1,Standard_False,S); }
+
+//=======================================================================
+//function : CompoundOfEdges
+//purpose :
+//=======================================================================
+
+inline TopoDS_Shape
+HLRBRep_HLRToShape::CompoundOfEdges(const HLRBRep_TypeOfResultingEdge type,
+ const Standard_Boolean visible,
+ const Standard_Boolean In3d)
+{ return InternalCompound(type,visible,TopoDS_Shape(),In3d); }
+
+//=======================================================================
+//function : CompoundOfEdges
+//purpose :
+//=======================================================================
+
+inline TopoDS_Shape
+HLRBRep_HLRToShape::CompoundOfEdges(const TopoDS_Shape& S,
+ const HLRBRep_TypeOfResultingEdge type,
+ const Standard_Boolean visible,
+ const Standard_Boolean In3d)
+{ return InternalCompound(type,visible,S,In3d); }
--- /dev/null
+// Created on: 2016-02-26
+// Created by: Julia GERASIMOVA
+// Copyright (c) 1991-1999 Matra Datavision
+// Copyright (c) 1999-2016 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.
+
+#ifndef _HLRBRep_TypeOfResultingEdge_HeaderFile
+#define _HLRBRep_TypeOfResultingEdge_HeaderFile
+
+
+//! Identifies the type of resulting edge of HLRBRep_Algo
+enum HLRBRep_TypeOfResultingEdge
+{
+HLRBRep_Undefined,
+
+//! isoparametric line
+HLRBRep_IsoLine,
+
+//! outline ("silhouette")
+HLRBRep_OutLine,
+
+//! smooth edge of G1-continuity between two surfaces
+HLRBRep_Rg1Line,
+
+//! sewn edge of CN-continuity on one surface
+HLRBRep_RgNLine,
+
+//! sharp edge (of C0-continuity)
+HLRBRep_Sharp
+};
+
+#endif // _HLRBRep_TypeOfResultingEdge_HeaderFile