introduce and use geodata_cast

Authored by shentey on Mar 15 2017, 9:31 PM.

Description

introduce and use geodata_cast

Previously, one had to know the relation between GeoNode's nodeType() and static_cast<> for a cast to be valid. With geodata_cast<>, this knowledge isn't required any more. In addition, it makes the code more concise by requiring just one line instead of two.

Details

Committed
shenteyMar 15 2017, 9:31 PM
Parents
R34:7548e1ad8905: dynamic_cast to GeoDataLineString
Branches
Unknown
Tags
Unknown