MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0027005Community[OCCT] OCCT:Data Exchangepublic2015-12-16 19:252017-08-17 16:06
Reporterspamkiller 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusclosedResolutionno change required 
PlatformWindowsOSVC++ 2013OS Version64 bit
Product Version[OCCT] 6.9.1 
Target VersionFixed in Version 
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
Attached Files

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

-  Notes
(0069542)
mkv (tester)
2017-08-17 16:06

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


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker