C# Class Reign.Core.Line3

Show file Open project: reignstudios/ReignSDK Class Usage Examples

Public Properties

Property Type Description
Point1 Vector3

Public Methods

Method Description
Inersect ( Line3 line ) : Line3
Inersect ( Line3 &line1, Line3 &line2, Line3 &result ) : void
InersectPlane ( Vector3 planeNormal, Vector3 planeLocation ) : Vector3
InersectPlane ( Line3 &line, Vector3 &planeNormal, Vector3 &planeLocation, Vector3 &result ) : void
Length ( ) : float
Length ( Line3 &line, float &result ) : void
Line3 ( Vector3 point1, Vector3 point2 ) : System.Runtime.InteropServices
Transform ( Matrix3 matrix ) : Line3
Transform ( Line3 &line, Matrix3 &matrix, Line3 &result ) : void

Method Details

Inersect() public method

public Inersect ( Line3 line ) : Line3
line Line3
return Line3

Inersect() public static method

public static Inersect ( Line3 &line1, Line3 &line2, Line3 &result ) : void
line1 Line3
line2 Line3
result Line3
return void

InersectPlane() public method

public InersectPlane ( Vector3 planeNormal, Vector3 planeLocation ) : Vector3
planeNormal Vector3
planeLocation Vector3
return Vector3

InersectPlane() public static method

public static InersectPlane ( Line3 &line, Vector3 &planeNormal, Vector3 &planeLocation, Vector3 &result ) : void
line Line3
planeNormal Vector3
planeLocation Vector3
result Vector3
return void

Length() public method

public Length ( ) : float
return float

Length() public static method

public static Length ( Line3 &line, float &result ) : void
line Line3
result float
return void

Line3() public method

public Line3 ( Vector3 point1, Vector3 point2 ) : System.Runtime.InteropServices
point1 Vector3
point2 Vector3
return System.Runtime.InteropServices

Transform() public method

public Transform ( Matrix3 matrix ) : Line3
matrix Matrix3
return Line3

Transform() public static method

public static Transform ( Line3 &line, Matrix3 &matrix, Line3 &result ) : void
line Line3
matrix Matrix3
result Line3
return void

Property Details

Point1 public property

public Vector3,Reign.Core Point1
return Vector3