Home Reference Source

References

summary
public

C Line

public

C Point

Class representing a point in 2 dimension cartesian space

public

F ccw(P0: Point, P1: Point, P2: Point): Object

ccw allows to know if traveling from P0 to P1 to P2 we turn counterclockwise assuming we are in cartesian space where X is directed to right and Y axis goes up and assuming the 3 points are distinct points if any points are identical ccw wil trow an error from p.

public

F fixDec(n: *)

public

F getDegrees(angle: *, angleSystem: *)

public

F getGradians(angle: *, angleSystem: *)

public

F getRadians(angle: *, angleSystem: *)

public

F isNumeric(n: *)

public

F roundNumber(num: number | string, precision: number): number

Rounds number to a given decimal precision

public
public
public

V EPSILON: *

public