OGS
Polygon.cpp File Reference

Detailed Description

Implementation of the Polygon class.

Author
Thomas Fischer
Date
2010-06-21

Definition in file Polygon.cpp.

#include "Polygon.h"
#include <algorithm>
#include <boost/math/constants/constants.hpp>
#include "AnalyticalGeometry.h"
#include "BaseLib/quicksort.h"
Include dependency graph for Polygon.cpp:

Go to the source code of this file.

Namespaces

namespace  GeoLib
 

Enumerations

enum class  GeoLib::Location {
  GeoLib::LEFT , GeoLib::RIGHT , GeoLib::BEYOND , GeoLib::BEHIND ,
  GeoLib::BETWEEN , GeoLib::SOURCE , GeoLib::DESTINATION
}
 
enum class  GeoLib::EdgeType { GeoLib::TOUCHING , GeoLib::CROSSING , GeoLib::INESSENTIAL }
 

Functions

Location GeoLib::getLocationOfPoint (MathLib::Point3d const &source, MathLib::Point3d const &destination, MathLib::Point3d const &pnt)
 
EdgeType GeoLib::getEdgeType (MathLib::Point3d const &a, MathLib::Point3d const &b, MathLib::Point3d const &pnt)
 
std::vector< GeoLib::PointGeoLib::getAllIntersectionPoints (Polygon const &polygon, GeoLib::LineSegment const &segment)
 
bool GeoLib::operator== (Polygon const &lhs, Polygon const &rhs)