Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "circumcenter"

Index

Functions

Functions

Const circumCenter2

  • circumCenter2(a: ReadonlyVec, b: ReadonlyVec, c: ReadonlyVec, eps?: number): undefined | number[]
  • Computes and returns the center of the circumcircle of the given 2D triangle points. Returns undefined if the points are colinear or coincident.

    Parameters

    • a: ReadonlyVec

      triangle vertex 1

    • b: ReadonlyVec

      triangle vertex 2

    • c: ReadonlyVec

      triangle vertex 3

    • Default value eps: number = EPS

      epsilon value for colinear check

    Returns undefined | number[]

Generated using TypeDoc