Warning, /include/opencascade/HLRBRep_HLRToShape.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 : VCompound
0021 //purpose :
0022 //=======================================================================
0023
0024 inline TopoDS_Shape HLRBRep_HLRToShape::VCompound()
0025 { return InternalCompound(5,Standard_True,TopoDS_Shape()); }
0026
0027 //=======================================================================
0028 //function : VCompound
0029 //purpose :
0030 //=======================================================================
0031
0032 inline TopoDS_Shape
0033 HLRBRep_HLRToShape::VCompound(const TopoDS_Shape& S)
0034 { return InternalCompound(5,Standard_True,S); }
0035
0036 //=======================================================================
0037 //function : Rg1LineVCompound
0038 //purpose :
0039 //=======================================================================
0040
0041 inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineVCompound()
0042 { return InternalCompound(3,Standard_True,TopoDS_Shape()); }
0043
0044 //=======================================================================
0045 //function : Rg1LineVCompound
0046 //purpose :
0047 //=======================================================================
0048
0049 inline TopoDS_Shape
0050 HLRBRep_HLRToShape::Rg1LineVCompound(const TopoDS_Shape& S)
0051 { return InternalCompound(3,Standard_True,S); }
0052
0053 //=======================================================================
0054 //function : RgNLineVCompound
0055 //purpose :
0056 //=======================================================================
0057
0058 inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineVCompound()
0059 { return InternalCompound(4,Standard_True,TopoDS_Shape()); }
0060
0061 //=======================================================================
0062 //function : RgNLineVCompound
0063 //purpose :
0064 //=======================================================================
0065
0066 inline TopoDS_Shape
0067 HLRBRep_HLRToShape::RgNLineVCompound(const TopoDS_Shape& S)
0068 { return InternalCompound(4,Standard_True,S); }
0069
0070 //=======================================================================
0071 //function : OutLineVCompound
0072 //purpose :
0073 //=======================================================================
0074
0075 inline TopoDS_Shape HLRBRep_HLRToShape::OutLineVCompound()
0076 { return InternalCompound(2,Standard_True,TopoDS_Shape()); }
0077
0078 //=======================================================================
0079 //function : OutLineVCompound3d
0080 //purpose :
0081 //=======================================================================
0082
0083 inline TopoDS_Shape HLRBRep_HLRToShape::OutLineVCompound3d()
0084 { return InternalCompound(2,Standard_True,TopoDS_Shape(),Standard_True); }
0085
0086 //=======================================================================
0087 //function : OutLineVCompound
0088 //purpose :
0089 //=======================================================================
0090
0091 inline TopoDS_Shape
0092 HLRBRep_HLRToShape::OutLineVCompound(const TopoDS_Shape& S)
0093 { return InternalCompound(2,Standard_True,S); }
0094
0095 //=======================================================================
0096 //function : IsoLineVCompound
0097 //purpose :
0098 //=======================================================================
0099
0100 inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineVCompound()
0101 { return InternalCompound(1,Standard_True,TopoDS_Shape()); }
0102
0103 //=======================================================================
0104 //function : IsoLineVCompound
0105 //purpose :
0106 //=======================================================================
0107
0108 inline TopoDS_Shape
0109 HLRBRep_HLRToShape::IsoLineVCompound(const TopoDS_Shape& S)
0110 { return InternalCompound(1,Standard_True,S); }
0111
0112 //=======================================================================
0113 //function : HCompound
0114 //purpose :
0115 //=======================================================================
0116
0117 inline TopoDS_Shape HLRBRep_HLRToShape::HCompound()
0118 { return InternalCompound(5,Standard_False,TopoDS_Shape()); }
0119
0120 //=======================================================================
0121 //function : HCompound
0122 //purpose :
0123 //=======================================================================
0124
0125 inline TopoDS_Shape
0126 HLRBRep_HLRToShape::HCompound(const TopoDS_Shape& S)
0127 { return InternalCompound(5,Standard_False,S); }
0128
0129 //=======================================================================
0130 //function : Rg1LineHCompound
0131 //purpose :
0132 //=======================================================================
0133
0134 inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineHCompound()
0135 { return InternalCompound(3,Standard_False,TopoDS_Shape()); }
0136
0137 //=======================================================================
0138 //function : Rg1LineHCompound
0139 //purpose :
0140 //=======================================================================
0141
0142 inline TopoDS_Shape
0143 HLRBRep_HLRToShape::Rg1LineHCompound(const TopoDS_Shape& S)
0144 { return InternalCompound(3,Standard_False,S); }
0145
0146 //=======================================================================
0147 //function : RgNLineHCompound
0148 //purpose :
0149 //=======================================================================
0150
0151 inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineHCompound()
0152 { return InternalCompound(4,Standard_False,TopoDS_Shape()); }
0153
0154 //=======================================================================
0155 //function : RgNLineHCompound
0156 //purpose :
0157 //=======================================================================
0158
0159 inline TopoDS_Shape
0160 HLRBRep_HLRToShape::RgNLineHCompound(const TopoDS_Shape& S)
0161 { return InternalCompound(4,Standard_False,S); }
0162
0163 //=======================================================================
0164 //function : OutLineHCompound
0165 //purpose :
0166 //=======================================================================
0167
0168 inline TopoDS_Shape HLRBRep_HLRToShape::OutLineHCompound()
0169 { return InternalCompound(2,Standard_False,TopoDS_Shape()); }
0170
0171 //=======================================================================
0172 //function : OutLineHCompound
0173 //purpose :
0174 //=======================================================================
0175
0176 inline TopoDS_Shape
0177 HLRBRep_HLRToShape::OutLineHCompound(const TopoDS_Shape& S)
0178 { return InternalCompound(2,Standard_False,S); }
0179
0180 //=======================================================================
0181 //function : IsoLineHCompound
0182 //purpose :
0183 //=======================================================================
0184
0185 inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineHCompound()
0186 { return InternalCompound(1,Standard_False,TopoDS_Shape()); }
0187
0188 //=======================================================================
0189 //function : IsoLineHCompound
0190 //purpose :
0191 //=======================================================================
0192
0193 inline TopoDS_Shape
0194 HLRBRep_HLRToShape::IsoLineHCompound(const TopoDS_Shape& S)
0195 { return InternalCompound(1,Standard_False,S); }
0196
0197 //=======================================================================
0198 //function : CompoundOfEdges
0199 //purpose :
0200 //=======================================================================
0201
0202 inline TopoDS_Shape
0203 HLRBRep_HLRToShape::CompoundOfEdges(const HLRBRep_TypeOfResultingEdge type,
0204 const Standard_Boolean visible,
0205 const Standard_Boolean In3d)
0206 { return InternalCompound(type,visible,TopoDS_Shape(),In3d); }
0207
0208 //=======================================================================
0209 //function : CompoundOfEdges
0210 //purpose :
0211 //=======================================================================
0212
0213 inline TopoDS_Shape
0214 HLRBRep_HLRToShape::CompoundOfEdges(const TopoDS_Shape& S,
0215 const HLRBRep_TypeOfResultingEdge type,
0216 const Standard_Boolean visible,
0217 const Standard_Boolean In3d)
0218 { return InternalCompound(type,visible,S,In3d); }