C# Class Kinect.Toolbox.Vector2

ファイルを表示 Open project: NIAEFEUP/Kommando

Public Methods

Method Description
ConvertVector2ToPoint ( ) : System.Point

Converts a vector to an aproximate point.

Vector2 ( float x, float y ) : System

Creates a new 2D vector.

operator ( ) : Vector2

Multiplication operator between a 2D vector and a scalar value.

Method Details

ConvertVector2ToPoint() public method

Converts a vector to an aproximate point.
public ConvertVector2ToPoint ( ) : System.Point
return System.Point

Vector2() public method

Creates a new 2D vector.
public Vector2 ( float x, float y ) : System
x float X component of the vector
y float Y component of the vector
return System

operator() public static method

Multiplication operator between a 2D vector and a scalar value.
public static operator ( ) : Vector2
return Vector2