The Tiny HTM Library
|
A convex polygon on the sphere. More...
#include <geometry.h>
Data Fields | |
size_t | n |
number of vertices/edges. | |
struct htm_v3 | vsum |
sum of all vertices in polygon. | |
struct htm_v3 | ve [] |
polygon vertices, followed by edges. |
A convex polygon on the sphere.
Note that vertices are stored as unit vectors, but that edge plane normals are not necessarily normalized.
Definition at line 424 of file geometry.h.
size_t htm_s2cpoly::n |
number of vertices/edges.
Definition at line 425 of file geometry.h.
Referenced by htm_s2cpoly_area(), htm_s2cpoly_clone(), htm_s2cpoly_cv3(), htm_s2cpoly_hull(), htm_s2cpoly_ids(), htm_s2cpoly_init(), htm_s2cpoly_pad(), htm_tree_s2cpoly_count(), htm_tree_s2cpoly_range(), htm_varint_encode(), htm_varint_len(), and htm_varint_rencode().
struct htm_v3 htm_s2cpoly::ve[] |
polygon vertices, followed by edges.
Definition at line 427 of file geometry.h.
Referenced by htm_s2cpoly_area(), htm_s2cpoly_cv3(), htm_s2cpoly_hull(), htm_s2cpoly_init(), and htm_s2cpoly_pad().
struct htm_v3 htm_s2cpoly::vsum |
sum of all vertices in polygon.
Definition at line 426 of file geometry.h.
Referenced by htm_s2cpoly_hull(), htm_s2cpoly_init(), and htm_s2cpoly_pad().