C# Class ChronoEngineAddin.EditChBody

Inheritance: System.Windows.Forms.Form
Show file Open project: projectchrono/chrono-solidworks Class Usage Examples

Public Properties

Property Type Description
m_collide bool
m_collision_envelope double
m_collision_family int
m_collision_margin double
m_conveyor_speed double
m_friction double
m_restitution double
m_rolling_friction double
m_spinning_friction double

Public Methods

Method Description
EditChBody ( ) : System
Set_collision_envelope ( double mval ) : void
Set_collision_family ( int mval ) : void
Set_collision_margin ( double mval ) : void
Set_collision_on ( bool mval ) : void
Set_conveyor_speed ( double mval ) : void
Set_friction ( double mval ) : void
Set_restitution ( double mval ) : void
Set_rolling_friction ( double mval ) : void
Set_spinning_friction ( double mval ) : void
StoreToSelection ( SelectionMgr swSelMgr, AttributeDef &mdefattr_chbody ) : void
UpdateFromSelection ( SelectionMgr swSelMgr, AttributeDef &mdefattr_chbody ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

button_ok_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

EditChBody() public method

public EditChBody ( ) : System
return System

Set_collision_envelope() public method

public Set_collision_envelope ( double mval ) : void
mval double
return void

Set_collision_family() public method

public Set_collision_family ( int mval ) : void
mval int
return void

Set_collision_margin() public method

public Set_collision_margin ( double mval ) : void
mval double
return void

Set_collision_on() public method

public Set_collision_on ( bool mval ) : void
mval bool
return void

Set_conveyor_speed() public method

public Set_conveyor_speed ( double mval ) : void
mval double
return void

Set_friction() public method

public Set_friction ( double mval ) : void
mval double
return void

Set_restitution() public method

public Set_restitution ( double mval ) : void
mval double
return void

Set_rolling_friction() public method

public Set_rolling_friction ( double mval ) : void
mval double
return void

Set_spinning_friction() public method

public Set_spinning_friction ( double mval ) : void
mval double
return void

StoreToSelection() public method

public StoreToSelection ( SelectionMgr swSelMgr, AttributeDef &mdefattr_chbody ) : void
swSelMgr SelectionMgr
mdefattr_chbody AttributeDef
return void

UpdateFromSelection() public method

public UpdateFromSelection ( SelectionMgr swSelMgr, AttributeDef &mdefattr_chbody ) : void
swSelMgr SelectionMgr
mdefattr_chbody AttributeDef
return void

Property Details

m_collide public property

public bool m_collide
return bool

m_collision_envelope public property

public double m_collision_envelope
return double

m_collision_family public property

public int m_collision_family
return int

m_collision_margin public property

public double m_collision_margin
return double

m_conveyor_speed public property

public double m_conveyor_speed
return double

m_friction public property

public double m_friction
return double

m_restitution public property

public double m_restitution
return double

m_rolling_friction public property

public double m_rolling_friction
return double

m_spinning_friction public property

public double m_spinning_friction
return double