#include <ShapePersistent_Geom2d.hxx>
#include <ShapePersistent_Poly.hxx>
#include <StdObject_Location.hxx>
-#include <StdObject_gp.hxx>
+#include <StdObject_gp_Vectors.hxx>
#include <BRep_ListOfPointRepresentation.hxx>
#include <BRep_ListOfCurveRepresentation.hxx>
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
-#include <GeomAbs_Shape.hxx>
class BRep_PointRepresentation;
class BRep_CurveRepresentation;
virtual Handle(BRep_PointRepresentation) import() const;
protected:
- Object <StdObject_Location> myLocation;
- Value <Standard_Real> myParameter;
+ StdObject_Location myLocation;
+ Standard_Real myParameter;
private:
- Reference<PointRepresentation> myNext;
+ Handle(PointRepresentation) myNext;
};
class PointOnCurve : public PointRepresentation
virtual Handle(BRep_PointRepresentation) import() const;
private:
- Reference<ShapePersistent_Geom::Curve> myCurve;
+ Handle(ShapePersistent_Geom::Curve) myCurve;
};
class PointsOnSurface : public PointRepresentation
virtual void Read (StdObjMgt_ReadData& theReadData);
protected:
- Reference<ShapePersistent_Geom::Surface> mySurface;
+ Handle(ShapePersistent_Geom::Surface) mySurface;
};
class PointOnCurveOnSurface : public PointsOnSurface
virtual Handle(BRep_PointRepresentation) import() const;
private:
- Reference<ShapePersistent_Geom2d::Curve> myPCurve;
+ Handle(ShapePersistent_Geom2d::Curve) myPCurve;
};
class PointOnSurface : public PointsOnSurface
virtual Handle(BRep_PointRepresentation) import() const;
private:
- Value<Standard_Real> myParameter2;
+ Standard_Real myParameter2;
};
class CurveRepresentation : public StdObjMgt_Persistent
virtual Handle(BRep_CurveRepresentation) import() const;
protected:
- Object<StdObject_Location> myLocation;
+ StdObject_Location myLocation;
private:
- Reference<CurveRepresentation> myNext;
+ Handle(CurveRepresentation) myNext;
};
class GCurve : public CurveRepresentation
virtual void Read (StdObjMgt_ReadData& theReadData);
protected:
- Value<Standard_Real> myFirst;
- Value<Standard_Real> myLast;
+ Standard_Real myFirst;
+ Standard_Real myLast;
};
class Curve3D : public GCurve
virtual Handle(BRep_CurveRepresentation) import() const;
private:
- Reference<ShapePersistent_Geom::Curve> myCurve3D;
+ Handle(ShapePersistent_Geom::Curve) myCurve3D;
};
class CurveOnSurface : public GCurve
virtual Handle(BRep_CurveRepresentation) import() const;
protected:
- Reference<ShapePersistent_Geom2d::Curve> myPCurve;
- Reference<ShapePersistent_Geom::Surface> mySurface;
- StdObject_gp::Object<gp_Pnt2d> myUV1;
- StdObject_gp::Object<gp_Pnt2d> myUV2;
+ Handle(ShapePersistent_Geom2d::Curve) myPCurve;
+ Handle(ShapePersistent_Geom::Surface) mySurface;
+ gp_Pnt2d myUV1;
+ gp_Pnt2d myUV2;
};
class CurveOnClosedSurface : public CurveOnSurface
virtual Handle(BRep_CurveRepresentation) import() const;
private:
- Reference<ShapePersistent_Geom2d::Curve> myPCurve2;
- Enum<GeomAbs_Shape> myContinuity;
- StdObject_gp::Object<gp_Pnt2d> myUV21;
- StdObject_gp::Object<gp_Pnt2d> myUV22;
+ Handle(ShapePersistent_Geom2d::Curve) myPCurve2;
+ Standard_Integer myContinuity;
+ gp_Pnt2d myUV21;
+ gp_Pnt2d myUV22;
};
class Polygon3D : public CurveRepresentation
virtual Handle(BRep_CurveRepresentation) import() const;
private:
- Reference<ShapePersistent_Poly::Polygon3D> myPolygon3D;
+ Handle(ShapePersistent_Poly::Polygon3D) myPolygon3D;
};
class PolygonOnTriangulation : public CurveRepresentation
virtual Handle(BRep_CurveRepresentation) import() const;
protected:
- Reference<ShapePersistent_Poly::PolygonOnTriangulation> myPolygon;
- Reference<ShapePersistent_Poly::Triangulation> myTriangulation;
+ Handle(ShapePersistent_Poly::PolygonOnTriangulation) myPolygon;
+ Handle(ShapePersistent_Poly::Triangulation) myTriangulation;
};
class PolygonOnClosedTriangulation : public PolygonOnTriangulation
virtual Handle(BRep_CurveRepresentation) import() const;
private:
- Reference<ShapePersistent_Poly::PolygonOnTriangulation> myPolygon2;
+ Handle(ShapePersistent_Poly::PolygonOnTriangulation) myPolygon2;
};
class PolygonOnSurface : public CurveRepresentation
virtual Handle(BRep_CurveRepresentation) import() const;
protected:
- Reference<ShapePersistent_Poly::Polygon2D> myPolygon2D;
- Reference<ShapePersistent_Geom::Surface> mySurface;
+ Handle(ShapePersistent_Poly::Polygon2D) myPolygon2D;
+ Handle(ShapePersistent_Geom::Surface) mySurface;
};
class PolygonOnClosedSurface : public PolygonOnSurface
virtual Handle(BRep_CurveRepresentation) import() const;
private:
- Reference<ShapePersistent_Poly::Polygon2D> myPolygon2;
+ Handle(ShapePersistent_Poly::Polygon2D) myPolygon2;
};
class CurveOn2Surfaces : public CurveRepresentation
virtual Handle(BRep_CurveRepresentation) import() const;
private:
- Reference <ShapePersistent_Geom::Surface> mySurface;
- Reference <ShapePersistent_Geom::Surface> mySurface2;
- Object <StdObject_Location> myLocation2;
- Enum <GeomAbs_Shape> myContinuity;
+ Handle(ShapePersistent_Geom::Surface) mySurface;
+ Handle(ShapePersistent_Geom::Surface) mySurface2;
+ StdObject_Location myLocation2;
+ Standard_Integer myContinuity;
};
private:
virtual Handle(TopoDS_TShape) createTShape() const;
private:
- Value<Standard_Real> myTolerance;
- StdObject_gp::Object<gp_Pnt> myPnt;
- Reference<PointRepresentation> myPoints;
+ Standard_Real myTolerance;
+ gp_Pnt myPnt;
+ Handle(PointRepresentation) myPoints;
};
class pTEdge : public pTBase
virtual Handle(TopoDS_TShape) createTShape() const;
private:
- Value <Standard_Real> myTolerance;
- Value <Standard_Integer> myFlags;
- Reference <CurveRepresentation> myCurves;
+ Standard_Real myTolerance;
+ Standard_Integer myFlags;
+ Handle(CurveRepresentation) myCurves;
};
class pTFace : public pTBase
virtual Handle(TopoDS_TShape) createTShape() const;
private:
- Reference <ShapePersistent_Geom::Surface> mySurface;
- Reference <ShapePersistent_Poly::Triangulation> myTriangulation;
- Object <StdObject_Location> myLocation;
- Value <Standard_Real> myTolerance;
- Value <Standard_Boolean> myNaturalRestriction;
+ Handle(ShapePersistent_Geom::Surface) mySurface;
+ Handle(ShapePersistent_Poly::Triangulation) myTriangulation;
+ StdObject_Location myLocation;
+ Standard_Real myTolerance;
+ Standard_Boolean myNaturalRestriction;
};
public: