FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::ConcavePolygon Class Reference

Public Types

using VertexArray = std::vector<fge::Vector2f>
 

Public Member Functions

 ConcavePolygon (VertexArray const &vertices)
 
 ConcavePolygon (VertexArray &&vertices)
 
 ConcavePolygon (ConcavePolygon const &r)=default
 
 ConcavePolygon (ConcavePolygon &&r) noexcept=default
 
ConcavePolygonoperator= (ConcavePolygon const &r)=default
 
ConcavePolygonoperator= (ConcavePolygon &&r) noexcept=default
 
bool checkIfRightHanded ()
 
void convexDecomposition ()
 
void setVertices (VertexArray const &vertices)
 
void setVertices (VertexArray &&vertices)
 
fge::Vector2f & vertex (std::size_t index)
 
fge::Vector2f const & vertex (std::size_t index) const
 
VertexArray const & vertices () const
 
VertexArray const & subPolygon (std::size_t subPolyIndex) const
 
std::size_t subPolygonCount () const
 
std::size_t totalVertexCount () const
 
void clear ()
 

The documentation for this class was generated from the following file: