CurveLocation objects describe a location on [Curve](<https://apiref.notion.site/Curve-d99f26ca3a04436eb5781ac93328d5f7>)
objects, as defined by the curve-time time
, a value between 0
(beginning of the curve) and 1
(end of the curve). If the curve is part of a Path
item, its index
inside the path.curves
array is also provided.
The class is in use in many places, such as path.getLocationAt(offset)
, path.getLocationOf(point)
, pathItem.getNearestLocation(point)
, pathItem.getIntersections(path)
, etc.
CurveLocation(curve, time[, point])
segment
curve
path
index
time
point
offset
curveOffset
intersection
tangent
normal
curvature
distance