org.abh80.nf.core.math

Members list

Type members

Classlikes

case class KinematicState(position: Vector3D, velocity: Vector3D, acceleration: Vector3D) extends TimeShiftable[KinematicState]

Represents the state of an object in terms of its kinematic properties (in space-time): position, velocity, and acceleration. Provides methods to calculate its state after a time shift, as well as methods to compute derived values such as position and velocity shifts. All vectors are in SI units (meters for position, meters/second for velocity, meters/second² for acceleration).

Represents the state of an object in terms of its kinematic properties (in space-time): position, velocity, and acceleration. Provides methods to calculate its state after a time shift, as well as methods to compute derived values such as position and velocity shifts. All vectors are in SI units (meters for position, meters/second for velocity, meters/second² for acceleration).

Instances of this class are immutable and time-shiftable, adhering to the TimeShiftable trait.

Value parameters

acceleration

The acceleration vector of the object in 3D space (meters/second²).

position

The position vector of the object in 3D space (meters).

velocity

The velocity vector of the object in 3D space (meters/second).

Attributes

See also

TimeShiftable

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class Vector3D(x: Double, y: Double, z: Double)

Represents a 3-dimensional vector with x, y, and z components in meters. Provides common vector operations and geometric transformations. All operations are immutable and return new instances.

Represents a 3-dimensional vector with x, y, and z components in meters. Provides common vector operations and geometric transformations. All operations are immutable and return new instances.

Value parameters

x

The x-component (in meters).

y

The y-component (in meters).

z

The z-component (in meters).

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Vector3D

Companion object for Vector3D. Provides utility methods and implicit operations for vectors.

Companion object for Vector3D. Provides utility methods and implicit operations for vectors.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Vector3D.type