C# Класс SilverFlow.Geometry.Vector2

Defines two-dimensional vector.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Round() публичный Метод

Rounds starting and ending points to the nearest integer coordinates.
public Round ( ) : Vector2
Результат Vector2

Vector2() публичный Метод

Initializes a new instance of the Vector2 class.
public Vector2 ( ) : System
Результат System

Vector2() публичный Метод

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.
Результат System

Vector2() публичный Метод

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.
Результат System