Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::Polygon2D Struct Reference

#include <Polygon2D.h>

Collaboration diagram for model::Polygon2D:

Static Public Member Functions

template<typename PointType>
static double area (const std::vector< PointType > &points)
template<typename PointType>
static double isLeft (const PointType &P0, const PointType &P1, const PointType &P2)
template<typename PointType>
static int windingNumber (const PointType &P, const std::vector< PointType > &V)

Detailed Description

Definition at line 20 of file Polygon2D.h.

Member Function Documentation

◆ area()

template<typename PointType>
double model::Polygon2D::area ( const std::vector< PointType > & points)
inlinestatic

Definition at line 25 of file Polygon2D.h.

◆ isLeft()

template<typename PointType>
double model::Polygon2D::isLeft ( const PointType & P0,
const PointType & P1,
const PointType & P2 )
inlinestatic

Definition at line 49 of file Polygon2D.h.

◆ windingNumber()

template<typename PointType>
int model::Polygon2D::windingNumber ( const PointType & P,
const std::vector< PointType > & V )
inlinestatic

Definition at line 56 of file Polygon2D.h.


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