Cylinder
A cylinder is given by an axis of rotational symmetry and a radius. The axis is described by two points.
Public Functions
args: radius : Set the radius of the cylinder.
args
point0: one point on the cylinder’s axis of symmetry
point0
point1: a second point on the cylinder’s axis of symmetry
point1
nearest_distance
Return the distance from the point to the nearest point on the surface. The distance is negative if the point is inside of the shape and positive if it is outside.