|
DigitalCurling3
1.0.0
A curling simulation system for curling AIs
|
ストーンの位置,角度,速度,角速度を格納します More...
#include <i_simulator.hpp>
Public Member Functions | |
| Stone () | |
| 全データを0で初期化します | |
| Stone (Vector2 position, float angle, Vector2 linear_velocity, float angular_velocity) | |
| 与えられたデータで初期化します More... | |
Public Member Functions inherited from digitalcurling3::Transform | |
| constexpr | Transform () |
| 位置(0, 0),角度0で初期化します | |
| constexpr | Transform (Vector2 position, float angle) |
| 指定された値で初期化します More... | |
Public Attributes | |
| Vector2 | linear_velocity |
| 速度(m/s) | |
| float | angular_velocity |
| 角速度(radian/s) | |
Public Attributes inherited from digitalcurling3::Transform | |
| Vector2 | position |
| 位置 | |
| float | angle |
| 角度 | |
ストーンの位置,角度,速度,角速度を格納します
|
inline |
与えられたデータで初期化します
| [in] | position | 位置(m) |
| [in] | angle | 角度(radian) |
| [in] | linear_velocity | 速度(m/s) |
| [in] | angular_velocity | 角速度(radian/s) |