
Wed, 11/27/2013 - 22:05
Forums:
Hi,
I have found a bug in ..
//=======================================================================
//function : AddOnlyNewVertex
//design : Adds the vertex only if X and Y and Z doesn`t already exists.
//=======================================================================
Standard_Integer StlMesh_MeshDomain::AddOnlyNewVertex(const Standard_Real X,
const Standard_Real Y,
const Standard_Real Z,
Standard_Boolean& IsNew)
The method *always* inserts a new vertex. IsNew returns constantly "true".
How can I fix this?
Regards
Thorsten
Thu, 11/28/2013 - 13:04
Dear Thorsten,
I suggest you to register the specified issue in Mantis Bugtracker which is available via the Collaborative portal - http://dev.opencascade.org/index.php?q=home/get_involved.
You are also welcome to develop a corresponding patch and make a contribution via the Collaborative portal - http://dev.opencascade.org/index.php?q=home/get_involved.
Best regards
Fri, 11/29/2013 - 04:55
I searched Mantis Bugtracker...
http://tracker.dev.opencascade.org/view.php?id=17422
--
"It seems that the AddOnlyNewVertex method in the StlMesh_MeshDomain class does
actually add the vertex each time. It does not check, if the vertex is already
included in the vertexCoords sequence. This produces models with a huge number
of vertices (number of triangles * 3)."
Date submitted: 2007-10-25 14:50
Status: New
--
Seems to be a hard-recoverable bug. I don't think I am able to fix this. :-/