C# 클래스 Ijw.Math.Vector2

파일 보기 프로젝트 열기: chrisforbes/Ijw.Framework

공개 프로퍼티들

프로퍼티 타입 설명
UnitX Vector2
UnitY Vector2
Zero Vector2
x float

공개 메소드들

메소드 설명
CatmullRom ( float t, Vector2 v0, Vector2 v1, Vector2 v2, Vector2 v3 ) : Vector2
CatmullRomDeriv ( float t, Vector2 v0, Vector2 v1, Vector2 v2, Vector2 v3 ) : Vector2
Constrain ( Vector2 upper, Vector2 lower ) : Vector2
Dot ( Vector2 a, Vector2 b ) : float
Equals ( object obj ) : bool
FromAngle ( float angle ) : Vector2
GetHashCode ( ) : int
Maximize ( Vector2 a, Vector2 b ) : Vector2
Minimize ( Vector2 a, Vector2 b ) : Vector2
Normalize ( ) : Vector2
Read ( BinaryReader reader ) : Vector2
ToPoint ( ) : System.Drawing.Point
ToString ( ) : string
Vector2 ( float x, float y ) : System
Write ( BinaryWriter writer ) : void
operator ( ) : Vector2
operator ( ) : bool

메소드 상세

CatmullRom() 공개 정적인 메소드

public static CatmullRom ( float t, Vector2 v0, Vector2 v1, Vector2 v2, Vector2 v3 ) : Vector2
t float
v0 Vector2
v1 Vector2
v2 Vector2
v3 Vector2
리턴 Vector2

CatmullRomDeriv() 공개 정적인 메소드

public static CatmullRomDeriv ( float t, Vector2 v0, Vector2 v1, Vector2 v2, Vector2 v3 ) : Vector2
t float
v0 Vector2
v1 Vector2
v2 Vector2
v3 Vector2
리턴 Vector2

Constrain() 공개 메소드

public Constrain ( Vector2 upper, Vector2 lower ) : Vector2
upper Vector2
lower Vector2
리턴 Vector2

Dot() 공개 정적인 메소드

public static Dot ( Vector2 a, Vector2 b ) : float
a Vector2
b Vector2
리턴 float

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

FromAngle() 공개 정적인 메소드

public static FromAngle ( float angle ) : Vector2
angle float
리턴 Vector2

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Maximize() 공개 정적인 메소드

public static Maximize ( Vector2 a, Vector2 b ) : Vector2
a Vector2
b Vector2
리턴 Vector2

Minimize() 공개 정적인 메소드

public static Minimize ( Vector2 a, Vector2 b ) : Vector2
a Vector2
b Vector2
리턴 Vector2

Normalize() 공개 메소드

public Normalize ( ) : Vector2
리턴 Vector2

Read() 공개 정적인 메소드

public static Read ( BinaryReader reader ) : Vector2
reader System.IO.BinaryReader
리턴 Vector2

ToPoint() 공개 메소드

public ToPoint ( ) : System.Drawing.Point
리턴 System.Drawing.Point

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Vector2() 공개 메소드

public Vector2 ( float x, float y ) : System
x float
y float
리턴 System

Write() 공개 메소드

public Write ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

operator() 공개 정적인 메소드

public static operator ( ) : Vector2
리턴 Vector2

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

UnitX 공개적으로 정적으로 프로퍼티

public static Vector2 UnitX
리턴 Vector2

UnitY 공개적으로 정적으로 프로퍼티

public static Vector2 UnitY
리턴 Vector2

Zero 공개적으로 정적으로 프로퍼티

public static Vector2 Zero
리턴 Vector2

x 공개적으로 프로퍼티

public float x
리턴 float