Skip to content

Typed API (TypeDoc)


Typed API (TypeDoc) / Point

Class: Point ​

Defined in: math/point.ts:9

Example ​

ts
const p = new Point(1, 2, 3)

Constructors ​

Constructor ​

new Point(x, y, z): Point

Defined in: math/point.ts:19

Parameters ​

x ​

number = 0

X coordinate.

y ​

number = 0

Y coordinate.

z ​

number = 0

Z coordinate.

Returns ​

Point

Properties ​

x ​

x: number

Defined in: math/point.ts:10


y ​

y: number

Defined in: math/point.ts:11


z ​

z: number

Defined in: math/point.ts:12

Built with VitePress – Released under the MIT License.