JSim 2026.06.01-p(1)
Loading...
Searching...
No Matches
jsim.api.Fuel2026 Class Reference
Inheritance diagram for jsim.api.Fuel2026:
jsim.api.GamePieceState

Public Member Functions

 Fuel2026 ()
void shoot (Translation3d relativeStart, double timeOfFlight, Rotation3d exitAngle)
Public Member Functions inherited from jsim.api.GamePieceState
 GamePieceState (GamePieceType type)
GamePieceType getType ()
void setVelocity (LinearVelocity3d velocity)
void setRotation (Rotation3d rotation)
LinearVelocity3d getVelocity ()
Rotation3d getRotation ()
void setRobotOffsetStart (Translation2d offset)
Translation2d getRobotOffsetStart ()
void setExitVelocity (LinearVelocity3d velocity)
LinearVelocity3d getExitVelocity ()
void setExitAngle (Rotation3d angle)
Rotation3d getExitAngle ()
void intakeZone (Translation3d[] intakeArea)
Translation3d[] getIntakeArea ()

Additional Inherited Members

Public Attributes inherited from jsim.api.GamePieceState
GamePieceType type
LinearVelocity3d velocity
Rotation3d rotation
Translation2d robotOffsetStart
LinearVelocity3d exitVelocity
Rotation3d exitAngle
Translation3d[] intakeArea

Detailed Description

Represents a 2026 Fuel game piece. Integrates vector, quaternion, and matrix math for simulation.

Constructor & Destructor Documentation

◆ Fuel2026()

jsim.api.Fuel2026.Fuel2026 ( )
inline

Constructs a Fuel2026 game piece.

Member Function Documentation

◆ shoot()

void jsim.api.Fuel2026.shoot ( Translation3d relativeStart,
double timeOfFlight,
Rotation3d exitAngle )
inline

Simulates shooting the fuel game piece using vector and quaternion math.

Parameters
relativeStartThe relative start position.
timeOfFlightThe time of flight.
exitAngleThe exit angle (as Rotation3d, converted to Quaternion).

The documentation for this class was generated from the following file: