| 340 | } |
| 341 | |
| 342 | int8_t FeatureType::GetLayer() |
| 343 | { |
| 344 | if ((m_header & feature::HEADER_MASK_HAS_LAYER) == 0) |
| 345 | return feature::LAYER_EMPTY; |
| 346 | |
| 347 | ParseCommon(); |
| 348 | return m_params.layer; |
| 349 | } |
| 350 | |
| 351 | // TODO: One of the free bits could be used for a closed line flag to avoid storing identical first + last points. |
| 352 | void FeatureType::ParseHeader2() |
no outgoing calls
no test coverage detected