FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Ship::SpeedBracket Struct Reference

#include <SpeedBracket.h>

Public Attributes

double lowSpeed = 0
 
double highSpeed = 0
 
int lowIndex = 0
 
int highIndex = 0
 
double lowWeight = 1
 

Detailed Description

The two tabulated speeds that enclose a ship speed, and the linear blend weight between them (MAR-0027). The ship speed is clamped to [first, last] tabulated speed. With one tabulated speed, low = high = 0 and the weight is 1. lowWeight is the weight of the low speed (the high speed has 1 - lowWeight).


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