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): Vector2d | undefined

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

Returns - Vector2d | undefined

Defined in

Last Updated: 15 June, 2021