14 IMP.algebra.get_unit_bounding_box_3d()), .1))
19print(enclosing.get_contains(s[0]))
Represent a cylinder in 3D.
Simple implementation of segments in 3D.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
BoundingBoxD< D > get_bounding_box(const GridD< D, Storage, Value, Embedding > &g)
VectorD< D > get_random_vector_in(const BoundingBoxD< D > &bb)
Generate a random vector in a box with uniform density.
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
void setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.