FiniteCylinder

class FiniteCylinder : public feasst::ShapeIntersect

While Cylinder extends infinitely, FiniteCylinder has circular end-caps, whose centers (along the axis of rotational symmetry) are given by two points.

Public Functions

FiniteCylinder(const argtype &args, const Position &point0, const Position &point1)

Parameters
  • args: radius : Set the radius of the cylinder.

  • point0: the first end-point along the cylinder’s axis of symmetry.

  • point1: the second end-point along the cylinder’s axis of symmetry.