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 E71179E64 for ; Tue, 25 Sep 2012 20:20:08 +0000 (UTC) Received: (qmail 60959 invoked by uid 500); 25 Sep 2012 20:20:08 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 60865 invoked by uid 500); 25 Sep 2012 20:20:08 -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 60769 invoked by uid 99); 25 Sep 2012 20:20:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 20:20:07 +0000 Date: Wed, 26 Sep 2012 07:20:07 +1100 (NCT) From: "Curtis Jensen (JIRA)" To: issues@commons.apache.org Message-ID: <922528686.124851.1348604407962.JavaMail.jiratomcat@arcas> In-Reply-To: <1410165440.2525.1312312949292.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MATH-641) Implement distance methods on 2D and 3D Lines as well as Line Segments. 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-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Curtis Jensen updated MATH-641: ------------------------------- Attachment: distance.patch Here is a patch with distance functions added to the Line and Segment classes in the twod package (with unit tests). > Implement distance methods on 2D and 3D Lines as well as Line Segments. > ----------------------------------------------------------------------- > > Key: MATH-641 > URL: https://issues.apache.org/jira/browse/MATH-641 > Project: Commons Math > Issue Type: New Feature > Reporter: Curtis Jensen > Priority: Minor > Fix For: 3.1 > > Attachments: distance.patch > > Original Estimate: 4h > Remaining Estimate: 4h > > Implement a method that calculates the distance from a point to 3D and 2D lines and line segements (similar to what already exists in the 3D Line class). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira