#include <VertexContainerInterface.h>
Inherited by AZ::VariableVertices< Vertex >.
|
virtual bool | GetVertex (size_t index, Vertex &vertex) const =0 |
|
virtual bool | UpdateVertex (size_t index, const Vertex &vertex)=0 |
|
virtual size_t | Size () const =0 |
|
template<typename Vertex>
class AZ::FixedVertices< Vertex >
Interface provided by a container of vertices of fixed length (example: array or fixed_vector).
◆ GetVertex()
template<typename Vertex >
virtual bool AZ::FixedVertices< Vertex >::GetVertex |
( |
size_t |
index, |
|
|
Vertex & |
vertex |
|
) |
| const |
|
pure virtual |
Get a vertex at a particular index.
- Parameters
-
index | Index of vertex to access. |
vertex | Out parameter of vertex at index. |
- Returns
- Was the vertex at the index provided able to be accessed.
◆ Size()
template<typename Vertex >
How many vertices are there.
◆ UpdateVertex()
template<typename Vertex >
virtual bool AZ::FixedVertices< Vertex >::UpdateVertex |
( |
size_t |
index, |
|
|
const Vertex & |
vertex |
|
) |
| |
|
pure virtual |
Update a vertex at a particular index.
- Parameters
-
index | Index of vertex to update. |
vertex | New vertex position. |
- Returns
- Was the vertex at the index provided able to be updated.
The documentation for this class was generated from the following file:
- Code/Framework/AzCore/AzCore/Math/VertexContainerInterface.h