Class Pentagon

Inheritance Relationships

Base Type

Class Documentation

class Pentagon : public sota::RegularPolygon

Public Functions

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

Public Static Functions

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