C# Class Graphics2D.Vector2D

ファイルを表示 Open project: spustlik/plotr Class Usage Examples

Public Properties

Property Type Description
Angle double
Length double

Public Methods

Method Description
FromPoints ( Point2D p1, Point2D p2 ) : Vector2D
GetSize ( double length, double angle ) : Size2D
Vector2D ( Size2D size ) : System

Method Details

FromPoints() public static method

public static FromPoints ( Point2D p1, Point2D p2 ) : Vector2D
p1 Point2D
p2 Point2D
return Vector2D

GetSize() public static method

public static GetSize ( double length, double angle ) : Size2D
length double
angle double
return Size2D

Vector2D() public method

public Vector2D ( Size2D size ) : System
size Size2D
return System

Property Details

Angle public_oe property

public double Angle
return double

Length public_oe property

public double Length
return double