MCPcopy Create free account
hub / github.com/Kitware/VTK / GetNumberOfVerts

Function GetNumberOfVerts

Common/DataModel/vtkPolyData.h:223–223  ·  view source on GitHub ↗

@{ * Return the number of primitives of a particular type held. */

Source from the content-addressed store, hash-verified

221 * Return the number of primitives of a particular type held.
222 */
223 vtkIdType GetNumberOfVerts() { return (this->Verts ? this->Verts->GetNumberOfCells() : 0); }
224 vtkIdType GetNumberOfLines() { return (this->Lines ? this->Lines->GetNumberOfCells() : 0); }
225 vtkIdType GetNumberOfPolys() { return (this->Polys ? this->Polys->GetNumberOfCells() : 0); }
226 vtkIdType GetNumberOfStrips() { return (this->Strips ? this->Strips->GetNumberOfCells() : 0); }

Callers 1

TestOBJReaderRelativeFunction · 0.85

Calls 1

GetNumberOfCellsMethod · 0.45

Tested by 1

TestOBJReaderRelativeFunction · 0.68