View Issue Details

IDProjectCategoryView StatusLast Update
0027005CommunityOCCT:Data Exchangepublic2017-08-17 16:06
Reporterspamkiller Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
PlatformWindowsOSVC++ 2013 
Product Version6.9.1 
Summary0027005: Standard_Integer StlMesh_MeshDomain::AddOnlyNewVertex(...) does not work
DescriptionALWAYS adds a new vertex and "IsNew" returns ALWAYS as "true". This method does not work as described.

//=======================================================================
//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)
{
  gp_XYZ Vx (X, Y, Z);
  IsNew = Standard_True;
  vertexCoords.Append (Vx);
  nbVertices++;
  return nbVertices;
}
Steps To ReproduceCall multiple times with the same three vertices of the same triangle.
TagsNo tags attached.
Test case numberNot needed

Relationships

related to 0028840 closedbugmaster Open CASCADE Data Exchange - rewrite the STL Reader/Writer 

Activities

mkv

2017-08-17 16:06

tester   ~0069542

StlMesh_MeshDomain.cxx file was deleted by fix 0028840

Issue History

Date Modified Username Field Change
2015-12-16 19:25 spamkiller New Issue
2015-12-16 19:25 spamkiller Assigned To => gka
2017-06-13 11:47 aml Relationship added related to 0028840
2017-08-17 16:06 mkv Test case number => Not needed
2017-08-17 16:06 mkv Note Added: 0069542
2017-08-17 16:06 mkv Assigned To gka => bugmaster
2017-08-17 16:06 mkv Status new => closed
2017-08-17 16:06 mkv Resolution open => no change required