[SerializableAttribute]
public class Location : ICheckSum| Location | Initializes a new instance of the Location class |
| CheckSum | A hashed value that is unique to this instance. The value is calculated by the CalculateChecksum() method. |
| X | The X cartesian coordinate, measured in mm |
| Y | The Y cartesian coordinate, measured in mm |
| CalculateChecksum |
Calculates a checksum value that represents the current state of the instance's properties, excluding the
LastUpdated and CheckSum properties. Assuming the underlying data did not change, the value of this method should be the same
across multiple serializations and deserializations of the same instance.
The intent of this method is two-fold. First to provide a way to verify the integrity of the instance's data after deserialization. If someone (or something) modified the serialized values then CalculateChecksum should return a different value. While we may not know what changed, we can at least detect something manipulated the data. The second intent is to compare the value of the instance on the server to the local copy. If the value is the same (on the server and locally) then the server has the up to date instance value. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetAngle | In radians, returns the angle of the shot, as reported by the Unit Circle. All values will be between 0 and 2 PI |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetRadius | The radius value, measured in mm. No rounding or truncation is done on this value. DO NOT display this value to the public, ISSF rules forbid it. |
| GetRadiusSquared | The radius value squred, measured in mm^2 |
| GetRadiusToString | Formats the radial distance of the shot location, according to ISSF guidelines, that may be displayed to the publiic. The radial distance displayed to two desimal places, must, upon look up, match the decimal score according to their look up tables. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| GetXToString | |
| GetYToString | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString |
Location formatted as a string. (0.00, 0.00) r 0.00
(Overrides ObjectToString) |