C# Class SpaceClaim.AddIn.Gear.GearButtonCapsule

Inheritance: SpaceClaim.AddInLibrary.RibbonButtonCapsule
显示文件 Open project: bcourter/SpaceClaim-AddIns Class Usage Examples

Public Methods

Method Description
GearButtonCapsule ( string name, RibbonCollectionCapsule parent, ButtonSize buttonSize ) : System

Protected Methods

Method Description
GetGearProfileFromOptions ( GearData gearData, GearData conjugateGearData, bool useTrochoidalInterferenceRemoval, bool addDedendumClearance, double screwAngle ) : ToothProfile
OnExecute ( System.Windows.Forms.Command command, ExecutionContext context, System buttonRect ) : void

Private Methods

Method Description
SelectedCircle ( Window window ) : Circle

Method Details

GearButtonCapsule() public method

public GearButtonCapsule ( string name, RibbonCollectionCapsule parent, ButtonSize buttonSize ) : System
name string
parent SpaceClaim.AddInLibrary.RibbonCollectionCapsule
buttonSize ButtonSize
return System

GetGearProfileFromOptions() protected static method

protected static GetGearProfileFromOptions ( GearData gearData, GearData conjugateGearData, bool useTrochoidalInterferenceRemoval, bool addDedendumClearance, double screwAngle ) : ToothProfile
gearData GearData
conjugateGearData GearData
useTrochoidalInterferenceRemoval bool
addDedendumClearance bool
screwAngle double
return ToothProfile

OnExecute() protected method

protected OnExecute ( System.Windows.Forms.Command command, ExecutionContext context, System buttonRect ) : void
command System.Windows.Forms.Command
context ExecutionContext
buttonRect System
return void