------------------------------------------------------------------------------
| 2011 | |
| 2012 | //------------------------------------------------------------------------------ |
| 2013 | bool vtkNetCDFCFReader::DimensionsAreForPointData(vtkIntArray* dimensions) |
| 2014 | { |
| 2015 | switch (this->CoordinateType(dimensions)) |
| 2016 | { |
| 2017 | case COORDS_UNIFORM_RECTILINEAR: |
| 2018 | return true; |
| 2019 | case COORDS_NONUNIFORM_RECTILINEAR: |
| 2020 | return true; |
| 2021 | case COORDS_REGULAR_SPHERICAL: |
| 2022 | return false; |
| 2023 | case COORDS_2D_EUCLIDEAN: |
| 2024 | return true; |
| 2025 | case COORDS_2D_SPHERICAL: |
| 2026 | return true; |
| 2027 | case COORDS_EUCLIDEAN_4SIDED_CELLS: |
| 2028 | return false; |
| 2029 | case COORDS_SPHERICAL_4SIDED_CELLS: |
| 2030 | return false; |
| 2031 | case COORDS_EUCLIDEAN_PSIDED_CELLS: |
| 2032 | return false; |
| 2033 | case COORDS_SPHERICAL_PSIDED_CELLS: |
| 2034 | return false; |
| 2035 | default: |
| 2036 | vtkErrorMacro("Internal error: unknown coordinate type."); |
| 2037 | return true; |
| 2038 | } |
| 2039 | } |
| 2040 | |
| 2041 | //------------------------------------------------------------------------------ |
| 2042 | void vtkNetCDFCFReader::SetTimeDimensionName(const char* name) |
no test coverage detected