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 between the two models

Point on the first model that is closest to the second model

Point on the second model that is closest to the first model