[
https://issues.apache.org/jira/browse/MATH-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luc Maisonobe resolved MATH-780.
--------------------------------
Resolution: Fixed
Fix Version/s: 3.1
Fixed in subversion repository as of r1337929.
The fix is an ugly one. I have only prevented the wrong cast since boolean
attributes occur only at leaf nodes in the tree (internal nodes have different
attributes, related to the boundary).
The roots of the problem are much deeper than that, and need more thoughts.
> 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
> Fix For: 3.1
>
> Attachments: BSPMesh2.java, 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