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

Method InsertUniquePoint

Filters/HyperTree/vtkHyperTreeGridGeometry3DImpl.cxx:907–922  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

905
906//------------------------------------------------------------------------------
907vtkIdType vtkHyperTreeGridGeometry3DImpl::InsertUniquePoint(HTG3DPoint& point)
908{
909 if (point.IsValid && point.Id < 0)
910 {
911 // Insert a point
912 if (this->Locator)
913 {
914 this->Locator->InsertUniquePoint(point.Coords, point.Id);
915 }
916 else
917 {
918 point.Id = this->OutPoints->InsertNextPoint(point.Coords);
919 }
920 }
921 return point.Id;
922}
923
924//----------------------------------------------------------------------------------------------
925bool vtkHyperTreeGridGeometry3DImpl::GetHasInterface(vtkIdType cellId) const

Callers 3

GenerateOneCellFaceMethod · 0.95
AddFaceMethod · 0.45
InsertNewEdgeMethod · 0.45

Calls 1

InsertNextPointMethod · 0.45

Tested by

no test coverage detected