A polygon in 3D space.
More...
#include <cvb/polygon_3d.hpp>
template<class T, class ENABLE = void>
class Cvb::Polygon3D< T, ENABLE >
A polygon in 3D space.
◆ Polygon3D() [1/3]
Construct a polygon from a vector.
- Parameters
-
[in] | points | Vector to move. |
- Exceptions
-
Does | not throw any exception. |
◆ Polygon3D() [2/3]
Construct a polygon from a vector.
- Parameters
-
[in] | points | Vector to copy. |
- Exceptions
-
Does | not throw any exception. |
◆ Polygon3D() [3/3]
Construct a polygon with an initializer list.
- Parameters
-
[in] | list | Containing at least 3 elements. |
- Exceptions
-
Does | not throw any exception. |
◆ At()
Gets the point ata given index.
- Parameters
-
- Returns
- A 3D point.
- Exceptions
-
◆ Begin()
Iterator access.
- Returns
- An iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ begin()
Iterator access.
- Returns
- An iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ CBegin()
Iterator access.
- Returns
- An iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ cbegin()
Iterator access.
- Returns
- An iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ CEnd()
Iterator access.
- Returns
- An iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ cend()
Iterator access.
- Returns
- An iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ CRBegin()
Iterator access.
- Returns
- A reverse iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ crbegin()
Iterator access.
- Returns
- A reverse iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ CREnd()
Iterator access.
- Returns
- A reverse iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ crend()
Iterator access.
- Returns
- A reverse iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ End()
Iterator access.
- Returns
- An iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ end()
Iterator access.
- Returns
- An iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ NumPoints()
Gets the number of points in this polygon.
- Returns
- The number f points.
- Exceptions
-
Does | not throw any exception. |
◆ operator!=()
bool operator!= |
( |
const Polygon3D< T > & |
polygon | ) |
const |
|
inlinenoexcept |
Compares to an other polygon.
- Parameters
-
[in] | polygon | Other polygon. |
- Returns
- True if not equal, otherwise false.
- Exceptions
-
Does | not throw any exception. |
◆ operator==()
bool operator== |
( |
const Polygon3D< T > & |
polygon | ) |
const |
|
inlinenoexcept |
Compares to an other polygon.
- Parameters
-
[in] | polygon | Other polygon. |
- Returns
- True if equal, otherwise false.
- Exceptions
-
Does | not throw any exception. |
◆ operator[]()
Gets the point at a given index.
- Parameters
-
- Returns
- A 3D point.
- Exceptions
-
Does | not throw any exception. |
◆ RBegin()
Iterator access.
- Returns
- A reverse iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ rbegin()
Iterator access.
- Returns
- A reverse iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ REnd()
Iterator access.
- Returns
- A reverse iterator for read only access.
- Exceptions
-
Does | not throw any exception. |
◆ rend()
Iterator access.
- Returns
- A reverse iterator for read only access.
- Exceptions
-
Does | not throw any exception. |