/// <summary>
 /// Default Constructor
 /// </summary>
 public CoordinateCollection()
     : base()
 {
     Centroid = new Centroid(0, 0);
 }
 /// <summary>
 /// Secondary Constructor
 /// </summary>
 /// <param name="collection">A collection of elements to be added</param>
 public CoordinateCollection(IEnumerable <Coordinate> collection)
     : base(collection)
 {
     Centroid = new Centroid(0, 0);
     UpdateCentroid();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Secondary Constructor
 /// </summary>
 /// <param name="collection"></param>
 public EventCollection(IEnumerable <Event> collection)
     : base(collection)
 {
     Centroid = new Centroid(0, 0);
     UpdateCentroid();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Default Constructor
 /// </summary>
 public EventCollection()
     : base()
 {
     Centroid = new Centroid(0, 0);
 }
 public void Initalise()
 {
     centroid = new Centroid(LONGITUDE, LATITUDE);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Primary Constructor
 /// </summary>
 /// <param name="centre">the centroid of the radius</param>
 /// <param name="radius">the radius of the circle in meters</param>
 public RadialCircle(Centroid centre, double radius)
 {
     Centre    = centre;
     Radius    = radius;
     Spherical = centre.ToSphericalCoordinate();
 }
 /// <summary>
 /// Primary Constructor
 /// </summary>
 /// <param name="centre">the centroid of the radius</param>
 /// <param name="radius">the radius of the circle in meters</param>
 public RadialCircle(Centroid centre, double radius)
 {
     Centre = centre;
       Radius = radius;
       Spherical = centre.ToSphericalCoordinate();
 }