Types and helper functions relating to projecting Earth sphere to and from a cube. More...
Classes | |
struct | CubeMapCellInfo |
Enumerations | |
enum | { FacePositiveX = 0, FaceNegativeX = 1, FacePositiveY = 2, FaceNegativeY = 3, FacePositiveZ = 4, FaceNegativeZ = 5, FaceCount = 6, FaceInvalid = -1 } |
Functions | |
Eegeo::dv3 | FacePointToWorld (int face, Eegeo::dv2 point, double faceSideLengthHalf) |
Eegeo::dv3 | FacePointToEcefNormal (int face, Eegeo::dv2 point, double faceSideLengthHalf) |
Eegeo::dv2 | WorldPointToFace (int face, Eegeo::dv3 point, double faceSideLengthHalf) |
int | WorldPointToFaceIndex (Eegeo::dv3 point, double faceSideLengthHalf) |
int | WorldPointToFaceIndex (const Eegeo::dv3 &point) |
Eegeo::dv2 | KeyToFaceCentre (Eegeo::Streaming::MortonKey key, double faceSideLengthHalf) |
Eegeo::dv3 | KeyToECEF (Eegeo::Streaming::MortonKey key) |
Eegeo::Streaming::MortonKey | FacePointToKey (Eegeo::dv2 point, int faceIndex, double faceSideLengthHalf, int keyDepth) |
Eegeo::v2 | FacePointToKeyNormalised (Eegeo::Streaming::MortonKey key, Eegeo::dv2 facePoint) |
Eegeo::Streaming::MortonKey | EcefToKey (Eegeo::dv3 ecefPosition, int level) |
Types and helper functions relating to projecting Earth sphere to and from a cube.
int Eegeo::Space::CubeMap::WorldPointToFaceIndex | ( | Eegeo::dv3 | point, |
double | faceSideLengthHalf | ||
) |