#[repr(C)]pub struct novas_transform {
pub from_system: novas_reference_system,
pub to_system: novas_reference_system,
pub frame: novas_frame,
pub matrix: novas_matrix,
}Expand description
A transformation between two astronomical coordinate systems for the same observer location and time. This allows for more elegant, generic, and efficient coordinate transformations than the low-level NOVAS functions.
The transformation can be (should be) initialized via novas_make_trasform(), or via novas_invert_transform().
@since 1.1
@sa novas_make_transform() @sa novas_invert_transform() @sa NOVAS_TRANSFORM_INIT
Fields§
§from_system: novas_reference_system< The original coordinate system
to_system: novas_reference_system< The final coordinate system
frame: novas_frame< The observer place and time for which the transform is valid
matrix: novas_matrix< Transformation matrix elements
Trait Implementations§
Source§impl Clone for novas_transform
impl Clone for novas_transform
Source§fn clone(&self) -> novas_transform
fn clone(&self) -> novas_transform
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for novas_transform
impl Debug for novas_transform
Source§impl Default for novas_transform
impl Default for novas_transform
impl Copy for novas_transform
Auto Trait Implementations§
impl Freeze for novas_transform
impl RefUnwindSafe for novas_transform
impl Send for novas_transform
impl Sync for novas_transform
impl Unpin for novas_transform
impl UnwindSafe for novas_transform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more