C# 클래스 IrrlichtNETCP.Box3D

파일 보기 프로젝트 열기: Paulus/irrlichtnetcp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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