OGS
Polyline.h File Reference

Detailed Description

Definition of the PolyLine class.

Author
Thomas Fischer
Date
2010-01-14

Definition in file Polyline.h.

#include <cmath>
#include <vector>
#include "GeoObject.h"
#include "LineSegment.h"
#include "Point.h"
#include "MathLib/Point3d.h"
Include dependency graph for Polyline.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GeoLib::Polyline
 Class Polyline consists mainly of a reference to a point vector and a vector that stores the indices in the point vector. A polyline consists of at least one line segment. The polyline is specified by the points of the line segments. The class Polyline stores ids of pointers to the points in the _ply_pnt_ids vector. More...
 
class  GeoLib::Polyline::SegmentIterator
 

Namespaces

 GeoLib
 

Enumerations

enum class  GeoLib::Location {
  GeoLib::LEFT , GeoLib::RIGHT , GeoLib::BEYOND , GeoLib::BEHIND ,
  GeoLib::BETWEEN , GeoLib::SOURCE , GeoLib::DESTINATION
}
 

Functions

bool GeoLib::containsEdge (const Polyline &ply, std::size_t id0, std::size_t id1)
 
bool GeoLib::operator== (Polyline const &lhs, Polyline const &rhs)
 
bool GeoLib::pointsAreIdentical (const std::vector< Point * > &pnt_vec, std::size_t i, std::size_t j, double prox)