The Tiny HTM Library
Data Fields
htm_tri Struct Reference

A structure describing the geometry of an HTM triangle (aka a trixel). More...

#include <htm.h>

+ Collaboration diagram for htm_tri:

Data Fields

struct htm_v3 verts [3]
 Triangle vertices.
struct htm_v3 center
 Triangle center.
double radius
 Bounding circle radius (degrees).
int64_t id
 HTM id.
int level
 HTM level.

Detailed Description

A structure describing the geometry of an HTM triangle (aka a trixel).

Definition at line 68 of file htm.h.


Field Documentation

Triangle center.

Definition at line 70 of file htm.h.

Referenced by htm_tri_init().

int64_t htm_tri::id

HTM id.

Definition at line 72 of file htm.h.

Referenced by htm_tri_init().

HTM level.

Definition at line 73 of file htm.h.

Referenced by htm_tri_init().

Bounding circle radius (degrees).

Definition at line 71 of file htm.h.

Referenced by htm_tri_init().

Triangle vertices.

Definition at line 69 of file htm.h.

Referenced by htm_tri_init().


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