Spatial

interface Spatial(source)

Interface representing a spatial object in the KompGeom library.

A spatial object can be a point, line, plane, or any other geometric entity that exists in a multi-dimensional space.

Inheritors

Functions

Link copied to clipboard
abstract fun dimensions(): Int

Returns the number of dimensions of the spatial object.

Link copied to clipboard
abstract fun isFinite(): Boolean

Returns true if all values in the spatial are finite.

Link copied to clipboard
abstract fun isInfinite(): Boolean

Returns true if any value in the spatial is infinite.

Link copied to clipboard
abstract fun isNaN(): Boolean

Returns true if any value in the spatial is NaN (Not a Number).