Point3D

class Point3D(    val x: Double,     val y: Double,     val z: Double)

Represents a 3-dimensional point with coordinates (x, y, z).

Parameters

x

The x-coordinate of the point.

y

The y-coordinate of the point.

z

The z-coordinate of the point.

Constructors

Link copied to clipboard
fun Point3D(    x: Double,     y: Double,     z: Double)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val x: Double
Link copied to clipboard
val y: Double
Link copied to clipboard
val z: Double