2D геометрия на C#
22 USDПривет.
Мне нужен class написанный на C# для вычисления положения объекта в 2D пространстве.
Сам объект:
public class CelestialObject
{
public float Direction { get; set; } // Direction from 0 to 360 degrees. 0 - North, 90 - East, 180 - South, 270 - West
public float Speed { get; set; } // Pixels in second
public float Agility { get; set; } // Pixels in second
public PointF Location { get; set; }
}
Исходя из условия задачи каждый объект за один ход не может изменить свое направление на больше чем свойство Agility .

Мне нужна функция, которая получает на входе две объекта CelestialObject с координатами, радиус орбиты и возвращает массив точек являющийся путем для объекта А (за каждый ход проходящий расстояние равное его скорости) к орбите объекта В. Естественно в точке касания орбиты вектор движения объекта А должен быть перпендикулярен прямой точки пересечения и точки В.
public class OrbitRouteCalculator
{
public List<PointF> Execute(CelestialObject objectA, CelestialObject objectB, double orbitRadius)
{
// Here route calculation
return new List<PointF>();
}
}
-
Я уже договарился с человеком. Проект вроде бы закрыт, если я все сделал правильно.
-
Current freelance projects in the category C#
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 1 day 7 hours back ∙ 2 proposals |
Creation of a plugin for integration with the POS system Syrve, C#Develop a plugin for the Syrve POS system (on-premise), which is installed on the establishment's server. The plugin must: (1) transmit data to our server in real-time — orders, table statuses, payments, receipts; (2) receive commands from Reservble — booking confirmations,… C#, Web Programming ∙ 4 days 4 hours back ∙ 12 proposals |
S1GG1LA person is needed who can take the initial code of the Minecraft launcher for the project, change the design at their discretion, but there are small style requirements for it to be in purple tones. Regarding payment, please suggest a price for the work. However, the budget is… C#, Gaming Apps ∙ 6 days 19 hours back ∙ 7 proposals |
Improvement in the existing version of 1C retail block for the distribution center (DC)In general, I will explain what kind of database we have - There is a main server where there is a retail database (where all receipts are recorded) - a UTP database - where all sales are transferred - it calculates the markup and stock balances - small databases of retail… C & C++, C# ∙ 11 days 20 hours back ∙ 6 proposals |