Skip to content

line3Equals

line3Equals(a, b, linearTolerance?, angularTolerance?): boolean

Defined in: line3.ts:62

Whether a and b are the same infinite line, within tolerance.

Tolerant rather than exact, for the same reason as line2Equals: the same line can be built from any point on it and any scaling of its direction. Opposite directions denote the same line.

Line3

Line3

number = geometryConfig.defaultLinearTolerance

Distance, in the caller’s units, within which a point still counts as lying on the other line.

number = geometryConfig.defaultAngularTolerance

Dimensionless residual on |dot| - 1, within which two unit directions still count as collinear.

boolean