Structure for representing a pair of coordinates of double type.Namespace: AForge
Assembly: AForge (in AForge.dll) Version: 220.127.116.11 (18.104.22.168)
[SerializableAttribute] public struct DoublePoint
The structure is used to store a pair of floating point coordinates with double precision.
// assigning coordinates in the constructor DoublePoint p1 = new DoublePoint( 10, 20 ); // creating a point and assigning coordinates later DoublePoint p2; p2.X = 30; p2.Y = 40; // calculating distance between two points double distance = p1.DistanceTo( p2 );