Polygon function ( List < Point > arg0 ) { Polygon loc0 = new Polygon ( ) ; for ( Point loc1 : getConvexHull ( arg0 . toArray ( new Point [ arg0 . size ( ) ] ) ) ) { loc0 . addPoint ( loc1 . x , loc1 . y ) ; } return loc0 ; }
computes the convex hull from a set of points . concode_field_sep PlaceHolder placeHolder concode_field_sep List<Point> getConvexHull concode_elem_sep Point[] getConvexHull concode_elem_sep List<Point2D.Double> getConvexHull2D concode_elem_sep Point2D.Double[] getConvexHull2D concode_elem_sep boolean isRightTurn concode_elem_sep Path2D.Double getConvexHullPath2D concode_elem_sep Path2D.Double getConvexHullPath2D concode_elem_sep boolean isRightTurn2D