A polygon in 3D space. More...
#include <cvb/polygon_3d.hpp>
Public Member Functions | |
| Polygon3D (std::vector< T > &&points) | |
| Construct a polygon from a vector. More... | |
| Polygon3D (const std::vector< T > &points) noexcept | |
| Construct a polygon from a vector. More... | |
| template<std::size_t N> | |
| Polygon3D (const T(&list)[N]) noexcept | |
| Construct a polygon with an initializer list. More... | |
| const T & | operator[] (std::size_t index) const noexcept |
| Gets the point at a given index. More... | |
| const T & | At (std::size_t index) const |
| Gets the point ata given index. More... | |
| std::size_t | NumPoints () const noexcept |
| Gets the number of points in this polygon. More... | |
| auto | CBegin () const noexcept |
| Iterator access. More... | |
| auto | Begin () const noexcept |
| Iterator access. More... | |
| auto | cbegin () const noexcept |
| Iterator access. More... | |
| auto | begin () const noexcept |
| Iterator access. More... | |
| auto | CEnd () const noexcept |
| Iterator access. More... | |
| auto | End () const noexcept |
| Iterator access. More... | |
| auto | cend () const noexcept |
| Iterator access. More... | |
| auto | end () const noexcept |
| Iterator access. More... | |
| auto | CRBegin () const noexcept |
| Iterator access. More... | |
| auto | RBegin () const noexcept |
| Iterator access. More... | |
| auto | crbegin () const noexcept |
| Iterator access. More... | |
| auto | rbegin () const noexcept |
| Iterator access. More... | |
| auto | CREnd () const noexcept |
| Iterator access. More... | |
| auto | REnd () const noexcept |
| Iterator access. More... | |
| auto | crend () const noexcept |
| Iterator access. More... | |
| auto | rend () const noexcept |
| Iterator access. More... | |
| bool | operator== (const Polygon3D< T > &polygon) const noexcept |
| Compares to an other polygon. More... | |
| bool | operator!= (const Polygon3D< T > &polygon) const noexcept |
| Compares to an other polygon. More... | |
| template<class C > | |
| operator Polygon3D< C > () const noexcept | |
| Enable casting. | |
A polygon in 3D space.
|
inlineexplicit |
Construct a polygon from a vector.
| [in] | points | Vector to move. |
| Does | not throw any exception. |
|
inlineexplicitnoexcept |
Construct a polygon from a vector.
| [in] | points | Vector to copy. |
| Does | not throw any exception. |
|
inlinenoexcept |
Construct a polygon with an initializer list.
| [in] | list | Containing at least 3 elements. |
| Does | not throw any exception. |
|
inline |
Gets the point ata given index.
| [in] | index | The index. |
| Any | exception derived from std::exception including CvbException. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Gets the number of points in this polygon.
| Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other polygon.
| [in] | polygon | Other polygon. |
| Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other polygon.
| [in] | polygon | Other polygon. |
| Does | not throw any exception. |
|
inlinenoexcept |
Gets the point at a given index.
| [in] | index | The index. |
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |
|
inlinenoexcept |
Iterator access.
| Does | not throw any exception. |