Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Properties | List of all members
FinePrint.WaypointManager Class Reference
Inheritance diagram for FinePrint.WaypointManager:

Public Member Functions

float Distance (double latitude1, double longitude1, double altitude1, double latitude2, double longitude2, double altitude2, CelestialBody body)
 
float DistanceToVessel (Waypoint wp)
 
float LateralDistanceToVessel (Waypoint wp)
 
float LateralDistanceToVessel (Waypoint wp, Vessel v)
 
 WaypointManager ()
 
List< WaypointWaypointsNearVessel (float distance)
 

Static Public Member Functions

static void AddWaypoint (Waypoint waypoint)
 
static void ChooseRandomPosition (out double latitude, out double longitude, string celestialName, bool waterAllowed=true, bool equatorial=false, Random generator=null)
 
static void ChooseRandomPositionNear (out double latitude, out double longitude, double centerLatitude, double centerLongitude, string celestialName, double searchRadius, bool waterAllowed=true, Random generator=null)
 
static Waypoint FindWaypoint (Guid id)
 Find a waypoint via its navigationId More...
 
static WaypointManager Instance ()
 
static void RemoveWaypoint (Waypoint waypoint)
 

Properties

static Material WaypointMaterial [get]
 
List< WaypointWaypoints [get]
 

Constructor & Destructor Documentation

FinePrint.WaypointManager.WaypointManager ( )
inline

Member Function Documentation

static void FinePrint.WaypointManager.AddWaypoint ( Waypoint  waypoint)
inlinestatic
static void FinePrint.WaypointManager.ChooseRandomPosition ( out double  latitude,
out double  longitude,
string  celestialName,
bool  waterAllowed = true,
bool  equatorial = false,
Random  generator = null 
)
inlinestatic
static void FinePrint.WaypointManager.ChooseRandomPositionNear ( out double  latitude,
out double  longitude,
double  centerLatitude,
double  centerLongitude,
string  celestialName,
double  searchRadius,
bool  waterAllowed = true,
Random  generator = null 
)
inlinestatic
float FinePrint.WaypointManager.Distance ( double  latitude1,
double  longitude1,
double  altitude1,
double  latitude2,
double  longitude2,
double  altitude2,
CelestialBody  body 
)
inline
float FinePrint.WaypointManager.DistanceToVessel ( Waypoint  wp)
inline
static Waypoint FinePrint.WaypointManager.FindWaypoint ( Guid  id)
inlinestatic

Find a waypoint via its navigationId

Parameters
idthe unique navigationId of the waypoint your looking for
Returns
The found waypoint or null if it cant be found
static WaypointManager FinePrint.WaypointManager.Instance ( )
inlinestatic
float FinePrint.WaypointManager.LateralDistanceToVessel ( Waypoint  wp)
inline
float FinePrint.WaypointManager.LateralDistanceToVessel ( Waypoint  wp,
Vessel  v 
)
inline
static void FinePrint.WaypointManager.RemoveWaypoint ( Waypoint  waypoint)
inlinestatic
List<Waypoint> FinePrint.WaypointManager.WaypointsNearVessel ( float  distance)
inline

Property Documentation

Material FinePrint.WaypointManager.WaypointMaterial
staticget
List<Waypoint> FinePrint.WaypointManager.Waypoints
get

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