Constructor
Members
Methods
distanceTo(x, y, z)
Get distance from a given point
Parameters:
Name | Type | Description |
---|---|---|
x |
number | Point position on X |
y |
number | Point position on Y |
z |
number | Point position on Z |
set(x, y, z, distance) → {Plane}
Set plane using a position and an origin
Parameters:
Name | Type | Description |
---|---|---|
x |
number | Normal on X |
y |
number | Normal on Y |
z |
number | Normal on Z |
distance |
number | Distance from origin |
A reference to the instance
setFromPoints(a, b, c) → {Plane}
Set plane using a position and an origin
Parameters:
Name | Type | Description |
---|---|---|
a |
Array.<number> | Point A |
b |
Array.<number> | Point B |
c |
Array.<number> | Point C |
A reference to the instance