pub fn pick<S: Scalar>(
model: &Model<S>,
rasterized: &RasterizedModel<S>,
ray: Ray<S>,
filter: PickFilter,
tolerance: f64,
) -> GeopResult<Option<PickHit<S>>>Expand description
Cast ray against model, as rasterized samples it, and return the
nearest entity matching filter within tolerance (world-space
distance; only meaningful for PickFilter::Vertex/PickFilter::Edge
— face/solid hits are exact ray/triangle intersections and ignore it).