You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.Collections.Generic;
- using System.Text;
-
- namespace TelpoPush.Fence.Worker.Models.Fence
- {
- public class GpsPoint
- {
- public decimal Lat { get; set; }
- public decimal Lng { get; set; }
-
- public GpsPoint(decimal lat, decimal lng)
- {
- Lat = lat;
- Lng = lng;
- }
-
- public bool Equals(GpsPoint obj)
- {
- return Math.Abs(obj.Lat - Lat) < 0.000000001m && Math.Abs(obj.Lng - Lng) < 0.000000001m;
- }
- }
- }
|