Osmium  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Protected Member Functions | Protected Attributes
Osmium::Geometry::FromWay Class Reference

#include <from_way.hpp>

Inheritance diagram for Osmium::Geometry::FromWay:
Inheritance graph
[legend]
Collaboration diagram for Osmium::Geometry::FromWay:
Collaboration graph
[legend]

List of all members.

Protected Member Functions

 FromWay (const Osmium::OSM::WayNodeList &way_node_list, bool reverse=false, osm_object_id_t id=0)
SHPObject * create_line_or_polygon (int shp_type) const

Protected Attributes

const Osmium::OSM::WayNodeListm_way_node_list
const bool m_reverse

Constructor & Destructor Documentation

Osmium::Geometry::FromWay::FromWay ( const Osmium::OSM::WayNodeList way_node_list,
bool  reverse = false,
osm_object_id_t  id = 0 
) [inline, protected]

Member Function Documentation

SHPObject* Osmium::Geometry::FromWay::create_line_or_polygon ( int  shp_type) const [inline, protected]

Create a SHPObject for this way and return it.

Caller takes ownership. You have to call SHPDestroyObject() with this geometry when you are done.


Member Data Documentation

const bool Osmium::Geometry::FromWay::m_reverse [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines