-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTrajectoryData.cs
More file actions
38 lines (28 loc) · 1.02 KB
/
TrajectoryData.cs
File metadata and controls
38 lines (28 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System.Collections.Generic;
using System.Windows;
using System.Windows.Shapes;
namespace Cannon_Simulation
{
class TrajectoryData
{
/// <summary>
/// Container for the Path o' Points and visual UIElement.
/// </summary>
/// <param name="poc">The current path of points for cannonball.</param>
/// <param name="vt">Path with full trajectory data.</param>
public TrajectoryData(List<Point> poc, Path vt)
{
PathOfCannonball = new List<Point>();
PathOfCannonball = poc;
VisualTrajectory = vt;
}
public List<Point> PathOfCannonball { get; set; }
public Path VisualTrajectory { get; set; }
public double DistanceTraveled { get; set; }
public double HighestAltitudeAchieved { get; set; }
public double VelocityOfImpact { get; set; }
public double MuzzleVelocity { get; set; }
public int IndexNumber { get; set; }
public string CannonballType { get; set; }
}
}