isAlmostEqualPointPlusScaledVector Method

Return true if this and {other + vector*scale} have equal x,y,z parts within Geometry.smallMetricDistance.

  • this method is useful in testing "point on ray" without explicitly constructing the projection point

isAlmostEqualPointPlusScaledVector(other: XYAndZ, vector: XYAndZ, scale: number, tol?: number): boolean

Parameter Type Description
other XYAndZ  
vector XYAndZ  
scale number  
tol number  

Returns - boolean

Defined in

Last Updated: 28 April, 2026