------------------------------------------------------------------------------
| 1655 | |
| 1656 | //------------------------------------------------------------------------------ |
| 1657 | int vtkFunctionParser::GetMathConstantNumber(int currentIndex) |
| 1658 | { |
| 1659 | if (strncmp(&this->Function[currentIndex], "iHat", 4) == 0) |
| 1660 | { |
| 1661 | return VTK_PARSER_IHAT; |
| 1662 | } |
| 1663 | if (strncmp(&this->Function[currentIndex], "jHat", 4) == 0) |
| 1664 | { |
| 1665 | return VTK_PARSER_JHAT; |
| 1666 | } |
| 1667 | if (strncmp(&this->Function[currentIndex], "kHat", 4) == 0) |
| 1668 | { |
| 1669 | return VTK_PARSER_KHAT; |
| 1670 | } |
| 1671 | |
| 1672 | return 0; |
| 1673 | } |
| 1674 | |
| 1675 | //------------------------------------------------------------------------------ |
| 1676 | int vtkFunctionParser::GetMathConstantStringLength(int mathConstantNumber) |
no outgoing calls
no test coverage detected