Table of Contents

Class JointOptimization

Namespace
KSP.Sim.impl
Assembly
Assembly-CSharp.dll
public class JointOptimization
Inheritance
JointOptimization
Inherited Members
Extension Methods

Constructors

JointOptimization(List<JointConnection>, ISimulationObjectView)

public JointOptimization(List<PartOwnerBehavior.JointConnection> jointConnections, ISimulationObjectView SimObject)

Parameters

jointConnections List<PartOwnerBehavior.JointConnection>
SimObject ISimulationObjectView

Fields

decimateTest

public bool decimateTest

Field Value

bool

undecimateTest

public bool undecimateTest

Field Value

bool

Properties

JointConnections

public DictionaryValueList<PartBehavior, PartOwnerBehavior.JointConnection> JointConnections { get; }

Property Value

DictionaryValueList<PartBehavior, PartOwnerBehavior.JointConnection>

JointConnectionsCurrent

public DictionaryValueList<PartBehavior, PartOwnerBehavior.JointConnection> JointConnectionsCurrent { get; }

Property Value

DictionaryValueList<PartBehavior, PartOwnerBehavior.JointConnection>

JointConnectionsRemoved

public DictionaryValueList<PartBehavior, PartOwnerBehavior.JointConnection> JointConnectionsRemoved { get; }

Property Value

DictionaryValueList<PartBehavior, PartOwnerBehavior.JointConnection>

Methods

CreateBoxTrigger()

public void CreateBoxTrigger()

DecimateJoint(PartBehavior)

public bool DecimateJoint(PartBehavior obj)

Parameters

obj PartBehavior

Returns

bool

DestroyBoxTrigger()

public void DestroyBoxTrigger()

FreshJointConnectionsCurrent()

public void FreshJointConnectionsCurrent()

GetChilds(PartBehavior)

public List<PartBehavior> GetChilds(PartBehavior father)

Parameters

father PartBehavior

Returns

List<PartBehavior>

GetDecimatedPartsCount()

public int GetDecimatedPartsCount()

Returns

int

UnDecimateAllJoints()

public void UnDecimateAllJoints()

UnDecimateJoint(PartBehavior)

public bool UnDecimateJoint(PartBehavior obj)

Parameters

obj PartBehavior

Returns

bool