Loading...
Searching...
No Matches
meshkit::RasterQuery Struct Reference

Result of RasterSurface::query() for one triangle. More...

#include <meshkit/raster.hpp>

Collaboration diagram for meshkit::RasterQuery:

Public Attributes

bool valid = false
 True when bound certifies the whole triangle; false for any refusal (see query()).
 
bool resourceLimited = false
 True when the cell range exceeded RasterData::maximumCellsPerQuery; valid is then false.
 
double bound = 0
 Upper bound, in Z units, on |bilinear surface - triangle plane| over the triangle, including a rounding margin; 0 unless valid.
 
Point2 witness
 XY point where the largest residual was sampled; the triangle's first corner when no sample exceeded zero.
 
std::uint64_t cells = 0
 Grid cells whose overlap with the triangle has nonzero area (partial if the query stopped at a nonfinite node).
 

Detailed Description

Result of RasterSurface::query() for one triangle.

bound and witness are meaningful only when valid is true.

Member Data Documentation

◆ bound

double meshkit::RasterQuery::bound = 0

Upper bound, in Z units, on |bilinear surface - triangle plane| over the triangle, including a rounding margin; 0 unless valid.

◆ cells

std::uint64_t meshkit::RasterQuery::cells = 0

Grid cells whose overlap with the triangle has nonzero area (partial if the query stopped at a nonfinite node).

◆ resourceLimited

bool meshkit::RasterQuery::resourceLimited = false

True when the cell range exceeded RasterData::maximumCellsPerQuery; valid is then false.

◆ valid

bool meshkit::RasterQuery::valid = false

True when bound certifies the whole triangle; false for any refusal (see query()).

◆ witness

Point2 meshkit::RasterQuery::witness

XY point where the largest residual was sampled; the triangle's first corner when no sample exceeded zero.


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