C# Class SilverFlow.Geometry.Vector2

Defines two-dimensional vector.
Afficher le fichier Open project: Zoomicon/ZUI

Méthodes publiques

Méthode Description
Round ( ) : Vector2

Rounds starting and ending points to the nearest integer coordinates.

Vector2 ( ) : System

Initializes a new instance of the Vector2 class.

Vector2 ( Point start, Point end ) : System

Initializes a new instance of the Vector2 class.

Vector2 ( Point start, double lengthX, double lengthY ) : System

Initializes a new instance of the Vector2 class.

Method Details

Round() public méthode

Rounds starting and ending points to the nearest integer coordinates.
public Round ( ) : Vector2
Résultat Vector2

Vector2() public méthode

Initializes a new instance of the Vector2 class.
public Vector2 ( ) : System
Résultat System

Vector2() public méthode

Initializes a new instance of the Vector2 class.
public Vector2 ( Point start, Point end ) : System
start Point The starting point.
end Point The ending point.
Résultat System

Vector2() public méthode

Initializes a new instance of the Vector2 class.
public Vector2 ( Point start, double lengthX, double lengthY ) : System
start Point The starting point.
lengthX double The length by X-coordinate.
lengthY double The length by Y-coordinate.
Résultat System