createOffsetBisector MethodStatic

Return a vector that bisects the angle between two normals and extends to the intersection of two offset lines

createOffsetBisector(unitPerpA: Vector2d, unitPerpB: Vector2d, offset: number): undefined | Vector2d

Parameter Type Description
unitPerpA Vector2d unit perpendicular to incoming direction
unitPerpB Vector2d unit perpendicular to outgoing direction
offset number offset distance

Returns - undefined | Vector2d

Defined in

Last Updated: 11 June, 2024