C# Class IrrlichtNETCP.Box3D

Afficher le fichier Open project: Paulus/irrlichtnetcp Class Usage Examples

Méthodes publiques

Свойство Type Description
MaxEdge IrrlichtNETCP.Vector3D
MinEdge IrrlichtNETCP.Vector3D

Méthodes publiques

Méthode Description
AddInternalBox ( Box3D b ) : void

Adds an other bounding box to the bounding box, causing it to grow bigger, if the box is outside of the box

AddInternalPoint ( IrrlichtNETCP.Vector3D p ) : void

Adds a point to the bounding box, causing it to grow bigger, if point is outside of the box

AddInternalPoint ( float x, float y, float z ) : void

Adds a point to the bounding box, causing it to grow bigger, if point is outside of the box.

Box3D ( IrrlichtNETCP.Vector3D min, IrrlichtNETCP.Vector3D max ) : System
Box3D ( float xMin, float yMin, float zMin, float xMax, float yMax, float zMax ) : System
Equals ( object o ) : bool
From ( float xMin, float yMin, float zMin, float xMax, float yMax, float zMax ) : Box3D
FromUnmanaged ( float b ) : Box3D
GetEdges ( IrrlichtNETCP.Vector3D &edges ) : void

Stores all 8 edges of the box into a array

GetHashCode ( ) : int
IntersectsWithBox ( Box3D other ) : bool

Determinates if the box intersects with an other box.

IntersectsWithLimitedLine ( IrrlichtNETCP.Line3D lineToCol ) : bool

Checks an intersection with some line

IsPointInside ( IrrlichtNETCP.Vector3D p ) : bool

Determinates if a point is within this box.

IsPointTotalInside ( IrrlichtNETCP.Vector3D p ) : bool

Determinates if a point is within this box and its borders.

RandomPoint ( ) : IrrlichtNETCP.Vector3D
Set ( float xMin, float yMin, float zMin, float xMax, float yMax, float zMax ) : void
ToString ( ) : string
ToUnmanaged ( ) : float[]

Method Details

AddInternalBox() public méthode

Adds an other bounding box to the bounding box, causing it to grow bigger, if the box is outside of the box
public AddInternalBox ( Box3D b ) : void
b Box3D Other bounding box to add into this box.
Résultat void

AddInternalPoint() public méthode

Adds a point to the bounding box, causing it to grow bigger, if point is outside of the box
public AddInternalPoint ( IrrlichtNETCP.Vector3D p ) : void
p IrrlichtNETCP.Vector3D Point to add into the box.
Résultat void

AddInternalPoint() public méthode

Adds a point to the bounding box, causing it to grow bigger, if point is outside of the box.
public AddInternalPoint ( float x, float y, float z ) : void
x float X Coordinate of the point to add to this box.
y float Y Coordinate of the point to add to this box.
z float Z Coordinate of the point to add to this box.
Résultat void

Box3D() public méthode

public Box3D ( IrrlichtNETCP.Vector3D min, IrrlichtNETCP.Vector3D max ) : System
min IrrlichtNETCP.Vector3D
max IrrlichtNETCP.Vector3D
Résultat System

Box3D() public méthode

public Box3D ( float xMin, float yMin, float zMin, float xMax, float yMax, float zMax ) : System
xMin float
yMin float
zMin float
xMax float
yMax float
zMax float
Résultat System

Equals() public méthode

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

From() public static méthode

public static From ( float xMin, float yMin, float zMin, float xMax, float yMax, float zMax ) : Box3D
xMin float
yMin float
zMin float
xMax float
yMax float
zMax float
Résultat Box3D

FromUnmanaged() public static méthode

public static FromUnmanaged ( float b ) : Box3D
b float
Résultat Box3D

GetEdges() public méthode

Stores all 8 edges of the box into a array
public GetEdges ( IrrlichtNETCP.Vector3D &edges ) : void
edges IrrlichtNETCP.Vector3D Aray of 8 edges
Résultat void

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IntersectsWithBox() public méthode

Determinates if the box intersects with an other box.
public IntersectsWithBox ( Box3D other ) : bool
other Box3D Other box to check a intersection with.
Résultat bool

IntersectsWithLimitedLine() public méthode

Checks an intersection with some line
public IntersectsWithLimitedLine ( IrrlichtNETCP.Line3D lineToCol ) : bool
lineToCol IrrlichtNETCP.Line3D
Résultat bool

IsPointInside() public méthode

Determinates if a point is within this box.
public IsPointInside ( IrrlichtNETCP.Vector3D p ) : bool
p IrrlichtNETCP.Vector3D : Point to check.
Résultat bool

IsPointTotalInside() public méthode

Determinates if a point is within this box and its borders.
public IsPointTotalInside ( IrrlichtNETCP.Vector3D p ) : bool
p IrrlichtNETCP.Vector3D Point to check.
Résultat bool

RandomPoint() public méthode

public RandomPoint ( ) : IrrlichtNETCP.Vector3D
Résultat IrrlichtNETCP.Vector3D

Set() public méthode

public Set ( float xMin, float yMin, float zMin, float xMax, float yMax, float zMax ) : void
xMin float
yMin float
zMin float
xMax float
yMax float
zMax float
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToUnmanaged() public méthode

public ToUnmanaged ( ) : float[]
Résultat float[]

Property Details

MaxEdge public_oe property

public Vector3D,IrrlichtNETCP MaxEdge
Résultat IrrlichtNETCP.Vector3D

MinEdge public_oe property

public Vector3D,IrrlichtNETCP MinEdge
Résultat IrrlichtNETCP.Vector3D