C# Class Nexus.Objects3D.AxisAlignedBox3D

Exibir arquivo Open project: tgjones/nexus Class Usage Examples

Public Properties

Property Type Description
Max Point3D
Min Point3D

Public Methods

Method Description
AxisAlignedBox3D ( IEnumerable points ) : System
AxisAlignedBox3D ( Point3D p ) : System
AxisAlignedBox3D ( Point3D p1, Point3D p2 ) : System
CreateTransformedBoundingVolume ( Matrix3D transform ) : AxisAlignedBox3D
Expand ( float delta ) : void
GetCorners ( ) : Point3D[]
Intersects ( Ray3D ray ) : float?
MaximumExtent ( ) : int
Transform ( Matrix3D matrix ) : AxisAlignedBox3D
Union ( AxisAlignedBox3D b, AxisAlignedBox3D b2 ) : AxisAlignedBox3D
Union ( AxisAlignedBox3D b, Point3D p ) : AxisAlignedBox3D
Volume ( ) : float

Private Methods

Method Description
CheckedMax ( float v1, float v2 ) : float
CheckedMin ( float v1, float v2 ) : float

Method Details

AxisAlignedBox3D() public method

public AxisAlignedBox3D ( IEnumerable points ) : System
points IEnumerable
return System

AxisAlignedBox3D() public method

public AxisAlignedBox3D ( Point3D p ) : System
p Point3D
return System

AxisAlignedBox3D() public method

public AxisAlignedBox3D ( Point3D p1, Point3D p2 ) : System
p1 Point3D
p2 Point3D
return System

CreateTransformedBoundingVolume() public method

public CreateTransformedBoundingVolume ( Matrix3D transform ) : AxisAlignedBox3D
transform Matrix3D
return AxisAlignedBox3D

Expand() public method

public Expand ( float delta ) : void
delta float
return void

GetCorners() public method

public GetCorners ( ) : Point3D[]
return Point3D[]

Intersects() public method

public Intersects ( Ray3D ray ) : float?
ray Ray3D
return float?

MaximumExtent() public method

public MaximumExtent ( ) : int
return int

Transform() public method

public Transform ( Matrix3D matrix ) : AxisAlignedBox3D
matrix Matrix3D
return AxisAlignedBox3D

Union() public static method

public static Union ( AxisAlignedBox3D b, AxisAlignedBox3D b2 ) : AxisAlignedBox3D
b AxisAlignedBox3D
b2 AxisAlignedBox3D
return AxisAlignedBox3D

Union() public static method

public static Union ( AxisAlignedBox3D b, Point3D p ) : AxisAlignedBox3D
b AxisAlignedBox3D
p Point3D
return AxisAlignedBox3D

Volume() public method

public Volume ( ) : float
return float

Property Details

Max public_oe property

public Point3D Max
return Point3D

Min public_oe property

public Point3D Min
return Point3D