Struct simple_fcl::DistancePoints
[−]
[src]
pub struct DistancePoints { pub distance: f64, pub point_a: Vec3f, pub point_b: Vec3f, }
Structure that holds the distance between objects, together with the points between which this distance is achieved.
The points don't have to be unique, so this is just one single instance of them. If the models had surfaces that were parallel to each other, the number of point pairs would be infinite.
Fields
distance: f64
Distance between the two models
point_a: Vec3f
Point on the first model that is closest to the second model
point_b: Vec3f
Point on the second model that is closest to the first model