#include <Standard_Handle.hxx>
#include <BRepBuilderAPI_ModifyShape.hxx>
-#include <Standard_Boolean.hxx>
-class TopoDS_Shape;
+class TopoDS_Shape;
//! Duplication of a shape.
//! A Copy object provides a framework for:
public:
DEFINE_STANDARD_ALLOC
-
//! Constructs an empty copy framework. Use the function
//! Perform to copy shapes.
//! Constructs a copy framework and copies the shape S.
//! Use the function Shape to access the result.
- //! If copyGeom is False, only topological objects will be copied, while
- //! geometry will be shared with original shape.
+ //! If copyMesh is True, triangulation contained in original shape will be
+ //! copied along with geometry (by default, triangulation gets lost).
+ //! If copyGeom is False, only topological objects will be copied, while
+ //! geometry and triangulation will be shared with original shape.
//! Note: the constructed framework can be reused to copy
//! other shapes: just specify them with the function Perform.
Standard_EXPORT BRepBuilderAPI_Copy(const TopoDS_Shape& S, const Standard_Boolean copyGeom = Standard_True, const Standard_Boolean copyMesh = Standard_False);
//! Copies the shape S.
//! Use the function Shape to access the result.
- //! If copyGeom is False, only topological objects will be copied, while
- //! geometry will be shared with original shape.
+ //! If copyMesh is True, triangulation contained in original shape will be
+ //! copied along with geometry (by default, triangulation gets lost).
+ //! If copyGeom is False, only topological objects will be copied, while
+ //! geometry and triangulation will be shared with original shape.
Standard_EXPORT void Perform (const TopoDS_Shape& S, const Standard_Boolean copyGeom = Standard_True, const Standard_Boolean copyMesh = Standard_False);
-
-
-
-protected:
-
-
-
-
-
-private:
-
-
-
-
-
};
-
-
-
-
-
-
#endif // _BRepBuilderAPI_Copy_HeaderFile