maspack.geometry
Interface BVNodeTester

All Known Implementing Classes:
BVBoxNodeTester

public interface BVNodeTester

Defines a worker class that tests two bounding volume nodes for intersection.


Method Summary
 boolean isDisjoint(BVNode node1, BVNode node2, RigidTransform3d X21)
          Returns true if node1 and node2 are disjoint.
 

Method Detail

isDisjoint

boolean isDisjoint(BVNode node1,
                   BVNode node2,
                   RigidTransform3d X21)
Returns true if node1 and node2 are disjoint. The nodes may be described with respect to different coordinate frames.

Parameters:
node1 - first bounding volume node
node2 - second bounding volume node
X21 - transform from the coordinate frame of node2 to the coordinate frame of node1. If the coordinate frames are the same, this should be set to RigidTransform3d.IDENTITY.
Returns:
true if the nodes are disjoint.