ducjs - v4.4.2
Preparing search index...
getPointOnAPath
Function getPointOnAPath
getPointOnAPath
(
point
:
GeometricPoint
,
path
:
GeometricPoint
[]
,
)
:
{
segment
:
number
;
x
:
number
;
y
:
number
}
|
null
Finds a point on a path. Returns an object with x, y, and the segment index if found, else null.
Parameters
point
:
GeometricPoint
path
:
GeometricPoint
[]
Returns
{
segment
:
number
;
x
:
number
;
y
:
number
}
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ducjs - v4.4.2
Loading...
Finds a point on a path. Returns an object with x, y, and the segment index if found, else null.