![]() |
Project
|
#include <Polygon.h>
Public Types | |
| using | size_type = typename std::vector< o2::mch::contour::Vertex< T > >::size_type |
Public Member Functions | |
| Polygon ()=default | |
| template<typename InputIterator > | |
| Polygon (InputIterator first, InputIterator last) | |
| Polygon (std::initializer_list< o2::mch::contour::Vertex< T > > args) | |
| o2::mch::contour::Vertex< T > | firstVertex () const |
| size_type | size () const |
| bool | empty () const |
| o2::mch::contour::Vertex< T > | operator[] (int i) const |
| bool | isCounterClockwiseOriented () const |
| bool | isManhattan () const |
| bool | isClosed () const |
| bool | contains (T x, T y) const |
| double | signedArea () const |
| void | scale (T sx, T sy) |
| void | translate (T dx, T dy) |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Polygon< T > &polygon) |
| using o2::mch::contour::Polygon< T >::size_type = typename std::vector<o2::mch::contour::Vertex<T> >::size_type |
|
default |
|
inline |
|
inline |
| bool o2::mch::contour::Polygon< T >::contains | ( | T | x, |
| T | y | ||
| ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |