The RangeCulling class traverses the filtered mesh (see IMeshFilters.FilterIn), performs a value range test for each mesh sector with the configured range value (see RangeValue) and culls away all sectors that are outside of it (see MeshTree.SectorCull).
Each visited mesh sector is tested against the given value range: first, the RangeValue is used to fetch the minimum and maximum values for the mesh sector which are then interpreted as an interval which is checked for intersection with Range. Then, the result of this check is inverted, if indicated by Invert. Finally, if the check result is
false, the mesh sector is culled away (see MeshTree.SectorCull).
The following vertex data semantics are used by this class:
Creates a new instance of RangeCulling.
The mesh tree input filter to use for querying sector culling and marks.
The default value is
null (i.e. all mesh sectors are visited).
Optionally inverts the culling logic.
- See also