------------------------------------------------------------------------------ Description: Interpolation order of the geometry. \post positive_result: result>=0
| 146 | // Interpolation order of the geometry. |
| 147 | // \post positive_result: result>=0 |
| 148 | int vtkBridgeCell::GetGeometryOrder() |
| 149 | { |
| 150 | int result; |
| 151 | if (this->Cell->IsLinear()) |
| 152 | { |
| 153 | result = 1; |
| 154 | } |
| 155 | else |
| 156 | { |
| 157 | result = 2; // GetOrder() is missing in vtkCell... |
| 158 | } |
| 159 | assert("post: positive_result" && result >= 0); |
| 160 | return result; |
| 161 | } |
| 162 | |
| 163 | //------------------------------------------------------------------------------ |
| 164 | // Description: |
no test coverage detected