scsl 1.0.1
Shimmering Clarity Standard Library
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
Orientation.h File Reference

Orientation of vectors w.r.t. a reference plane, assumed to be the Earth. More...

#include <cstdint>
#include <scmp/geom/Vector.h>
Include dependency graph for Orientation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  scmp
 Shimmering Clarity Math & Physics toolkit.
 
namespace  scmp::geom
 Geometry-related code.
 

Functions

float scmp::geom::Heading2F (Vector2F vec)
 Compass heading for a Vector2F.
 
double scmp::geom::Heading2D (Vector2D vec)
 Compass heading for a Vector2D.
 
float scmp::geom::Heading3F (Vector3F vec)
 Compass heading for a Vector2F.
 
double scmp::geom::Heading3D (Vector3D vec)
 

Variables

constexpr uint8_t scmp::geom::BasisX = 0
 Convenience constant for the x index.
 
constexpr uint8_t scmp::geom::BasisY = 1
 Convenience constant for the y index.
 
constexpr uint8_t scmp::geom::BasisZ = 2
 Convenience constant for the z index.
 

Detailed Description

Orientation of vectors w.r.t. a reference plane, assumed to be the Earth.

Author
K. Isom kyle@.nosp@m.imap.nosp@m..cc
Date
2017-06-05

Copyright 2023 K. Isom kyle@.nosp@m.imap.nosp@m..cc

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all /// copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.