Dynamical system model
Loading...
Searching...
No Matches
dsf::geometry::PolyLine Class Reference

A polyline represented as a vector of Points. More...

#include <PolyLine.hpp>

Inheritance diagram for dsf::geometry::PolyLine:

Public Member Functions

 PolyLine (std::string const &strLine, std::string const &format="WKT")
 Construct a PolyLine from a string representation.
 

Detailed Description

A polyline represented as a vector of Points.

Constructor & Destructor Documentation

◆ PolyLine()

dsf::geometry::PolyLine::PolyLine ( std::string const & strLine,
std::string const & format = "WKT" )

Construct a PolyLine from a string representation.

Parameters
strLineThe string representation of the polyline.
formatThe format of the string representation. Default is "WKT".
Exceptions
std::invalid_argumentif the format is not supported or the string is invalid.

The documentation for this class was generated from the following files: