Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
Targeting.Ray Struct Reference

Public Member Functions

Vector3d ClosestPoint (Vector3d point, bool forward=false)
 
Vector3d ClosestPoint (Ray ray, bool forward=false)
 
Vector3d Point (double t)
 
Ray Project (Plane plane)
 
 Ray (Vector3d p, Vector3d v)
 
override string ToString ()
 

Public Attributes

Vector3d p
 start position of ray More...
 
Vector3d v
 direction/velocity of ray More...
 

Constructor & Destructor Documentation

Targeting.Ray.Ray ( Vector3d  p,
Vector3d  v 
)
inline

Member Function Documentation

Vector3d Targeting.Ray.ClosestPoint ( Vector3d  point,
bool  forward = false 
)
inline
Vector3d Targeting.Ray.ClosestPoint ( Ray  ray,
bool  forward = false 
)
inline
Vector3d Targeting.Ray.Point ( double  t)
inline
Ray Targeting.Ray.Project ( Plane  plane)
inline
override string Targeting.Ray.ToString ( )
inline

Member Data Documentation

Vector3d Targeting.Ray.p

start position of ray

Vector3d Targeting.Ray.v

direction/velocity of ray


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