Global

Members

(constant) arc

Function to create arc equivalent to "new" constructor
Source:

(constant) box

Shortcut to create new circle
Source:

(constant) circle

Shortcut to create new circle
Source:

(constant) DP_TOL :number

Global constant DP_TOL is used for comparison of floating point numbers. It is set to 0.000001.
Source:
Type:
  • number

(constant) line

Function to create line equivalent to "new" constructor
Source:

(constant) matrix

Function to create matrix equivalent to "new" constructor
Source:

(constant) point

Function to create point equivalent to "new" constructor
Source:

(constant) segment

Shortcut method to create new segment
Source:

(constant) vector

Function to create vector equivalent to "new" constructor
Source:

Methods

EQ() → {boolean}

Returns *true* if two values are equal up to DP_TOL
Source:
Returns:
Type:
boolean

EQ_0() → {boolean}

Returns *true* if value comparable to zero
Source:
Returns:
Type:
boolean

GE() → {boolean}

Returns *true* if first argument greater than or equal to second argument up to DP_TOL
Source:
Returns:
Type:
boolean

GT() → {boolean}

Returns *true* if first argument greater than second argument up to DP_TOL
Source:
Returns:
Type:
boolean

LE() → {boolean}

Returns *true* if first argument less than or equal to second argument up to DP_TOL
Source:
Returns:
Type:
boolean

LT() → {boolean}

Returns *true* if first argument less than second argument up to DP_TOL
Source:
Returns:
Type:
boolean