Class: CoordinateMatrix3D

CoordinateMatrix3D(minX, maxX, minY, maxY, minZ, maxZ, start)

Represents a 3D coordinate matrix.

Constructor

new CoordinateMatrix3D(minX, maxX, minY, maxY, minZ, maxZ, start)

Constructs a CoordinateMatrix3D.
Parameters:
Name Type Description
minX number The minimum x value.
maxX number The maximum x value.
minY number The minimum y value.
maxY number The maximum y value.
minZ number The minimum z value.
maxZ number The maximum z value.
start Coordinate3D The starting coordinate.
Source:
Example
new CoordinateMatrix3D(0, 1, 0, 1, 0, 1, new Coordinate3D(0, 0, 0))

Classes

CoordinateMatrix3D

Members

maxX :number

The maximum x value of this matrix.
Type:
  • number
Source:

maxY :number

The maximum y value of this matrix.
Type:
  • number
Source:

maxZ :number

The maximum z value of this matrix.
Type:
  • number
Source:

minX :number

The minimum x value of this matrix.
Type:
  • number
Source:

minY :number

The minimum y value of this matrix.
Type:
  • number
Source:

minZ :number

The minimum z value of this matrix.
Type:
  • number
Source:

start :Coordinate3D

The starting coordinate of this matrix.
Type:
Source:

Methods

toString() → {string}

Gets the string representation of this CoordinateMatrix3D.
Source:
Returns:
The string representation of this CoordinateMatrix3D.
Type
string

(static) fromString(str) → {CoordinateMatrix3D}

Converts a string to a CoordinateMatrix3D.
Parameters:
Name Type Description
str string The string to convert.
Source:
Throws:
If the string is invalid.
Type
SyntaxError
Returns:
The parsed CoordinateMatrix3D.
Type
CoordinateMatrix3D
Example
CoordinateMatrix3D.fromString('(0, 1, 0, 1, 0, 1)^[0, 0, 0]')