/usr/include/opencascade/MgtGeom2d.hxx is in libopencascade-ocaf-lite-dev 6.5.0.dfsg-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _MgtGeom2d_HeaderFile
#define _MgtGeom2d_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Handle_Geom2d_AxisPlacement_HeaderFile
#include <Handle_Geom2d_AxisPlacement.hxx>
#endif
#ifndef _Handle_PGeom2d_AxisPlacement_HeaderFile
#include <Handle_PGeom2d_AxisPlacement.hxx>
#endif
#ifndef _Handle_Geom2d_BSplineCurve_HeaderFile
#include <Handle_Geom2d_BSplineCurve.hxx>
#endif
#ifndef _Handle_PGeom2d_BSplineCurve_HeaderFile
#include <Handle_PGeom2d_BSplineCurve.hxx>
#endif
#ifndef _Handle_Geom2d_BezierCurve_HeaderFile
#include <Handle_Geom2d_BezierCurve.hxx>
#endif
#ifndef _Handle_PGeom2d_BezierCurve_HeaderFile
#include <Handle_PGeom2d_BezierCurve.hxx>
#endif
#ifndef _Handle_Geom2d_CartesianPoint_HeaderFile
#include <Handle_Geom2d_CartesianPoint.hxx>
#endif
#ifndef _Handle_PGeom2d_CartesianPoint_HeaderFile
#include <Handle_PGeom2d_CartesianPoint.hxx>
#endif
#ifndef _Handle_Geom2d_Circle_HeaderFile
#include <Handle_Geom2d_Circle.hxx>
#endif
#ifndef _Handle_PGeom2d_Circle_HeaderFile
#include <Handle_PGeom2d_Circle.hxx>
#endif
#ifndef _Handle_Geom2d_Curve_HeaderFile
#include <Handle_Geom2d_Curve.hxx>
#endif
#ifndef _Handle_PGeom2d_Curve_HeaderFile
#include <Handle_PGeom2d_Curve.hxx>
#endif
#ifndef _Handle_Geom2d_Direction_HeaderFile
#include <Handle_Geom2d_Direction.hxx>
#endif
#ifndef _Handle_PGeom2d_Direction_HeaderFile
#include <Handle_PGeom2d_Direction.hxx>
#endif
#ifndef _Handle_Geom2d_Ellipse_HeaderFile
#include <Handle_Geom2d_Ellipse.hxx>
#endif
#ifndef _Handle_PGeom2d_Ellipse_HeaderFile
#include <Handle_PGeom2d_Ellipse.hxx>
#endif
#ifndef _Handle_Geom2d_Hyperbola_HeaderFile
#include <Handle_Geom2d_Hyperbola.hxx>
#endif
#ifndef _Handle_PGeom2d_Hyperbola_HeaderFile
#include <Handle_PGeom2d_Hyperbola.hxx>
#endif
#ifndef _Handle_Geom2d_Line_HeaderFile
#include <Handle_Geom2d_Line.hxx>
#endif
#ifndef _Handle_PGeom2d_Line_HeaderFile
#include <Handle_PGeom2d_Line.hxx>
#endif
#ifndef _Handle_Geom2d_OffsetCurve_HeaderFile
#include <Handle_Geom2d_OffsetCurve.hxx>
#endif
#ifndef _Handle_PGeom2d_OffsetCurve_HeaderFile
#include <Handle_PGeom2d_OffsetCurve.hxx>
#endif
#ifndef _Handle_Geom2d_Parabola_HeaderFile
#include <Handle_Geom2d_Parabola.hxx>
#endif
#ifndef _Handle_PGeom2d_Parabola_HeaderFile
#include <Handle_PGeom2d_Parabola.hxx>
#endif
#ifndef _Handle_Geom2d_Point_HeaderFile
#include <Handle_Geom2d_Point.hxx>
#endif
#ifndef _Handle_PGeom2d_Point_HeaderFile
#include <Handle_PGeom2d_Point.hxx>
#endif
#ifndef _Handle_Geom2d_Transformation_HeaderFile
#include <Handle_Geom2d_Transformation.hxx>
#endif
#ifndef _Handle_PGeom2d_Transformation_HeaderFile
#include <Handle_PGeom2d_Transformation.hxx>
#endif
#ifndef _Handle_Geom2d_TrimmedCurve_HeaderFile
#include <Handle_Geom2d_TrimmedCurve.hxx>
#endif
#ifndef _Handle_PGeom2d_TrimmedCurve_HeaderFile
#include <Handle_PGeom2d_TrimmedCurve.hxx>
#endif
#ifndef _Handle_Geom2d_VectorWithMagnitude_HeaderFile
#include <Handle_Geom2d_VectorWithMagnitude.hxx>
#endif
#ifndef _Handle_PGeom2d_VectorWithMagnitude_HeaderFile
#include <Handle_PGeom2d_VectorWithMagnitude.hxx>
#endif
class Geom2d_AxisPlacement;
class PGeom2d_AxisPlacement;
class Geom2d_BSplineCurve;
class PGeom2d_BSplineCurve;
class Geom2d_BezierCurve;
class PGeom2d_BezierCurve;
class Geom2d_CartesianPoint;
class PGeom2d_CartesianPoint;
class Geom2d_Circle;
class PGeom2d_Circle;
class Geom2d_Curve;
class PGeom2d_Curve;
class Geom2d_Direction;
class PGeom2d_Direction;
class Geom2d_Ellipse;
class PGeom2d_Ellipse;
class Geom2d_Hyperbola;
class PGeom2d_Hyperbola;
class Geom2d_Line;
class PGeom2d_Line;
class Geom2d_OffsetCurve;
class PGeom2d_OffsetCurve;
class Geom2d_Parabola;
class PGeom2d_Parabola;
class Geom2d_Point;
class PGeom2d_Point;
class Geom2d_Transformation;
class PGeom2d_Transformation;
class Geom2d_TrimmedCurve;
class PGeom2d_TrimmedCurve;
class Geom2d_VectorWithMagnitude;
class PGeom2d_VectorWithMagnitude;
//! This package provides methods to translate <br>
//! transient objects from Geom2d to persistent <br>
//! objects from PGeom2d and vice-versa. No track from <br>
//! previous translation is kept. <br>
//! <br>
//! Data is not shared: <br>
//! - between transient and persistent objects, <br>
//! or <br>
//! - between two successive translations of the same object. <br>
class MgtGeom2d {
public:
void* operator new(size_t,void* anAddress)
{
return anAddress;
}
void* operator new(size_t size)
{
return Standard::Allocate(size);
}
void operator delete(void *anAddress)
{
if (anAddress) Standard::Free((Standard_Address&)anAddress);
}
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_AxisPlacement Translate(const Handle(PGeom2d_AxisPlacement)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_AxisPlacement Translate(const Handle(Geom2d_AxisPlacement)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_BSplineCurve Translate(const Handle(PGeom2d_BSplineCurve)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_BSplineCurve Translate(const Handle(Geom2d_BSplineCurve)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_BezierCurve Translate(const Handle(PGeom2d_BezierCurve)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_BezierCurve Translate(const Handle(Geom2d_BezierCurve)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_CartesianPoint Translate(const Handle(PGeom2d_CartesianPoint)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_CartesianPoint Translate(const Handle(Geom2d_CartesianPoint)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_Circle Translate(const Handle(PGeom2d_Circle)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_Circle Translate(const Handle(Geom2d_Circle)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
//! Raises Null Object if PObj has no mapping <br>
Standard_EXPORT static Handle_Geom2d_Curve Translate(const Handle(PGeom2d_Curve)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
//! Raises NullObject if TObj has no mapping <br>
Standard_EXPORT static Handle_PGeom2d_Curve Translate(const Handle(Geom2d_Curve)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_Direction Translate(const Handle(PGeom2d_Direction)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_Direction Translate(const Handle(Geom2d_Direction)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_Ellipse Translate(const Handle(PGeom2d_Ellipse)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_Ellipse Translate(const Handle(Geom2d_Ellipse)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_Hyperbola Translate(const Handle(PGeom2d_Hyperbola)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_Hyperbola Translate(const Handle(Geom2d_Hyperbola)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_Line Translate(const Handle(PGeom2d_Line)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_Line Translate(const Handle(Geom2d_Line)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_OffsetCurve Translate(const Handle(PGeom2d_OffsetCurve)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_OffsetCurve Translate(const Handle(Geom2d_OffsetCurve)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_Parabola Translate(const Handle(PGeom2d_Parabola)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_Parabola Translate(const Handle(Geom2d_Parabola)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_Point Translate(const Handle(PGeom2d_Point)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_Point Translate(const Handle(Geom2d_Point)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_Transformation Translate(const Handle(PGeom2d_Transformation)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_Transformation Translate(const Handle(Geom2d_Transformation)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_TrimmedCurve Translate(const Handle(PGeom2d_TrimmedCurve)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_TrimmedCurve Translate(const Handle(Geom2d_TrimmedCurve)& TObj) ;
//! Translate <PObj> to its Transient equivalent from Geom2d. <br>
Standard_EXPORT static Handle_Geom2d_VectorWithMagnitude Translate(const Handle(PGeom2d_VectorWithMagnitude)& PObj) ;
//! Translate <TObj> to its Persistent equivalent from PGeom2d. <br>
Standard_EXPORT static Handle_PGeom2d_VectorWithMagnitude Translate(const Handle(Geom2d_VectorWithMagnitude)& TObj) ;
protected:
private:
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|