Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/opencascade/HLRBRep_PolyHLRToShape.lxx is written in an unsupported language. File is not indexed.

0001 // Created on: 1993-11-02
0002 // Created by: Christophe MARION
0003 // Copyright (c) 1993-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 #include <TopoDS_Shape.hxx>
0018 
0019 //=======================================================================
0020 //function : Show
0021 //purpose  : 
0022 //=======================================================================
0023 
0024 inline void HLRBRep_PolyHLRToShape::Show()
0025 { myHideMode = Standard_False; }
0026 
0027 //=======================================================================
0028 //function : Hide
0029 //purpose  : 
0030 //=======================================================================
0031 
0032 inline void HLRBRep_PolyHLRToShape::Hide()
0033 { myHideMode = Standard_True; }
0034 
0035 //=======================================================================
0036 //function : VCompound
0037 //purpose  : 
0038 //=======================================================================
0039 
0040 inline TopoDS_Shape HLRBRep_PolyHLRToShape::VCompound()
0041 { return InternalCompound(4,Standard_True,TopoDS_Shape()); }
0042 
0043 //=======================================================================
0044 //function : VCompound
0045 //purpose  : 
0046 //=======================================================================
0047 
0048 inline TopoDS_Shape
0049 HLRBRep_PolyHLRToShape::VCompound(const TopoDS_Shape& S)
0050 { return InternalCompound(4,Standard_True,S); }
0051 
0052 //=======================================================================
0053 //function : Rg1LineVCompound
0054 //purpose  : 
0055 //=======================================================================
0056 
0057 inline TopoDS_Shape HLRBRep_PolyHLRToShape::Rg1LineVCompound()
0058 { return InternalCompound(2,Standard_True,TopoDS_Shape()); }
0059 
0060 //=======================================================================
0061 //function : Rg1LineVCompound
0062 //purpose  : 
0063 //=======================================================================
0064 
0065 inline TopoDS_Shape
0066 HLRBRep_PolyHLRToShape::Rg1LineVCompound(const TopoDS_Shape& S)
0067 { return InternalCompound(2,Standard_True,S); }
0068 
0069 //=======================================================================
0070 //function : RgNLineVCompound
0071 //purpose  : 
0072 //=======================================================================
0073 
0074 inline TopoDS_Shape HLRBRep_PolyHLRToShape::RgNLineVCompound()
0075 { return InternalCompound(3,Standard_True,TopoDS_Shape()); }
0076 
0077 //=======================================================================
0078 //function : RgNLineVCompound
0079 //purpose  : 
0080 //=======================================================================
0081 
0082 inline TopoDS_Shape
0083 HLRBRep_PolyHLRToShape::RgNLineVCompound(const TopoDS_Shape& S)
0084 { return InternalCompound(3,Standard_True,S); }
0085 
0086 //=======================================================================
0087 //function : OutLineVCompound
0088 //purpose  : 
0089 //=======================================================================
0090 
0091 inline TopoDS_Shape HLRBRep_PolyHLRToShape::OutLineVCompound()
0092 { return InternalCompound(1,Standard_True,TopoDS_Shape()); }
0093 
0094 //=======================================================================
0095 //function : OutLineVCompound
0096 //purpose  : 
0097 //=======================================================================
0098 
0099 inline TopoDS_Shape
0100 HLRBRep_PolyHLRToShape::OutLineVCompound(const TopoDS_Shape& S)
0101 { return InternalCompound(1,Standard_True,S); }
0102 
0103 //=======================================================================
0104 //function : HCompound
0105 //purpose  : 
0106 //=======================================================================
0107 
0108 inline TopoDS_Shape HLRBRep_PolyHLRToShape::HCompound()
0109 { return InternalCompound(4,Standard_False,TopoDS_Shape()); }
0110 
0111 //=======================================================================
0112 //function : HCompound
0113 //purpose  : 
0114 //=======================================================================
0115 
0116 inline TopoDS_Shape
0117 HLRBRep_PolyHLRToShape::HCompound(const TopoDS_Shape& S)
0118 { return InternalCompound(4,Standard_False,S); }
0119 
0120 //=======================================================================
0121 //function : Rg1LineHCompound
0122 //purpose  : 
0123 //=======================================================================
0124 
0125 inline TopoDS_Shape HLRBRep_PolyHLRToShape::Rg1LineHCompound()
0126 { return InternalCompound(2,Standard_False,TopoDS_Shape()); }
0127 
0128 //=======================================================================
0129 //function : Rg1LineHCompound
0130 //purpose  : 
0131 //=======================================================================
0132 
0133 inline TopoDS_Shape 
0134 HLRBRep_PolyHLRToShape::Rg1LineHCompound(const TopoDS_Shape& S)
0135 { return InternalCompound(2,Standard_False,S); }
0136 
0137 //=======================================================================
0138 //function : RgNLineHCompound
0139 //purpose  : 
0140 //=======================================================================
0141 
0142 inline TopoDS_Shape HLRBRep_PolyHLRToShape::RgNLineHCompound()
0143 { return InternalCompound(3,Standard_False,TopoDS_Shape()); }
0144 
0145 //=======================================================================
0146 //function : RgNLineHCompound
0147 //purpose  : 
0148 //=======================================================================
0149 
0150 inline TopoDS_Shape
0151 HLRBRep_PolyHLRToShape::RgNLineHCompound(const TopoDS_Shape& S)
0152 { return InternalCompound(3,Standard_False,S); }
0153 
0154 //=======================================================================
0155 //function : OutLineHCompound
0156 //purpose  : 
0157 //=======================================================================
0158 
0159 inline TopoDS_Shape HLRBRep_PolyHLRToShape::OutLineHCompound()
0160 { return InternalCompound(1,Standard_False,TopoDS_Shape()); }
0161 
0162 //=======================================================================
0163 //function : OutLineHCompound
0164 //purpose  : 
0165 //=======================================================================
0166 
0167 inline TopoDS_Shape
0168 HLRBRep_PolyHLRToShape::OutLineHCompound(const TopoDS_Shape& S)
0169 { return InternalCompound(1,Standard_False,S); }