#include <VertexContainerInterface.h>
Inherits AZ::FixedVertices< Vertex >.
Public Member Functions | |
| virtual void | AddVertex (const Vertex &vertex)=0 |
| virtual bool | InsertVertex (size_t index, const Vertex &vertex)=0 |
| virtual bool | RemoveVertex (size_t index)=0 |
| virtual bool | Empty () const =0 |
| virtual void | SetVertices (const AZStd::vector< Vertex > &vertices)=0 |
| virtual void | ClearVertices ()=0 |
Public Member Functions inherited from AZ::FixedVertices< 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 |
Interface provided by a container of vertices of variable length (example: vector or VertexContainer).
Add a vertex at the end of the container.
| vertex | New vertex position. |
|
pure virtual |
Remove all vertices from the container.
|
pure virtual |
Is the container empty.
|
pure virtual |
Insert a vertex at a particular index.
| index | Index of vertex to insert before. |
| vertex | New vertex position. |
|
pure virtual |
Remove a vertex at a particular index.
| index | Index of vertex to remove. |
|
pure virtual |
Set all vertices.
| vertices | New vertices to set. |