java3d
  1. java3d
  2. JAVA3D-570

TODO: must make polytope.intersect(coordinates[0], coordinates[1], tP4d) public!

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: 1.6.0
    • Component/s: j3d-core
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      570

      Description

      Just a trivial bug (would be nice if could be fixed in 1.5.2). When doing
      picking with a BoundingPolytope a RuntimeException in thrown.

      — src/classes/share/javax/media/j3d/BoundingPolytope.java 12 Apr 2007
      17:34:04 -0000 1.8
      +++ src/classes/share/javax/media/j3d/BoundingPolytope.java 22 Feb 2008
      15:11:10 -0000
      @@ -1002,7 +1002,7 @@

      • @param position is a point defining the location of the pick w=
        distance to pick
      • @return true or false indicating if an intersection occured
        */
      • boolean intersect( Point3d start, Point3d end, Point4d position ) {
        + public boolean intersect( Point3d start, Point3d end, Point4d position ) {
        double t,v0,vd,x,y,z;
        int i,j;

      — src/classes/share/com/sun/j3d/utils/picking/PickResult.java 9 Feb 2007
      17:20:26 -0000 1.6
      +++ src/classes/share/com/sun/j3d/utils/picking/PickResult.java 22 Feb 2008
      15:12:11 -0000
      @@ -1784,9 +1784,7 @@

      if (coordinates.length == 2)

      { // we'll handle line separately. - throw new java.lang.RuntimeException ("TODO: must make polytope.intersect(coordinates[0], coordinates[1], tP4d) public!"); - // TODO: must make this public !!! - // return polytope.intersect(coordinates[0], coordinates[1], tP4d ); + return polytope.intersect(coordinates[0], coordinates[1], tP4d ); }

      // It is a triangle or a quad.

        Activity

        Hide
        kcr added a comment -

        We're already frozen for 1.5.2, but even if it weren't, any change to the public
        API in javax.media.j3d (or vecmath) requires a JSR (Java Specification Request),
        and can't be done in a dot-dot release.

        Show
        kcr added a comment - We're already frozen for 1.5.2, but even if it weren't, any change to the public API in javax.media.j3d (or vecmath) requires a JSR (Java Specification Request), and can't be done in a dot-dot release.

          People

          • Assignee:
            java3d-issues
            Reporter:
            jeromerobert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: