C# 클래스 StdPaint.Vector4

A vector representing homogeneous coordinates in 3D space.
파일 보기 프로젝트 열기: TheBerkin/StdPaint

공개 프로퍼티들

프로퍼티 타입 설명
W double
X double
Y double
Z double

공개 메소드들

메소드 설명
FromVector3 ( Vector3 a ) : Vector4

Returns the Vector4 equivalent of the specified Vector3.

Vector4 ( double x, double y, double z, double w ) : System

Create a new Vector3 from coordinates.

operator ( ) : Vector4

Multiplies a Vector4 by a scalar.

메소드 상세

FromVector3() 공개 정적인 메소드

Returns the Vector4 equivalent of the specified Vector3.
public static FromVector3 ( Vector3 a ) : Vector4
a Vector3 The vector to convert.
리턴 Vector4

Vector4() 공개 메소드

Create a new Vector3 from coordinates.
public Vector4 ( double x, double y, double z, double w ) : System
x double The X coordinate.
y double The Y coordinate.
z double The Z coordinate.
w double The W coordinate.
리턴 System

operator() 공개 정적인 메소드

Multiplies a Vector4 by a scalar.
public static operator ( ) : Vector4
리턴 Vector4

프로퍼티 상세

W 공개적으로 프로퍼티

The W coordinate.
public double W
리턴 double

X 공개적으로 프로퍼티

The X coodinate.
public double X
리턴 double

Y 공개적으로 프로퍼티

The Y coordinate.
public double Y
리턴 double

Z 공개적으로 프로퍼티

The Z coordinate.
public double Z
리턴 double