cesium-native 0.44.2
|
A structure describing a vertex that results from interpolating two other vertices. More...
#include <CesiumGeometry/clipTriangleAtAxisAlignedThreshold.h>
Public Member Functions | |
constexpr bool | operator== (const InterpolatedVertex &other) const noexcept |
Compares this InterpolatedVertex against another. | |
constexpr bool | operator!= (const InterpolatedVertex &other) const noexcept |
The inverse of InterpolatedVertex::operator==. | |
Public Attributes | |
int | first |
The index of the first vertex to interpolate between. | |
int | second |
The index of the second vertex to interpolate between. | |
double | t |
The fraction of the distance from first to second at which to interpolate. | |
A structure describing a vertex that results from interpolating two other vertices.
The vertices to interpolate between are given via their indices. This is used as one representation of a vertex in a TriangleClipVertex
.
Definition at line 17 of file clipTriangleAtAxisAlignedThreshold.h.
|
inlineconstexprnoexcept |
The inverse of InterpolatedVertex::operator==.
Definition at line 48 of file clipTriangleAtAxisAlignedThreshold.h.
|
inlineconstexprnoexcept |
Compares this InterpolatedVertex against another.
Two InterpolatedVertex instances are considered equivalent if their first and second fields are equivalent and the difference between their t fields is less than std::numeric_limits<double>::epsilon()
.
Definition at line 41 of file clipTriangleAtAxisAlignedThreshold.h.
int CesiumGeometry::InterpolatedVertex::first |
The index of the first vertex to interpolate between.
Definition at line 21 of file clipTriangleAtAxisAlignedThreshold.h.
int CesiumGeometry::InterpolatedVertex::second |
The index of the second vertex to interpolate between.
Definition at line 26 of file clipTriangleAtAxisAlignedThreshold.h.
double CesiumGeometry::InterpolatedVertex::t |
The fraction of the distance from first
to second
at which to interpolate.
Definition at line 32 of file clipTriangleAtAxisAlignedThreshold.h.