C# Class Plane3D, UnityUtils

Show file Open project: mortennobel/UnityUtils Class Usage Examples

Public Methods

Method Description
GetDistanceToPoint ( Vector3D, inPt ) : double
GetSide ( Vector3D, inPt ) : bool
Plane3D ( Vector3D, inNormal, Vector3D, inPoint ) : System
Plane3D ( Vector3D, inNormal, double d ) : System
Raycast ( RayD, ray, double &enter ) : bool
SameSide ( Vector3D, inPt0, Vector3D, inPt1 ) : bool
Set3Points ( Vector3D, a, Vector3D, b, Vector3D, c ) : void
SetNormalAndPosition ( Vector3D, inNormal, Vector3D, inPoint ) : void

Method Details

GetDistanceToPoint() public method

public GetDistanceToPoint ( Vector3D, inPt ) : double
inPt Vector3D,
return double

GetSide() public method

public GetSide ( Vector3D, inPt ) : bool
inPt Vector3D,
return bool

Plane3D() public method

public Plane3D ( Vector3D, inNormal, Vector3D, inPoint ) : System
inNormal Vector3D,
inPoint Vector3D,
return System

Plane3D() public method

public Plane3D ( Vector3D, inNormal, double d ) : System
inNormal Vector3D,
d double
return System

Raycast() public method

public Raycast ( RayD, ray, double &enter ) : bool
ray RayD,
enter double
return bool

SameSide() public method

public SameSide ( Vector3D, inPt0, Vector3D, inPt1 ) : bool
inPt0 Vector3D,
inPt1 Vector3D,
return bool

Set3Points() public method

public Set3Points ( Vector3D, a, Vector3D, b, Vector3D, c ) : void
a Vector3D,
b Vector3D,
c Vector3D,
return void

SetNormalAndPosition() public method

public SetNormalAndPosition ( Vector3D, inNormal, Vector3D, inPoint ) : void
inNormal Vector3D,
inPoint Vector3D,
return void