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

Function expectedCellId

Rendering/Core/Testing/Python/pickCompositeData2.py:145–149  ·  view source on GitHub ↗

Returns the expected cell index

(data)

Source from the content-addressed store, hash-verified

143 return data[1]
144
145def expectedCellId(data):
146 """ Returns the expected cell index """
147 if not data[0] or data[1]<0:
148 return -1
149 return data[2]
150
151
152def compareExpectedAndActual(what,expected,actual):

Callers 1

cellPickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected