mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
New method HLRBRep_HLRToShape::CompoundOfEdges with options: - type of resulting edge - visibility - 3d/2d has been added. Minor correction of comments
219 lines
8.3 KiB
Plaintext
219 lines
8.3 KiB
Plaintext
// Created on: 1993-11-02
|
|
// Created by: Christophe MARION
|
|
// 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.
|
|
|
|
#include <TopoDS_Shape.hxx>
|
|
|
|
//=======================================================================
|
|
//function : VCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::VCompound()
|
|
{ return InternalCompound(5,Standard_True,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : VCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape
|
|
HLRBRep_HLRToShape::VCompound(const TopoDS_Shape& S)
|
|
{ return InternalCompound(5,Standard_True,S); }
|
|
|
|
//=======================================================================
|
|
//function : Rg1LineVCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineVCompound()
|
|
{ return InternalCompound(3,Standard_True,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : Rg1LineVCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape
|
|
HLRBRep_HLRToShape::Rg1LineVCompound(const TopoDS_Shape& S)
|
|
{ return InternalCompound(3,Standard_True,S); }
|
|
|
|
//=======================================================================
|
|
//function : RgNLineVCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineVCompound()
|
|
{ return InternalCompound(4,Standard_True,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : RgNLineVCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape
|
|
HLRBRep_HLRToShape::RgNLineVCompound(const TopoDS_Shape& S)
|
|
{ return InternalCompound(4,Standard_True,S); }
|
|
|
|
//=======================================================================
|
|
//function : OutLineVCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::OutLineVCompound()
|
|
{ return InternalCompound(2,Standard_True,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : OutLineVCompound3d
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::OutLineVCompound3d()
|
|
{ return InternalCompound(2,Standard_True,TopoDS_Shape(),Standard_True); }
|
|
|
|
//=======================================================================
|
|
//function : OutLineVCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape
|
|
HLRBRep_HLRToShape::OutLineVCompound(const TopoDS_Shape& S)
|
|
{ return InternalCompound(2,Standard_True,S); }
|
|
|
|
//=======================================================================
|
|
//function : IsoLineVCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineVCompound()
|
|
{ return InternalCompound(1,Standard_True,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : IsoLineVCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape
|
|
HLRBRep_HLRToShape::IsoLineVCompound(const TopoDS_Shape& S)
|
|
{ return InternalCompound(1,Standard_True,S); }
|
|
|
|
//=======================================================================
|
|
//function : HCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::HCompound()
|
|
{ return InternalCompound(5,Standard_False,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : HCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape
|
|
HLRBRep_HLRToShape::HCompound(const TopoDS_Shape& S)
|
|
{ return InternalCompound(5,Standard_False,S); }
|
|
|
|
//=======================================================================
|
|
//function : Rg1LineHCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineHCompound()
|
|
{ return InternalCompound(3,Standard_False,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : Rg1LineHCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape
|
|
HLRBRep_HLRToShape::Rg1LineHCompound(const TopoDS_Shape& S)
|
|
{ return InternalCompound(3,Standard_False,S); }
|
|
|
|
//=======================================================================
|
|
//function : RgNLineHCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineHCompound()
|
|
{ return InternalCompound(4,Standard_False,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : RgNLineHCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape
|
|
HLRBRep_HLRToShape::RgNLineHCompound(const TopoDS_Shape& S)
|
|
{ return InternalCompound(4,Standard_False,S); }
|
|
|
|
//=======================================================================
|
|
//function : OutLineHCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::OutLineHCompound()
|
|
{ return InternalCompound(2,Standard_False,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : OutLineHCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape
|
|
HLRBRep_HLRToShape::OutLineHCompound(const TopoDS_Shape& S)
|
|
{ return InternalCompound(2,Standard_False,S); }
|
|
|
|
//=======================================================================
|
|
//function : IsoLineHCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineHCompound()
|
|
{ return InternalCompound(1,Standard_False,TopoDS_Shape()); }
|
|
|
|
//=======================================================================
|
|
//function : IsoLineHCompound
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
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); }
|