C# Class SharpMath.BoundingBox

Show file Open project: Patapom/GodComplex Class Usage Examples

Public Properties

Property Type Description
m_Min float3

Public Methods

Method Description
Add ( float3 _Point ) : void
BoundingBox ( ) : System
BoundingBox ( float _MinX, float _MinY, float _MinZ, float _MaxX, float _MaxY, float _MaxZ ) : System
BoundingBox ( float3 _Min, float3 _Max ) : System
GetCorners ( ) : SharpMath.float3[]
Grow ( BoundingBox _BBox, float4x4 _Transform ) : void
Grow ( float3 _GrowSize ) : void
Intersect ( Ray _Ray ) : bool
IsHitBy ( Ray _Ray ) : bool
IsInsideHitBy ( Ray _Ray ) : bool
IsOutsideHitBy ( Ray _Ray ) : bool
Rationalize ( float3 _Source ) : float3
Set ( float3 _Min, float3 _Max ) : BoundingBox
ToString ( ) : string
Transform ( float4x4 _Transform ) : float3[]
operator ( ) : BoundingBox
operator ( ) : bool

Method Details

Add() public method

public Add ( float3 _Point ) : void
_Point float3
return void

BoundingBox() public method

public BoundingBox ( ) : System
return System

BoundingBox() public method

public BoundingBox ( float _MinX, float _MinY, float _MinZ, float _MaxX, float _MaxY, float _MaxZ ) : System
_MinX float
_MinY float
_MinZ float
_MaxX float
_MaxY float
_MaxZ float
return System

BoundingBox() public method

public BoundingBox ( float3 _Min, float3 _Max ) : System
_Min float3
_Max float3
return System

GetCorners() public method

public GetCorners ( ) : SharpMath.float3[]
return SharpMath.float3[]

Grow() public method

public Grow ( BoundingBox _BBox, float4x4 _Transform ) : void
_BBox BoundingBox
_Transform float4x4
return void

Grow() public method

public Grow ( float3 _GrowSize ) : void
_GrowSize float3
return void

Intersect() public method

public Intersect ( Ray _Ray ) : bool
_Ray Ray
return bool

IsHitBy() public method

public IsHitBy ( Ray _Ray ) : bool
_Ray Ray
return bool

IsInsideHitBy() public method

public IsInsideHitBy ( Ray _Ray ) : bool
_Ray Ray
return bool

IsOutsideHitBy() public method

public IsOutsideHitBy ( Ray _Ray ) : bool
_Ray Ray
return bool

Rationalize() public method

public Rationalize ( float3 _Source ) : float3
_Source float3
return float3

Set() public method

public Set ( float3 _Min, float3 _Max ) : BoundingBox
_Min float3
_Max float3
return BoundingBox

ToString() public method

public ToString ( ) : string
return string

Transform() public method

public Transform ( float4x4 _Transform ) : float3[]
_Transform float4x4
return float3[]

operator() public static method

public static operator ( ) : BoundingBox
return BoundingBox

operator() public static method

public static operator ( ) : bool
return bool

Property Details

m_Min public property

public float3 m_Min
return float3