Parameter1D.findKeypointAndNormal

Find the keypoint index of the given position, as well as its normal.

class Parameter1D
@nogc
ptrdiff_t
findKeypointAndNormal
(
float pos
,
out float norm
)

Parameters

pos float

A position along our keypoints. Must be within min & max.

norm float

The given position, normalized within its keypoint.

Return Value

Type: ptrdiff_t

The index of the keypoint the given position falls on.

Meta