fossil_rigid_pose
Source: src/lib/fossil_rigid_pose.f90
Dependencies
Contents
- rigid_pose_t
- rigid_pose_2d_t
- pose_compose
- pose_inverse
- to_body
- to_world
- rotate
- pose_interpolate
- pose_log_3d
- pose_identity
- pose_from_axis_angle
- pose_from_quaternion
- pose_2d
- compose_3d
- compose_2d
- inverse_3d
- inverse_2d
- to_body_3d
- to_world_3d
- rotate_3d
- to_body_2d
- to_world_2d
- rotate_2d
- pose_angle_2d
- interpolate_2d
- interpolate_3d
Derived Types
rigid_pose_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
r | real(kind=R8P) | ||
t | real(kind=R8P) |
rigid_pose_2d_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
r | real(kind=R8P) | ||
t | real(kind=R8P) |
Interfaces
pose_compose
Module procedures: compose_3d, compose_2d
pose_inverse
Module procedures: inverse_3d, inverse_2d
to_body
Module procedures: to_body_3d, to_body_2d
to_world
Module procedures: to_world_3d, to_world_2d
rotate
Module procedures: rotate_3d, rotate_2d
pose_interpolate
Module procedures: interpolate_3d, interpolate_2d
Subroutines
pose_log_3d
Attributes: pure
subroutine pose_log_3d(p0, p1, axis, angle)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p0 | type(rigid_pose_t) | in | ||
p1 | type(rigid_pose_t) | in | ||
axis | real(kind=R8P) | out | ||
angle | real(kind=R8P) | out |
Call graph
Functions
pose_identity
Attributes: pure
Returns: type(rigid_pose_t)
function pose_identity() result(p)pose_from_axis_angle
Attributes: pure
Returns: type(rigid_pose_t)
function pose_from_axis_angle(axis, angle, translation) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
axis | real(kind=R8P) | in | ||
angle | real(kind=R8P) | in | ||
translation | real(kind=R8P) | in | optional |
Call graph
pose_from_quaternion
Attributes: pure
Returns: type(rigid_pose_t)
function pose_from_quaternion(q, translation) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
q | real(kind=R8P) | in | ||
translation | real(kind=R8P) | in | optional |
pose_2d
Attributes: pure
Returns: type(rigid_pose_2d_t)
function pose_2d(angle, translation) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
angle | real(kind=R8P) | in | ||
translation | real(kind=R8P) | in | optional |
Call graph
compose_3d
Attributes: pure
Returns: type(rigid_pose_t)
function compose_3d(a, b) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | type(rigid_pose_t) | in | ||
b | type(rigid_pose_t) | in |
compose_2d
Attributes: pure
Returns: type(rigid_pose_2d_t)
function compose_2d(a, b) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | type(rigid_pose_2d_t) | in | ||
b | type(rigid_pose_2d_t) | in |
inverse_3d
Attributes: pure
Returns: type(rigid_pose_t)
function inverse_3d(a) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | type(rigid_pose_t) | in |
inverse_2d
Attributes: pure
Returns: type(rigid_pose_2d_t)
function inverse_2d(a) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | type(rigid_pose_2d_t) | in |
to_body_3d
Attributes: pure
Returns: real(kind=R8P)
function to_body_3d(p, x) result(y)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | type(rigid_pose_t) | in | ||
x | real(kind=R8P) | in |
to_world_3d
Attributes: pure
Returns: real(kind=R8P)
function to_world_3d(p, x) result(y)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | type(rigid_pose_t) | in | ||
x | real(kind=R8P) | in |
Call graph
rotate_3d
Attributes: pure
Returns: real(kind=R8P)
function rotate_3d(p, v) result(w)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | type(rigid_pose_t) | in | ||
v | real(kind=R8P) | in |
Call graph
to_body_2d
Attributes: pure
Returns: real(kind=R8P)
function to_body_2d(p, x) result(y)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | type(rigid_pose_2d_t) | in | ||
x | real(kind=R8P) | in |
to_world_2d
Attributes: pure
Returns: real(kind=R8P)
function to_world_2d(p, x) result(y)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | type(rigid_pose_2d_t) | in | ||
x | real(kind=R8P) | in |
Call graph
rotate_2d
Attributes: pure
Returns: real(kind=R8P)
function rotate_2d(p, v) result(w)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | type(rigid_pose_2d_t) | in | ||
v | real(kind=R8P) | in |
Call graph
pose_angle_2d
Attributes: pure
Returns: real(kind=R8P)
function pose_angle_2d(p) result(theta)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p | type(rigid_pose_2d_t) | in |
Call graph
interpolate_2d
Attributes: pure
Returns: type(rigid_pose_2d_t)
function interpolate_2d(p0, p1, s) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p0 | type(rigid_pose_2d_t) | in | ||
p1 | type(rigid_pose_2d_t) | in | ||
s | real(kind=R8P) | in |
Call graph
interpolate_3d
Attributes: pure
Returns: type(rigid_pose_t)
function interpolate_3d(p0, p1, s) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
p0 | type(rigid_pose_t) | in | ||
p1 | type(rigid_pose_t) | in | ||
s | real(kind=R8P) | in |
Call graph