DistanceFilter
Type Sample
Category Sampling > Filters

DistanceFilter

Description

Filters sample to only the cells at a distance from to_point in distance_range.

Arguments

Type Name (Display Name) Description Default
Sample input_grid (Sample) Sample to be filtered.
Vector3 to_point (To Point) Reference point for distance calculations. Vector3(0, 0, 0)
Range distance_range (Distance Range) For each cell, if it's outside this range of distance, it's filtered out. 0.0-1.0

Outputs

Sample - filtered_grid (Filtered Sample)

Returns the Sample after filtering has been applied.