Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
DoubleCurve Class Reference
Inheritance diagram for DoubleCurve:
IConfigNode

Public Member Functions

void Add (double time, double value)
 
void Add (double time, double value, double inTangent, double outTangent)
 
 DoubleCurve ()
 
 DoubleCurve (DoubleKeyframe[] keyframes)
 
 DoubleCurve (List< DoubleKeyframe > keyframes)
 
double Evaluate (double t)
 
void FindMinMaxValue (out double min, out double max)
 
void FindMinMaxValue (out double min, out double max, out double tMin, out double tMax)
 
void Load (ConfigNode node)
 
void Save (ConfigNode node)
 

Public Attributes

List< DoubleKeyframekeys
 
double maxTime
 
double minTime
 

Protected Member Functions

int GetInsertionIndex (double time)
 

Constructor & Destructor Documentation

DoubleCurve.DoubleCurve ( )
inline
DoubleCurve.DoubleCurve ( DoubleKeyframe[]  keyframes)
inline
DoubleCurve.DoubleCurve ( List< DoubleKeyframe keyframes)
inline

Member Function Documentation

void DoubleCurve.Add ( double  time,
double  value 
)
inline
void DoubleCurve.Add ( double  time,
double  value,
double  inTangent,
double  outTangent 
)
inline
double DoubleCurve.Evaluate ( double  t)
inline

< handle the clamp cases

void DoubleCurve.FindMinMaxValue ( out double  min,
out double  max 
)
inline
void DoubleCurve.FindMinMaxValue ( out double  min,
out double  max,
out double  tMin,
out double  tMax 
)
inline
int DoubleCurve.GetInsertionIndex ( double  time)
inlineprotected
void DoubleCurve.Load ( ConfigNode  node)
inline

Implements IConfigNode.

void DoubleCurve.Save ( ConfigNode  node)
inline

Implements IConfigNode.

Member Data Documentation

List<DoubleKeyframe> DoubleCurve.keys
double DoubleCurve.maxTime
double DoubleCurve.minTime

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