C# Class idTech4.idBounds

Afficher le fichier Open project: iainmckay/idtech4.net Class Usage Examples

Méthodes publiques

Свойство Type Description
Max Vector3
Min Vector3

Méthodes publiques

Méthode Description
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

Method Details

AddBounds() public méthode

public AddBounds ( idBounds b ) : bool
b idBounds
Résultat bool

AddPoint() public méthode

public AddPoint ( Vector3 point ) : bool
point Vector3
Résultat bool

AddPoint() public méthode

public AddPoint ( Vector4 point ) : bool
point Vector4
Résultat bool

AxisProjection() public méthode

public AxisProjection ( Vector3 direction, float &min, float &max ) : void
direction Vector3
min float
max float
Résultat void

BoundsForPointRotation() public static méthode

public static BoundsForPointRotation ( Vector3 start, idRotation rotation ) : idBounds
start Vector3
rotation idRotation
Résultat idBounds

Clear() public méthode

public Clear ( ) : void
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

Expand() public static méthode

public static Expand ( float d ) : idBounds
d float
Résultat idBounds

Expand() public static méthode

public static Expand ( idBounds bounds, float d ) : idBounds
bounds idBounds
d float
Résultat idBounds

FromBoundsRotation() public static méthode

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
Résultat idBounds

FromBoundsTranslation() public static méthode

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
Résultat idBounds

FromPointRotation() public static méthode

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

FromPointTranslation() public static méthode

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

FromTransformedBounds() public static méthode

public static FromTransformedBounds ( idBounds bounds, Vector3 origin, Matrix axis ) : idBounds
bounds idBounds
origin Vector3
axis Matrix
Résultat idBounds

GetRadius() public méthode

public GetRadius ( ) : float
Résultat float

GetRadius() public méthode

public GetRadius ( Vector3 center ) : float
center Vector3
Résultat float

Translate() public méthode

public Translate ( Vector3 translation ) : void
translation Vector3
Résultat void

idBounds() public méthode

public idBounds ( Vector3 point ) : System
point Vector3
Résultat System

idBounds() public méthode

public idBounds ( Vector3 min, Vector3 max ) : System
min Vector3
max Vector3
Résultat System

operator() public static méthode

public static operator ( ) : bool
Résultat bool

operator() public static méthode

public static operator ( ) : idBounds
Résultat idBounds

Property Details

Max public_oe property

public Vector3 Max
Résultat Vector3

Min public_oe property

public Vector3 Min
Résultat Vector3