public void addControls() { C.sOpenTab("Valley"); { C.sStaticText( // "Generate possible hull in O(n log k) time, using 'valley' algorithm"); C.sCheckBox( DB_INITIALHULL, "db initial hull", "trace construction of initial convex hull of the two polygons", false); C.sCheckBox(DB_CONTOUR, "db pt/poly", "trace point / polygon hull construction", false); C.sCheckBox( DB_INSERTVALLEY, "db insert valley", "trace insertion of monotonic valley edges", false); C.sCheckBox(DB_HULLEXPAND, "db expand", "trace hull expansion procedure", false); C.sCheckBox( SKIPCONTOUR, "skip contour", "use original polygons and not their contours\n" + "(required to ensure monotonicity of tangent searches)", false); C.sCheckBox(OLDALG, "simple", "plot possible hull using old algorithm", false); C.sCheckBox(OLDMETHOD, "old", "use old code", false); C.sIntSpinner( KERNELVERT, "kernel vertex", "specifies which vertex of the other polygon to use as point in pt/poly step", 0, 50, 0, 1); } C.sCloseTab(); }