Archived issue #0033222
pls add missing method in Poly_Triangulation.hxx: Poly_Triangulation::Standard_Integer NbUVNodes()
Description
=== affected file(s) ===
C:\OpenCASCADE-7.7.0-vc14-64\opencascade-7.7.0\src\Poly\Poly_Triangulation.hxx
C:\OpenCASCADE-7.7.0-vc14-64\opencascade-7.7.0\inc\Poly_Triangulation.hxx
=== affected class ===
class Poly_Triangulation
=== pls add this method ===
//! Returns the number of UV nodes for this triangulation.
Standard_Integer NbUVNodes() const { return myUVNodes.Length(); }
C:\OpenCASCADE-7.7.0-vc14-64\opencascade-7.7.0\src\Poly\Poly_Triangulation.hxx
C:\OpenCASCADE-7.7.0-vc14-64\opencascade-7.7.0\inc\Poly_Triangulation.hxx
=== affected class ===
class Poly_Triangulation
=== pls add this method ===
//! Returns the number of UV nodes for this triangulation.
Standard_Integer NbUVNodes() const { return myUVNodes.Length(); }
Steps to reproduce
minor change in source code
Additional information
n/a
Public activity
4 archived notes
Participants are labeled by their role within this record.
Commenter 3
The size of normals, UV points are the same with NbNodes(). You can't change a size of one of them separately.
To check a size of UVPoint or Normal, it is needed to check, that they are existed by special methods: HasNormals(), HasUVNodes().
The size of normals, UV points are the same with NbNodes(). You can't change a size of one of them separately.
To check a size of UVPoint or Normal, it is needed to check, that they are existed by special methods: HasNormals(), HasUVNodes().
Commenter 4
okay.
Thanks!
okay.
Thanks!
Dear Commenter 1,
please close the issue.
please close the issue.
No change needed.