package io.rtron.math.geometry.euclidean.threed.point

Classes

Name Description
abstract class AbstractPoint3D: AbstractGeometry3D

Abstract class for all geometric point objects in 3D.

data class Vector3D: AbstractPoint3D

Represents a vector in three-dimensional space, whereby its values must be finite.

Methods

toVector3D

fun CMVector3D.toVector3D(): CMVector3D

Conversion from adapted Vector class from Apache Commons Math.

Receiver

Name Description
CMVector3D

ReturnValue

Name Description
CMVector3D

fuzzyEquals

fun List<Vector3D>.fuzzyEquals(other: List<Vector3D>, tolerance: Double): Boolean

Returns true, if each vector of this list is fuzzily equal to the other vector's elements (on the same index).

Receiver

Name Description
List<Vector3D>

Parameters

Name Description
other: List<Vector3D>

other list of vectors to be compared

tolerance: Double

allowed tolerance for fuzzy equal evaluation

ReturnValue

Name Description
Boolean