Class EnergyData
Basic implementation of an IEnergyDataCorridors interface.
Inheritance
System.Object
EnergyData
Assembly: Edgar.dll
Syntax
public sealed class EnergyData : ValueType, IEnergyData, IBasicConstraintData, ICorridorConstraintData, IMinimumDistanceConstraintData, ISmartCloneable<EnergyData>
Constructors
EnergyData(Single, Boolean, BasicConstraintData, CorridorConstraintData, MinimumDistanceConstraintData)
Declaration
public EnergyData(float energy, bool isValid, BasicConstraintData basicConstraintData, CorridorConstraintData corridorConstraintData, MinimumDistanceConstraintData minimumDistanceConstraintData)
Parameters
Properties
BasicConstraintData
Declaration
public BasicConstraintData BasicConstraintData { get; set; }
Property Value
CorridorConstraintData
Declaration
public CorridorConstraintData CorridorConstraintData { get; set; }
Property Value
Energy
Declaration
public float Energy { get; set; }
Property Value
Type |
Description |
System.Single |
|
IsValid
Whether the energy data is valid.
Declaration
public bool IsValid { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
MinimumDistanceConstraintData
Declaration
public MinimumDistanceConstraintData MinimumDistanceConstraintData { get; set; }
Property Value
Methods
SmartClone()
Declaration
public EnergyData SmartClone()
Returns
Implements