float primarclen(string geometry, vector2 uv1, vector2 uv2, int prim_num)
float primarclen(string geometry, vector2 uv1, vector2 uv2, int prim_num, int divs)
Returns the arc length between two parametric UV coordinates on a given primitive. This lets you measure the distance across a polygon face or along a curve.
A string specifying a geometry file (for example, a
.bgeo) to read from. When running inside Houdini, this can be an
The start and end coordinates in the primitive’s parametric space to measure between.
The number of the primitive across which to measure the distance.
The number of divisions per segment to use or 10 if not supplied.
You can also read the
arclength primitive intrinsic attribute to get a curve’s total arc length.