1#ifndef BITSIM_TRAJECTORY_ROUNDED_RECTANGLE_H
2#define BITSIM_TRAJECTORY_ROUNDED_RECTANGLE_H
The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through ...
RoundedRectangle(real_t half_length, real_t half_width, real_t corner_radius)
Definition rounded_rectangle.cpp:13
real_t signed_distance(real_t x, real_t y) const
The signed distance from (x, y) to the track [m]: negative inside the shape, positive outside....
Definition rounded_rectangle.cpp:24
real_t distance(real_t x, real_t y) const
The distance from (x, y) to the track [m], from inside or outside.
Definition rounded_rectangle.cpp:35
real_t half_width() const noexcept
Definition rounded_rectangle.h:30
real_t perimeter() const
The length of the track [m].
Definition rounded_rectangle.cpp:40
real_t half_length() const noexcept
Definition rounded_rectangle.h:29
real_t corner_radius() const noexcept
Definition rounded_rectangle.h:31
Definition line_segment_link.h:11
Definition dc_motor_backend_base.h:9
double real_t
real_t
Definition bitsim_types.h:20