C# 클래스 SilverFlow.Geometry.Vector2

Defines two-dimensional vector.
파일 보기 프로젝트 열기: Zoomicon/ZUI

공개 메소드들

메소드 설명
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