vgl 1.0.0
Virtual Globe Library: API reference
Loading...
Searching...
No Matches
vgl_ray_hit Struct Reference

#include <vgl/context.h>

Public Attributes

uint32_t struct_size
 
uint32_t reserved
 
double distance
 
vgl_dvec3 position
 
vgl_geodetic geodetic
 

Detailed Description

Where a ray meets the terrain. Set struct_size; the library writes the fields that fit within it.

Member Data Documentation

◆ struct_size

uint32_t vgl_ray_hit::struct_size

◆ reserved

uint32_t vgl_ray_hit::reserved

◆ distance

double vgl_ray_hit::distance

Along the ray from its origin, in metres.

◆ position

vgl_dvec3 vgl_ray_hit::position

ECEF, in metres.

◆ geodetic

vgl_geodetic vgl_ray_hit::geodetic

The same position, with its height above the ellipsoid.


The documentation for this struct was generated from the following file: