コード例 #1
0
 public double GetApparentWavePeriod()
 {
     return(m_waveLength / (GetWaveSpeed() - ship.GetShipSpeed() * Math.Cos(ship.GetHeadingAngle() * (Math.PI / 180.0))));
 }
コード例 #2
0
 public Coordinates GetShipPointInstance()
 {
     return(new Coordinates(Accessories.DegreeToRad(m_ship.GetHeadingAngle()), m_radius));
 }