Dart Documentationorson_chartsPoint3D

Point3D class

Represents a point in 3D space.

Static Properties

final Point3D ORIGIN #

The origin (0, 0, 0).

final Point3D UNIT_X #

The point (1, 0, 0).

final Point3D UNIT_Y #

The point (0, 1, 0).

final Point3D UNIT_Z #

The point (0, 0, 1).

Static Methods

Point3D createPoint3D(num theta, num phi, num rho) #

Creates a new point using polar coordinates.

Constructors

new Point3D(num x, num y, num z) #

Creates a new point instance from the specified coordinates x, y and z.

Properties

final num phi #

Returns phi.

final num rho #

Returns rho, the distance of the point from the origin.

final num theta #

Returns theta.

num x #

The x-coordinate.

num y #

The y-coordinate.

num z #

The z-coordinate.