#include <coord_frame.hpp>
|
| | CoordFrame () |
| | CoordFrame (glm::vec2 origin, glm::vec2 size, float rotation_angle) |
| glm::vec2 | get_origin () const |
| glm::vec2 | get_size () const |
| float | get_rotation_angle () const |
| void | set_origin (glm::vec2 new_origin) |
| void | set_size (glm::vec2 new_size) |
| void | set_rotation_angle (float new_angle) |
| BBox2D | compute_bounding_box () const |
| BBox2D | compute_bbox () const |
| bool | intersects (const CoordFrame &other) const |
| bool | is_point_within (float gx, float gy) const |
| bool | is_unit_point_within (float rx, float ry) const |
| AffineTransform2D | compute_relative_transform (const CoordFrame &other) const |
| glm::vec2 | map_to_global_coords (float rx, float ry) const |
| glm::vec2 | map_to_relative_coords (float gx, float gy) const |
| glm::vec2 | map_to_relative_coords (const CoordFrame &other, float rx, float ry) const |
| float | normalized_distance_to_edges (float gx, float gy) const |
| float | normalized_shape_factor (float gx, float gy) const |
| float | normalized_shape_factor_rel (float rx, float ry) const |
◆ CoordFrame() [1/2]
| hmap::CoordFrame::CoordFrame |
( |
| ) |
|
◆ CoordFrame() [2/2]
| hmap::CoordFrame::CoordFrame |
( |
glm::vec2 | origin, |
|
|
glm::vec2 | size, |
|
|
float | rotation_angle ) |
◆ get_origin()
| glm::vec2 hmap::CoordFrame::get_origin |
( |
| ) |
const |
◆ get_size()
| glm::vec2 hmap::CoordFrame::get_size |
( |
| ) |
const |
◆ get_rotation_angle()
| float hmap::CoordFrame::get_rotation_angle |
( |
| ) |
const |
◆ set_origin()
| void hmap::CoordFrame::set_origin |
( |
glm::vec2 | new_origin | ) |
|
◆ set_size()
| void hmap::CoordFrame::set_size |
( |
glm::vec2 | new_size | ) |
|
◆ set_rotation_angle()
| void hmap::CoordFrame::set_rotation_angle |
( |
float | new_angle | ) |
|
◆ compute_bounding_box()
| BBox2D hmap::CoordFrame::compute_bounding_box |
( |
| ) |
const |
◆ compute_bbox()
| BBox2D hmap::CoordFrame::compute_bbox |
( |
| ) |
const |
|
inline |
◆ intersects()
| bool hmap::CoordFrame::intersects |
( |
const CoordFrame & | other | ) |
const |
◆ is_point_within()
| bool hmap::CoordFrame::is_point_within |
( |
float | gx, |
|
|
float | gy ) const |
◆ is_unit_point_within()
| bool hmap::CoordFrame::is_unit_point_within |
( |
float | rx, |
|
|
float | ry ) const |
◆ compute_relative_transform()
◆ map_to_global_coords()
| glm::vec2 hmap::CoordFrame::map_to_global_coords |
( |
float | rx, |
|
|
float | ry ) const |
◆ map_to_relative_coords() [1/2]
| glm::vec2 hmap::CoordFrame::map_to_relative_coords |
( |
float | gx, |
|
|
float | gy ) const |
◆ map_to_relative_coords() [2/2]
| glm::vec2 hmap::CoordFrame::map_to_relative_coords |
( |
const CoordFrame & | other, |
|
|
float | rx, |
|
|
float | ry ) const |
◆ normalized_distance_to_edges()
| float hmap::CoordFrame::normalized_distance_to_edges |
( |
float | gx, |
|
|
float | gy ) const |
◆ normalized_shape_factor()
| float hmap::CoordFrame::normalized_shape_factor |
( |
float | gx, |
|
|
float | gy ) const |
◆ normalized_shape_factor_rel()
| float hmap::CoordFrame::normalized_shape_factor_rel |
( |
float | rx, |
|
|
float | ry ) const |
The documentation for this class was generated from the following files: