| 1713 | |
| 1714 | |
| 1715 | int Gis_line_string::end_point(String *result) const |
| 1716 | { |
| 1717 | uint32 n_points; |
| 1718 | if (no_data(m_data, 4)) |
| 1719 | return 1; |
| 1720 | n_points= uint4korr(m_data); |
| 1721 | if (n_points == 0 || not_enough_points(m_data+4, n_points)) |
| 1722 | return 1; |
| 1723 | return create_point(result, m_data + 4 + (n_points - 1) * POINT_DATA_SIZE); |
| 1724 | } |
| 1725 | |
| 1726 | |
| 1727 | int Gis_line_string::point_n(uint32 num, String *result) const |
no test coverage detected