Class Hexagon

Inheritance Relationships

Base Type

Class Documentation

class Hexagon : public sota::RegularPolygon

Public Functions

inline Hexagon(Vector3 center, std::vector<Vector3> points, Vector3 normal)
inline Hexagon(Vector3 center, Vector3 normal)
Hexagon(const Hexagon &other) = default
Hexagon(Hexagon &&other) = default
Hexagon &operator=(const Hexagon &rhs) = default
Hexagon &operator=(Hexagon &&rhs) = default
virtual void check() const override

Public Static Functions

static std::vector<Vector3> calculate_points(Vector3 center, float diameter)