equals(Object ) on Tuple3d not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vecmath1.2 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The vecmath Tuple3d class doesn't define equals correctly.
the method missing (from the GPL2'd java3d vecmath) is
public boolean equals(Object t1)
{
try {
Tuple3d t2 = (Tuple3d) t1;
}
catch (ClassCastException e1) {return false;}
catch (NullPointerExc
}
boolean equals (Tuple3d) isn't enough!
public class NewClass
{
public static void main (String[] args)
{
Vector3d v = new Vector3d(1,2,3);
Point3d p = new Point3d(1,2,3);
}
}
Should consider replacing this package with the official vecmath package now it's been GPL'd?
https:/
The official vecmath package is now available in karmic. And unofficial vecmath1.2 is likely to be removed from repositories.