Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VRageMath.Line Struct Reference

Public Member Functions

 Line (Vector3 from, Vector3 to, bool calculateBoundingBox=true)
 

Static Public Member Functions

static float GetShortestDistanceSquared (Line line1, Line line2)
 
static Vector3 GetShortestVector (ref Line line1, ref Line line2, out Vector3 res1, out Vector3 res2)
 

Public Attributes

Vector3 From
 
Vector3 To
 
Vector3 Direction
 
float Length
 
BoundingBox BoundingBox
 

Detailed Description

Definition at line 9 of file Line.cs.

Constructor & Destructor Documentation

VRageMath.Line.Line ( Vector3  from,
Vector3  to,
bool  calculateBoundingBox = true 
)
inline

Definition at line 23 of file Line.cs.

Member Function Documentation

static float VRageMath.Line.GetShortestDistanceSquared ( Line  line1,
Line  line2 
)
inlinestatic

Definition at line 40 of file Line.cs.

static Vector3 VRageMath.Line.GetShortestVector ( ref Line  line1,
ref Line  line2,
out Vector3  res1,
out Vector3  res2 
)
inlinestatic

Definition at line 49 of file Line.cs.

Member Data Documentation

BoundingBox VRageMath.Line.BoundingBox

Definition at line 18 of file Line.cs.

Vector3 VRageMath.Line.Direction

Definition at line 13 of file Line.cs.

Vector3 VRageMath.Line.From

Definition at line 11 of file Line.cs.

float VRageMath.Line.Length

Definition at line 14 of file Line.cs.

Vector3 VRageMath.Line.To

Definition at line 12 of file Line.cs.


The documentation for this struct was generated from the following file: