/// <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(); }
/// <summary> /// Secondary Constructor /// </summary> /// <param name="collection"></param> public EventCollection(IEnumerable <Event> collection) : base(collection) { Centroid = new Centroid(0, 0); UpdateCentroid(); }
/// <summary> /// Default Constructor /// </summary> public EventCollection() : base() { Centroid = new Centroid(0, 0); }
public void Initalise() { centroid = new Centroid(LONGITUDE, LATITUDE); }
/// <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(); }