Vec

The vector structure handles basic operations such as add subtract and multiplication of vectors.

Fields

The X coordinate

The Y coordinate

Properties

Sets the vector to zero.

Methods

Creates a new instance of the Vec object using a System.Drawing.Point.

Creates a new instance of the Vec object.

Calculates the distance between two vectors.

Provides the midpoint between two points.

Displays the X and Y coordinates.