C# 클래스 OpenBve.World.Vector3D

Represents a 3D vector of System.Double coordinates.
파일 보기 프로젝트 열기: leezer3/OpenBVE 1 사용 예제들

공개 프로퍼티들

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

공개 메소드들

메소드 설명
Add ( Vector3D A, Vector3D B ) : Vector3D

Returns the sum of two vectors.

Subtract ( Vector3D A, Vector3D B ) : Vector3D

Returns the difference of two vectors.

Vector3D ( Vector2D Vector, double Y ) : System

Returns a normalized vector based on a 2D vector in the XZ plane and an additional Y-coordinate.

Vector3D ( double X, double Y, double Z ) : System

메소드 상세

Add() 공개 정적인 메소드

Returns the sum of two vectors.
public static Add ( Vector3D A, Vector3D B ) : Vector3D
A Vector3D
B Vector3D
리턴 Vector3D

Subtract() 공개 정적인 메소드

Returns the difference of two vectors.
public static Subtract ( Vector3D A, Vector3D B ) : Vector3D
A Vector3D
B Vector3D
리턴 Vector3D

Vector3D() 공개 메소드

Returns a normalized vector based on a 2D vector in the XZ plane and an additional Y-coordinate.
public Vector3D ( Vector2D Vector, double Y ) : System
Vector Vector2D The vector in the XZ-plane. The X and Y components in Vector represent the X- and Z-coordinates, respectively.
Y double The Y-coordinate.
리턴 System

Vector3D() 공개 메소드

public Vector3D ( double X, double Y, double Z ) : System
X double
Y double
Z double
리턴 System

프로퍼티 상세

X 공개적으로 프로퍼티

public double X
리턴 double

Y 공개적으로 프로퍼티

public double Y
리턴 double

Z 공개적으로 프로퍼티

public double Z
리턴 double