Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "bisect"

Index

Functions

Const bisect2

  • bisect2(a: ArrayLikeIterable<number>, b: ArrayLikeIterable<number>): number

Const cornerBisector

Const cornerBisector2

  • 2D version of cornerBisector which doesn't always bisect the smaller/inside angle, but also doesn't suffer sign/orientation flipping of returned bisector vector.

    remarks

    Instead, the direction of the result is dependent on the orientation of the input triangle. If a, b, c are in CW order, the result will point away from the triangle's centroid. If CCW, the result will point towards the inside.

    Parameters

    Returns Vec

Generated using TypeDoc