cpp_robotics::Circle
円クラス
#include <shape.hpp>
Public Functions
Name | |
---|---|
Circle() =default | |
constexpr | Circle(const Vector2d & center, const double r) |
constexpr bool | has_area() const |
constexpr double | area() const |
constexpr Vector2d | angle_pos(const double theta) const |
Public Attributes
Name | |
---|---|
Vector2d | center |
double | r |
Public Functions Documentation
function Circle
Circle() =default
function Circle
inline constexpr Circle(
const Vector2d & center,
const double r
)
function has_area
inline constexpr bool has_area() const
function area
inline constexpr double area() const
function angle_pos
inline constexpr Vector2d angle_pos(
const double theta
) const
Public Attributes Documentation
variable center
Vector2d center;
variable r
double r;
Updated on 2024-05-28 at 06:55:39 +0000