mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 05:28:47 +08:00
0026458: BRepBuilderAPI_Copy does not copy mesh structure
* The possibility to copy mesh is implemented. It may be enabled by copyMesh flag, by default it is disabled. * Poly_Triangulation::Copy() method is added. * The mesh is copied if and only if copyMesh flag is true.
This commit is contained in:
@@ -48,13 +48,13 @@ public:
|
||||
//! geometry 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);
|
||||
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.
|
||||
Standard_EXPORT void Perform (const TopoDS_Shape& S, const Standard_Boolean copyGeom = Standard_True);
|
||||
Standard_EXPORT void Perform (const TopoDS_Shape& S, const Standard_Boolean copyGeom = Standard_True, const Standard_Boolean copyMesh = Standard_False);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user