mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-25 00:57:38 +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:
@@ -32,6 +32,7 @@ class Geom_Curve;
|
||||
class TopoDS_Vertex;
|
||||
class gp_Pnt;
|
||||
class Geom2d_Curve;
|
||||
class Poly_Triangulation;
|
||||
|
||||
|
||||
class BRepTools_Modification;
|
||||
@@ -59,7 +60,12 @@ public:
|
||||
//! false, and the values of S, L, Tol, RevWires and
|
||||
//! RevFace are not significant.
|
||||
Standard_EXPORT virtual Standard_Boolean NewSurface (const TopoDS_Face& F, Handle(Geom_Surface)& S, TopLoc_Location& L, Standard_Real& Tol, Standard_Boolean& RevWires, Standard_Boolean& RevFace) = 0;
|
||||
|
||||
|
||||
//! Returns true if the face has been modified according to changed triangulation.
|
||||
//! If the face has been modified:
|
||||
//! - T is a new triangulation on the face
|
||||
Standard_EXPORT virtual Standard_Boolean NewTriangulation(const TopoDS_Face& F, Handle(Poly_Triangulation)& T);
|
||||
|
||||
//! Returns true if the edge, E, has been modified.
|
||||
//! If the edge has been modified:
|
||||
//! - C is the new geometry associated with the edge,
|
||||
|
||||
Reference in New Issue
Block a user