C# 클래스 idTech4.idBounds

파일 보기 프로젝트 열기: iainmckay/idtech4.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Max Vector3
Min Vector3

공개 메소드들

메소드 설명
AddBounds ( idBounds b ) : bool
AddPoint ( Vector3 point ) : bool
AddPoint ( Vector4 point ) : bool
AxisProjection ( Vector3 direction, float &min, float &max ) : void
BoundsForPointRotation ( Vector3 start, idRotation rotation ) : idBounds
Clear ( ) : void
Equals ( object obj ) : bool
Expand ( float d ) : idBounds
Expand ( idBounds bounds, float d ) : idBounds
FromBoundsRotation ( idBounds bounds, Vector3 origin, Matrix axis, idRotation rotation ) : idBounds

Most tight bounds for the rotational movement of the given bounds.

FromBoundsTranslation ( idBounds bounds, Vector3 origin, Matrix axis, Vector3 translation ) : idBounds

Most tight bounds for the translational movement of the given bounds.

FromPointRotation ( Vector3 point, idRotation rotation ) : idBounds

Most tight bounds for the rotational movement of the given point.

FromPointTranslation ( Vector3 point, Vector3 translation ) : idBounds

Most tight bounds for the translational movement of the given point.

FromTransformedBounds ( idBounds bounds, Vector3 origin, Matrix axis ) : idBounds
GetRadius ( ) : float
GetRadius ( Vector3 center ) : float
Translate ( Vector3 translation ) : void
idBounds ( Vector3 point ) : System
idBounds ( Vector3 min, Vector3 max ) : System
operator ( ) : bool
operator ( ) : idBounds

메소드 상세

AddBounds() 공개 메소드

public AddBounds ( idBounds b ) : bool
b idBounds
리턴 bool

AddPoint() 공개 메소드

public AddPoint ( Vector3 point ) : bool
point Vector3
리턴 bool

AddPoint() 공개 메소드

public AddPoint ( Vector4 point ) : bool
point Vector4
리턴 bool

AxisProjection() 공개 메소드

public AxisProjection ( Vector3 direction, float &min, float &max ) : void
direction Vector3
min float
max float
리턴 void

BoundsForPointRotation() 공개 정적인 메소드

public static BoundsForPointRotation ( Vector3 start, idRotation rotation ) : idBounds
start Vector3
rotation idRotation
리턴 idBounds

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Equals() 공개 메소드

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

Expand() 공개 정적인 메소드

public static Expand ( float d ) : idBounds
d float
리턴 idBounds

Expand() 공개 정적인 메소드

public static Expand ( idBounds bounds, float d ) : idBounds
bounds idBounds
d float
리턴 idBounds

FromBoundsRotation() 공개 정적인 메소드

Most tight bounds for the rotational movement of the given bounds.
public static FromBoundsRotation ( idBounds bounds, Vector3 origin, Matrix axis, idRotation rotation ) : idBounds
bounds idBounds
origin Vector3
axis Matrix
rotation idRotation
리턴 idBounds

FromBoundsTranslation() 공개 정적인 메소드

Most tight bounds for the translational movement of the given bounds.
public static FromBoundsTranslation ( idBounds bounds, Vector3 origin, Matrix axis, Vector3 translation ) : idBounds
bounds idBounds
origin Vector3
axis Matrix
translation Vector3
리턴 idBounds

FromPointRotation() 공개 정적인 메소드

Most tight bounds for the rotational movement of the given point.
public static FromPointRotation ( Vector3 point, idRotation rotation ) : idBounds
point Vector3
rotation idRotation
리턴 idBounds

FromPointTranslation() 공개 정적인 메소드

Most tight bounds for the translational movement of the given point.
public static FromPointTranslation ( Vector3 point, Vector3 translation ) : idBounds
point Vector3
translation Vector3
리턴 idBounds

FromTransformedBounds() 공개 정적인 메소드

public static FromTransformedBounds ( idBounds bounds, Vector3 origin, Matrix axis ) : idBounds
bounds idBounds
origin Vector3
axis Matrix
리턴 idBounds

GetRadius() 공개 메소드

public GetRadius ( ) : float
리턴 float

GetRadius() 공개 메소드

public GetRadius ( Vector3 center ) : float
center Vector3
리턴 float

Translate() 공개 메소드

public Translate ( Vector3 translation ) : void
translation Vector3
리턴 void

idBounds() 공개 메소드

public idBounds ( Vector3 point ) : System
point Vector3
리턴 System

idBounds() 공개 메소드

public idBounds ( Vector3 min, Vector3 max ) : System
min Vector3
max Vector3
리턴 System

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

operator() 공개 정적인 메소드

public static operator ( ) : idBounds
리턴 idBounds

프로퍼티 상세

Max 공개적으로 프로퍼티

public Vector3 Max
리턴 Vector3

Min 공개적으로 프로퍼티

public Vector3 Min
리턴 Vector3