DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0033222

pls add missing method in Poly_Triangulation.hxx: Poly_Triangulation::Standard_Integer NbUVNodes()

CommunityOCCT:Data Exchangeclosed4 public notes

Search issues

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(); }

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.

01Commenter 2
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().

02Author
Commenter 4
okay.
Thanks!
03Commenter 5
Dear Commenter 1,
please close the issue.
04Commenter 6
No change needed.