C# 클래스 PixelFarm.VectorMath.AxisAlignedBoundingBox

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
maxXYZ System.Vector3
minXYZ System.Vector3

공개 메소드들

메소드 설명
AxisAlignedBoundingBox ( System.Vector3 minXYZ, System.Vector3 maxXYZ ) : System
Clamp ( System.Vector3 &positionToClamp ) : void
Contains ( AxisAlignedBoundingBox bounds ) : bool
GetCenter ( ) : System.Vector3
GetCenterX ( ) : double
GetIntersectCost ( ) : double

This is the computation cost of doing an intersection with the given type. Attempt to give it in average CPU cycles for the intersecton.

GetSurfaceArea ( ) : double
GetVolume ( ) : double
Intersection ( AxisAlignedBoundingBox boundsA, AxisAlignedBoundingBox boundsB ) : AxisAlignedBoundingBox
NewTransformed ( Matrix4X4 transform ) : AxisAlignedBoundingBox
ToString ( ) : string
Union ( AxisAlignedBoundingBox boundsA, AxisAlignedBoundingBox boundsB ) : AxisAlignedBoundingBox
Union ( AxisAlignedBoundingBox bounds, System.Vector3 vertex ) : AxisAlignedBoundingBox
operator ( ) : AxisAlignedBoundingBox
this ( int index ) : System.Vector3

메소드 상세

AxisAlignedBoundingBox() 공개 메소드

public AxisAlignedBoundingBox ( System.Vector3 minXYZ, System.Vector3 maxXYZ ) : System
minXYZ System.Vector3
maxXYZ System.Vector3
리턴 System

Clamp() 공개 메소드

public Clamp ( System.Vector3 &positionToClamp ) : void
positionToClamp System.Vector3
리턴 void

Contains() 공개 메소드

public Contains ( AxisAlignedBoundingBox bounds ) : bool
bounds AxisAlignedBoundingBox
리턴 bool

GetCenter() 공개 메소드

public GetCenter ( ) : System.Vector3
리턴 System.Vector3

GetCenterX() 공개 메소드

public GetCenterX ( ) : double
리턴 double

GetIntersectCost() 공개 정적인 메소드

This is the computation cost of doing an intersection with the given type. Attempt to give it in average CPU cycles for the intersecton.
public static GetIntersectCost ( ) : double
리턴 double

GetSurfaceArea() 공개 메소드

public GetSurfaceArea ( ) : double
리턴 double

GetVolume() 공개 메소드

public GetVolume ( ) : double
리턴 double

Intersection() 공개 정적인 메소드

public static Intersection ( AxisAlignedBoundingBox boundsA, AxisAlignedBoundingBox boundsB ) : AxisAlignedBoundingBox
boundsA AxisAlignedBoundingBox
boundsB AxisAlignedBoundingBox
리턴 AxisAlignedBoundingBox

NewTransformed() 공개 메소드

public NewTransformed ( Matrix4X4 transform ) : AxisAlignedBoundingBox
transform Matrix4X4
리턴 AxisAlignedBoundingBox

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Union() 공개 정적인 메소드

public static Union ( AxisAlignedBoundingBox boundsA, AxisAlignedBoundingBox boundsB ) : AxisAlignedBoundingBox
boundsA AxisAlignedBoundingBox
boundsB AxisAlignedBoundingBox
리턴 AxisAlignedBoundingBox

Union() 공개 정적인 메소드

public static Union ( AxisAlignedBoundingBox bounds, System.Vector3 vertex ) : AxisAlignedBoundingBox
bounds AxisAlignedBoundingBox
vertex System.Vector3
리턴 AxisAlignedBoundingBox

operator() 공개 정적인 메소드

public static operator ( ) : AxisAlignedBoundingBox
리턴 AxisAlignedBoundingBox

this() 공개 메소드

public this ( int index ) : System.Vector3
index int
리턴 System.Vector3

프로퍼티 상세

maxXYZ 공개적으로 프로퍼티

public Vector3,System maxXYZ
리턴 System.Vector3

minXYZ 공개적으로 프로퍼티

public Vector3,System minXYZ
리턴 System.Vector3