Simstim

VEX Dictionary / nearpoint

nearpoint

Looks up which existing point lies nearest a position and returns its number, within an optional group and search radius.

group: geopointproximity

Available in every context

Usage

int nearpoint(<geometry>, vector pt)
int nearpoint(<geometry>, vector pt, float maxdist)
int nearpoint(<geometry>, string ptgroup, vector pt)
int nearpoint(<geometry>, string ptgroup, vector pt, float maxdist)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗