C# Class SharpMath.Plane

Datei anzeigen Open project: Patapom/GodComplex Class Usage Examples

Public Properties

Property Type Description
d float
n float3

Public Methods

Method Description
Belongs ( float3 _p ) : bool
Distance ( float3 _p ) : float
Intersect ( Plane _p0, Plane _p1, float3 &_intersection ) : bool
Intersect ( Plane _p, Ray _ray ) : bool
Intersect ( Ray _Ray, float3 &_intersection ) : bool
Plane ( ) : System
Plane ( float _nx, float _ny, float _nz, float _d ) : System
Plane ( float3 _n, float _d ) : System
Plane ( float3 _p, float3 _n ) : System
Plane ( float3 _p0, float3 _p1, float3 _p2 ) : System
Set ( float _nx, float _ny, float _nz, float _d ) : Plane
Set ( float3 _p, float3 _n ) : Plane
Set ( float3 _p0, float3 _p1, float3 _p2 ) : Plane
Zero ( ) : Plane
operator ( ) : Plane

Method Details

Belongs() public method

public Belongs ( float3 _p ) : bool
_p float3
return bool

Distance() public method

public Distance ( float3 _p ) : float
_p float3
return float

Intersect() public method

public Intersect ( Plane _p0, Plane _p1, float3 &_intersection ) : bool
_p0 Plane
_p1 Plane
_intersection float3
return bool

Intersect() public method

public Intersect ( Plane _p, Ray _ray ) : bool
_p Plane
_ray Ray
return bool

Intersect() public method

public Intersect ( Ray _Ray, float3 &_intersection ) : bool
_Ray Ray
_intersection float3
return bool

Plane() public method

public Plane ( ) : System
return System

Plane() public method

public Plane ( float _nx, float _ny, float _nz, float _d ) : System
_nx float
_ny float
_nz float
_d float
return System

Plane() public method

public Plane ( float3 _n, float _d ) : System
_n float3
_d float
return System

Plane() public method

public Plane ( float3 _p, float3 _n ) : System
_p float3
_n float3
return System

Plane() public method

public Plane ( float3 _p0, float3 _p1, float3 _p2 ) : System
_p0 float3
_p1 float3
_p2 float3
return System

Set() public method

public Set ( float _nx, float _ny, float _nz, float _d ) : Plane
_nx float
_ny float
_nz float
_d float
return Plane

Set() public method

public Set ( float3 _p, float3 _n ) : Plane
_p float3
_n float3
return Plane

Set() public method

public Set ( float3 _p0, float3 _p1, float3 _p2 ) : Plane
_p0 float3
_p1 float3
_p2 float3
return Plane

Zero() public method

public Zero ( ) : Plane
return Plane

operator() public static method

public static operator ( ) : Plane
return Plane

Property Details

d public_oe property

public float d
return float

n public_oe property

public float3,SharpMath n
return float3