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 6D48410CF2 for ; Wed, 6 Nov 2013 22:50:18 +0000 (UTC) Received: (qmail 61641 invoked by uid 500); 6 Nov 2013 22:50:18 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 61516 invoked by uid 500); 6 Nov 2013 22:50:18 -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 61504 invoked by uid 99); 6 Nov 2013 22:50:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 22:50:17 +0000 Date: Wed, 6 Nov 2013 22:50:17 +0000 (UTC) From: "Ian Perera (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MATH-1060) MathInternalError when calculating barycenter of PolyhedronsSet 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-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815410#comment-13815410 ] Ian Perera commented on MATH-1060: ---------------------------------- I realized that this issue came up when trying to create a Convex polyhedron with very thin triangles. Since this is an edge case that should probably be avoided, I changed this to Minor. > MathInternalError when calculating barycenter of PolyhedronsSet > --------------------------------------------------------------- > > Key: MATH-1060 > URL: https://issues.apache.org/jira/browse/MATH-1060 > Project: Commons Math > Issue Type: Bug > Affects Versions: 3.2 > Environment: Ubuntu, Java 1.7.0 > Reporter: Ian Perera > Priority: Minor > > I'm not sure if I could replicate this well enough to be useful - I am trying to construct a PolyhedronsSet from a collection of Planes using RegionFactory.buildConvex(). The input planes are created from running QHull - I don't have the actual normals but I can add them to this report if I run into this again. > Exception in thread "KQML-Dispatcher-1" org.apache.commons.math3.exception.MathInternalError: illegal state: internal error, please fill a bug report at https://issues.apache.org/jira/browse/MATH > at org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet.followLoop(PolygonsSet.java:736) > at org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet.getVertices(PolygonsSet.java:613) > at org.apache.commons.math3.geometry.euclidean.twod.PolygonsSet.computeGeometricalProperties(PolygonsSet.java:523) > at org.apache.commons.math3.geometry.partitioning.AbstractRegion.getSize(AbstractRegion.java:413) > at org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet$FacetsContributionVisitor.addContribution(PolyhedronsSet.java:188) > at org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet$FacetsContributionVisitor.visitInternalNode(PolyhedronsSet.java:170) > at org.apache.commons.math3.geometry.partitioning.BSPTree.visit(BSPTree.java:263) > at org.apache.commons.math3.geometry.partitioning.BSPTree.visit(BSPTree.java:262) > at org.apache.commons.math3.geometry.partitioning.BSPTree.visit(BSPTree.java:262) > at org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet.computeGeometricalProperties(PolyhedronsSet.java:135) > at org.apache.commons.math3.geometry.partitioning.AbstractRegion.getBarycenter(AbstractRegion.java:428) -- This message was sent by Atlassian JIRA (v6.1#6144)