Package sp.kx.math.foundation.entity.geometry

Types

Link copied to clipboard
interface Offset

Stores two values. Convenient for 2D calculations. For example, when you need to shift all points on the plane.

Link copied to clipboard
interface Point

Stores two values. Can be used to store the coordinates of a point in 2D space.

Link copied to clipboard
interface Vector

Stores the values of two Points. Since the start and finish points are specified explicitly, for example, you can calculate the angle of the resulting segment relative to the x-axis.