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 DB95199D1 for ; Sun, 22 Apr 2012 15:39:58 +0000 (UTC) Received: (qmail 14687 invoked by uid 500); 22 Apr 2012 15:39:58 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 14539 invoked by uid 500); 22 Apr 2012 15:39:57 -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 13592 invoked by uid 99); 22 Apr 2012 15:39:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2012 15:39:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2012 15:39:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 625AD408ADE for ; Sun, 22 Apr 2012 15:39:35 +0000 (UTC) Date: Sun, 22 Apr 2012 15:39:35 +0000 (UTC) From: "Andrew Willis (JIRA)" To: issues@commons.apache.org Message-ID: <1416737064.2777.1335109175425.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <705601270.10034.1334934760655.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MATH-780) BSPTree class and recovery of a Euclidean 3D BRep MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Willis updated MATH-780: ------------------------------- Attachment: BSPMesh2.java > BSPTree class and recovery of a Euclidean 3D BRep > ------------------------------------------------- > > Key: MATH-780 > URL: https://issues.apache.org/jira/browse/MATH-780 > Project: Commons Math > Issue Type: Bug > Affects Versions: 3.0 > Environment: Linux > Reporter: Andrew Willis > Labels: BSPTree, euclidean.threed > Attachments: BSPMesh2.java, BSPMesh2.java, BSPMesh2.java, BSPMesh2.java > > > New to the work here. Thanks for your efforts on this code. > I create a BSPTree from a BoundaryRep (Brep) my test Brep is a cube as represented by a float array containing 8 3D points in(x,y,z) order and an array of indices (12 triplets for the 12 faces of the cube). I construct a BSPMesh() as shown in the code below. I can construct the PolyhedronsSet() but have problems extracting the faces from the BSPTree to reconstruct the BRep. The attached code (BSPMesh2.java) shows that a small change to 1 of the vertex positions causes/corrects the problem. > Any ideas? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira