|
JSim 2026.06.01-p(1)
|
Public Member Functions | |
| LinearVelocity3d (LinearVelocity vx, LinearVelocity vy, LinearVelocity vz) | |
| LinearVelocity3d (double vxMetersPerSecond, double vyMetersPerSecond, double vzMetersPerSecond) | |
| LinearVelocity | getVx () |
| LinearVelocity | getX () |
| LinearVelocity | getVy () |
| LinearVelocity | getY () |
| LinearVelocity | getVz () |
| LinearVelocity | getZ () |
| double | getVxMetersPerSecond () |
| double | getVyMetersPerSecond () |
| double | getVzMetersPerSecond () |
| double | getMagnitude () |
| boolean | equals (Object obj) |
| int | hashCode () |
| String | toString () |
Represents a 3D linear velocity vector with components in meters per second.
This class provides a semantic wrapper around velocity components to clearly distinguish velocity vectors from position/translation vectors.
|
inline |
Creates a new LinearVelocity3d with WPILib velocity measures.
| vx | x velocity component |
| vy | y velocity component |
| vz | z velocity component |
|
inline |
Creates a new LinearVelocity3d with the given components.
| vxMetersPerSecond | x velocity component in meters per second |
| vyMetersPerSecond | y velocity component in meters per second |
| vzMetersPerSecond | z velocity component in meters per second |
|
inline |
|
inline |
Gets the magnitude (speed) of this velocity vector.
|
inline |
Gets the x velocity component.
|
inline |
Gets the x velocity component.
|
inline |
Gets the y velocity component.
|
inline |
Gets the y velocity component.
|
inline |
Gets the z velocity component.
|
inline |
Gets the z velocity component.
|
inline |
Gets the x velocity component.
|
inline |
Gets the y velocity component.
|
inline |
Gets the z velocity component.
|
inline |
|
inline |