Squadless
asked on
Using API
ok so i found a method on that site which is
java.util.Vector intersection(java.util.Vec tor v1, java.util.Vector v2, boolean sorted)
Returns the intersection of two vector.
on this website
http://joggplayer.webarts.bc.ca/html/docs/api/kiwi/util/VectorUtils.html
how do i call the intersection function... i keep getting undefined...what do i have to do?
java.util.Vector intersection(java.util.Vec
Returns the intersection of two vector.
on this website
http://joggplayer.webarts.bc.ca/html/docs/api/kiwi/util/VectorUtils.html
how do i call the intersection function... i keep getting undefined...what do i have to do?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
VectorUtils util = new VectorUtils();
Vector intersection = util.intersection(v1, v2, false); // or true in case the vectors are sorted