dune-mmesh 1.4.1-git
Loading...
Searching...
No Matches
Dune::PolygonCutting< Scalar, Point > Class Template Reference

#include <dune/mmesh/grid/polygoncutting.hh>

Static Public Member Functions

template<typename Polygon >
static std::vector< Point > sutherlandHodgman (const Polygon &subjectPolygon, const Polygon &clipPolygonInput)
 
static Point lineIntersectionPoint (const Point &p1, const Point &p2, const Point &q1, const Point &q2)
 
template<typename Points >
static Scalar polygonArea (const Points &polygonPoints)
 

Member Function Documentation

◆ lineIntersectionPoint()

template<class Scalar , class Point >
static Point Dune::PolygonCutting< Scalar, Point >::lineIntersectionPoint ( const Point &  p1,
const Point &  p2,
const Point &  q1,
const Point &  q2 
)
inlinestatic

◆ polygonArea()

template<class Scalar , class Point >
template<typename Points >
static Scalar Dune::PolygonCutting< Scalar, Point >::polygonArea ( const Points &  polygonPoints)
inlinestatic

◆ sutherlandHodgman()

template<class Scalar , class Point >
template<typename Polygon >
static std::vector< Point > Dune::PolygonCutting< Scalar, Point >::sutherlandHodgman ( const Polygon &  subjectPolygon,
const Polygon &  clipPolygonInput 
)
inlinestatic

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