CurveLocation objects describe a location on Curve
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