mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include <Standard_NullObject.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Poly_Polygon2D,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Poly_Polygon2D,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Poly_Polygon2D
|
||||
|
@@ -22,13 +22,13 @@
|
||||
|
||||
#include <Standard_Real.hxx>
|
||||
#include <TColgp_Array1OfPnt2d.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
class Standard_NullObject;
|
||||
|
||||
|
||||
class Poly_Polygon2D;
|
||||
DEFINE_STANDARD_HANDLE(Poly_Polygon2D, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Poly_Polygon2D, Standard_Transient)
|
||||
|
||||
//! Provides a polygon in 2D space (for example, in the
|
||||
//! parametric space of a surface). It is generally an
|
||||
@@ -36,7 +36,7 @@ DEFINE_STANDARD_HANDLE(Poly_Polygon2D, MMgt_TShared)
|
||||
//! A Polygon2D is defined by a table of nodes. Each node is
|
||||
//! a 2D point. If the polygon is closed, the point of closure is
|
||||
//! repeated at the end of the table of nodes.
|
||||
class Poly_Polygon2D : public MMgt_TShared
|
||||
class Poly_Polygon2D : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Poly_Polygon2D,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Poly_Polygon2D,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <Standard_NullObject.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Poly_Polygon3D,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Poly_Polygon3D,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Poly_Polygon3D
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <Standard_Real.hxx>
|
||||
#include <TColgp_Array1OfPnt.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
@@ -31,7 +31,7 @@ class Standard_NullObject;
|
||||
|
||||
|
||||
class Poly_Polygon3D;
|
||||
DEFINE_STANDARD_HANDLE(Poly_Polygon3D, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Poly_Polygon3D, Standard_Transient)
|
||||
|
||||
//! This class Provides a polygon in 3D space. It is generally an approximate representation of a curve.
|
||||
//! A Polygon3D is defined by a table of nodes. Each node is
|
||||
@@ -40,7 +40,7 @@ DEFINE_STANDARD_HANDLE(Poly_Polygon3D, MMgt_TShared)
|
||||
//! If the polygon is an approximate representation of a curve,
|
||||
//! you can associate with each of its nodes the value of the
|
||||
//! parameter of the corresponding point on the curve.
|
||||
class Poly_Polygon3D : public MMgt_TShared
|
||||
class Poly_Polygon3D : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -94,7 +94,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Poly_Polygon3D,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Poly_Polygon3D,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <Standard_NullObject.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Poly_PolygonOnTriangulation,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Poly_PolygonOnTriangulation,Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Poly_PolygonOnTriangulation
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <Standard_Real.hxx>
|
||||
#include <TColStd_Array1OfInteger.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
@@ -31,7 +31,7 @@ class Standard_NullObject;
|
||||
|
||||
|
||||
class Poly_PolygonOnTriangulation;
|
||||
DEFINE_STANDARD_HANDLE(Poly_PolygonOnTriangulation, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Poly_PolygonOnTriangulation, Standard_Transient)
|
||||
|
||||
//! This class provides a polygon in 3D space, based on the triangulation
|
||||
//! of a surface. It may be the approximate representation of a
|
||||
@@ -45,7 +45,7 @@ DEFINE_STANDARD_HANDLE(Poly_PolygonOnTriangulation, MMgt_TShared)
|
||||
//! on a surface, you can associate with each of its nodes the
|
||||
//! value of the parameter of the corresponding point on the
|
||||
//! curve.represents a 3d Polygon
|
||||
class Poly_PolygonOnTriangulation : public MMgt_TShared
|
||||
class Poly_PolygonOnTriangulation : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
|
||||
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Poly_PolygonOnTriangulation,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Poly_PolygonOnTriangulation,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include <Standard_NullObject.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT (Poly_Triangulation, MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT (Poly_Triangulation, Standard_Transient)
|
||||
|
||||
//=======================================================================
|
||||
//function : Poly_Triangulation
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include <TColgp_HArray1OfPnt2d.hxx>
|
||||
#include <Poly_Array1OfTriangle.hxx>
|
||||
#include <TShort_HArray1OfShortReal.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <TColgp_Array1OfPnt2d.hxx>
|
||||
#include <TShort_Array1OfShortReal.hxx>
|
||||
@@ -34,7 +34,7 @@ class Standard_NullObject;
|
||||
|
||||
|
||||
class Poly_Triangulation;
|
||||
DEFINE_STANDARD_HANDLE(Poly_Triangulation, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Poly_Triangulation, Standard_Transient)
|
||||
|
||||
//! Provides a triangulation for a surface, a set of surfaces, or
|
||||
//! more generally a shape.
|
||||
@@ -61,12 +61,12 @@ DEFINE_STANDARD_HANDLE(Poly_Triangulation, MMgt_TShared)
|
||||
//! representation induces simpler and more robust adjusting,
|
||||
//! faster performances, and the results are as good.
|
||||
//! This is a Transient class.
|
||||
class Poly_Triangulation : public MMgt_TShared
|
||||
class Poly_Triangulation : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Poly_Triangulation, MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Poly_Triangulation, Standard_Transient)
|
||||
|
||||
//! Constructs a triangulation from a set of triangles. The
|
||||
//! triangulation is initialized without a triangle or a node, but capable of
|
||||
|
Reference in New Issue
Block a user