Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1892A10984 for ; Wed, 12 Feb 2014 23:00:46 +0000 (UTC) Received: (qmail 61259 invoked by uid 500); 12 Feb 2014 23:00:33 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 61165 invoked by uid 500); 12 Feb 2014 23:00:32 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 60930 invoked by uid 99); 12 Feb 2014 23:00:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 23:00:25 +0000 Date: Wed, 12 Feb 2014 23:00:25 +0000 (UTC) From: "Thomas Neidhart (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (MATH-749) Convex Hull algorithm MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Neidhart reopened MATH-749: ---------------------------------- Discovered problems with collinear points when testing the graphical test program. GiftWrap and GrahamScan make problems when there are multiple points e.g. with the smallest x-coordinate. > Convex Hull algorithm > --------------------- > > Key: MATH-749 > URL: https://issues.apache.org/jira/browse/MATH-749 > Project: Commons Math > Issue Type: Sub-task > Reporter: Thomas Neidhart > Assignee: Thomas Neidhart > Priority: Minor > Labels: 2d, geometric > Fix For: 3.3 > > Attachments: MATH-749.tar.gz > > > It would be nice to have convex hull implementations for 2D/3D space. There are several known algorithms [http://en.wikipedia.org/wiki/Convex_hull_algorithms]: > * Graham scan: O(n log n) > * Incremental: O(n log n) > * Divide and Conquer: O(n log n) > * Kirkpatrick-Seidel: O(n log h) > * Chan: O(n log h) > The preference would be on an algorithm that is easily extensible for higher dimensions, so *Incremental* and *Divide and Conquer* would be prefered. -- This message was sent by Atlassian JIRA (v6.1.5#6160)