C# Класс IrrlichtNETCP.Box3D

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
MaxEdge IrrlichtNETCP.Vector3D
MinEdge IrrlichtNETCP.Vector3D

Открытые методы

Метод Описание
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[]

Описание методов

AddInternalBox() публичный Метод

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.
Результат void

AddInternalPoint() публичный Метод

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.
Результат void

AddInternalPoint() публичный Метод

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.
Результат void

Box3D() публичный Метод

public Box3D ( IrrlichtNETCP.Vector3D min, IrrlichtNETCP.Vector3D max ) : System
min IrrlichtNETCP.Vector3D
max IrrlichtNETCP.Vector3D
Результат System

Box3D() публичный Метод

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
Результат System

Equals() публичный Метод

public Equals ( object o ) : bool
o object
Результат bool

From() публичный статический Метод

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
Результат Box3D

FromUnmanaged() публичный статический Метод

public static FromUnmanaged ( float b ) : Box3D
b float
Результат Box3D

GetEdges() публичный Метод

Stores all 8 edges of the box into a array
public GetEdges ( IrrlichtNETCP.Vector3D &edges ) : void
edges IrrlichtNETCP.Vector3D Aray of 8 edges
Результат void

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

IntersectsWithBox() публичный Метод

Determinates if the box intersects with an other box.
public IntersectsWithBox ( Box3D other ) : bool
other Box3D Other box to check a intersection with.
Результат bool

IntersectsWithLimitedLine() публичный Метод

Checks an intersection with some line
public IntersectsWithLimitedLine ( IrrlichtNETCP.Line3D lineToCol ) : bool
lineToCol IrrlichtNETCP.Line3D
Результат bool

IsPointInside() публичный Метод

Determinates if a point is within this box.
public IsPointInside ( IrrlichtNETCP.Vector3D p ) : bool
p IrrlichtNETCP.Vector3D : Point to check.
Результат bool

IsPointTotalInside() публичный Метод

Determinates if a point is within this box and its borders.
public IsPointTotalInside ( IrrlichtNETCP.Vector3D p ) : bool
p IrrlichtNETCP.Vector3D Point to check.
Результат bool

RandomPoint() публичный Метод

public RandomPoint ( ) : IrrlichtNETCP.Vector3D
Результат IrrlichtNETCP.Vector3D

Set() публичный Метод

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
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string

ToUnmanaged() публичный Метод

public ToUnmanaged ( ) : float[]
Результат float[]

Описание свойств

MaxEdge публичное свойство

public Vector3D,IrrlichtNETCP MaxEdge
Результат IrrlichtNETCP.Vector3D

MinEdge публичное свойство

public Vector3D,IrrlichtNETCP MinEdge
Результат IrrlichtNETCP.Vector3D