Skip to content

line2ContainsPoint

line2ContainsPoint(line, p, tolerance?): boolean

Defined in: line2.ts:33

Whether p lies on line, within tolerance of it.

Tolerant by necessity: a line has zero area, so no constructed point ever lands on one exactly. tolerance is a distance in the caller’s own units.

Line2

Point2

number = geometryConfig.defaultLinearTolerance

boolean