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

Method CanConvertToFixedSize32BitStorage

Common/DataModel/vtkCellArray.cxx:1141–1155  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1139
1140//------------------------------------------------------------------------------
1141bool vtkCellArray::CanConvertToFixedSize32BitStorage() const
1142{
1143 if (this->IsStorageFixedSize32Bit())
1144 {
1145 return true;
1146 }
1147 const vtkIdType homogeneousCellSize = this->IsHomogeneous();
1148 if (homogeneousCellSize >= 0)
1149 {
1150 bool result;
1151 this->Dispatch(CanConvert<AOSArray32::ValueType>{}, result);
1152 return result;
1153 }
1154 return false;
1155}
1156
1157//------------------------------------------------------------------------------
1158bool vtkCellArray::CanConvertToFixedSize64BitStorage() const

Calls 2

IsHomogeneousMethod · 0.95
DispatchMethod · 0.45

Tested by 1