private void button1_Click(object sender, EventArgs e)
{
concavity = (double)this.numeric_concavity.Value;
smallclusterthreshold = (double)this.numeric_smallclusterthreshold.Value;
compacity = (double)this.numeric_compacity.Value;
volumeweight = (double)this.numeric_volumeweight.Value;
connectdistance = (double)this.numeric_connectdistance.Value;
maxvertexespermesh = (int) this.numeric_maxvertexpermesh.Value;
minclusters = (int)this.numeric_minclusters.Value;
maxvertexespercluster = (int)this.numeric_maxnvertexespercluster.Value;
addextradistancepoints = this.checkBox_addextradistpoints.Checked;
addextrafacepoints = this.checkBox_addextrafacepoints.Checked;
}