Lagrange
Loading...
Searching...
No Matches
OccludedInstanceEstimateOptions Struct Reference

Loop options for estimate_occluded_instances() and remove_occluded_instances(). More...

#include <lagrange/raycasting/remove_occluded_instances.h>

Public Attributes

uint64_t num_rays = 1600000000ULL
 Total ray budget.
 
uint64_t batch_size = 50000000ULL
 Rays per batch. Cancellation, progress, and convergence are checked at batch boundaries.
 
bool until_converged = false
 After the initial batch, stop when a batch confidently retires no new instances.
 

Detailed Description

Member Data Documentation

◆ num_rays

uint64_t num_rays = 1600000000ULL

Total ray budget.

If 0, the loop runs until cancelled or convergence is requested — at least one of num_rays>0, until_converged, or a non-null cancel flag is required.

◆ until_converged

bool until_converged = false

After the initial batch, stop when a batch confidently retires no new instances.

This is a batch-size-dependent heuristic; use num_rays for fixed-budget estimates.


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