Returns true if vector has one or more components equal to +/- infinity.
| 196 | /// Returns true if vector has one or more components equal to +/- infinity. |
| 197 | /// </summary> |
| 198 | bool IsInfinity() const |
| 199 | { |
| 200 | return isinf(X) || isinf(Y); |
| 201 | } |
| 202 | |
| 203 | /// <summary> |
| 204 | /// Returns true if vector has one or more components equal to +/- infinity or NaN. |
no test coverage detected