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

Method GetPointIds

Testing/GenericBridge/vtkBridgeCell.cxx:689–699  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Put into `id' the list of ids the point of the cell. \pre id_exists: id!=0 \pre valid_size: sizeof(id)==GetNumberOfPoints();

Source from the content-addressed store, hash-verified

687// \pre id_exists: id!=0
688// \pre valid_size: sizeof(id)==GetNumberOfPoints();
689void vtkBridgeCell::GetPointIds(vtkIdType* id)
690{
691 vtkIdType i = 0;
692 vtkIdList* l = this->Cell->GetPointIds();
693 vtkIdType c = this->GetNumberOfBoundaries(0);
694 while (i < c)
695 {
696 id[i] = l->GetId(i);
697 ++i;
698 }
699}
700//------------------------------------------------------------------------------
701// Description:
702// Return the ids of the vertices defining face `faceId'.

Callers 6

InitWithCellMethod · 0.45
CountNeighborsMethod · 0.45
CountEdgeNeighborsMethod · 0.45
GetNeighborsMethod · 0.45
IsFaceOnBoundaryMethod · 0.45
FetchPointsMethod · 0.45

Calls 2

GetNumberOfBoundariesMethod · 0.95
GetIdMethod · 0.45

Tested by

no test coverage detected