The Tiny HTM Library
Data Fields
htm_s2cpoly Struct Reference

A convex polygon on the sphere. More...

#include <geometry.h>

+ Collaboration diagram for htm_s2cpoly:

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.

Detailed Description

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.


Field Documentation

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().

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().


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