Cuboid

class Cuboid : public feasst::Shape

A cuboid is given by a center point and side lengths in each dimension. Not fully implemented. Implement as the intersection of 3 perpendicular slabs

Arguments

  • cubic_side_length: side length of cube.

  • side_length: set the unique key for the side_length positions. Thus, arguments of “key[i]” are expected to follow. The “[i]” is to be substituted for integer dimensions 0, 1, 2, … The “[i]” are also expected to be in order, starting from 0. Cannot be used in conjunction with cubic_side_length.

  • center: set the unique key for the center positions. Thus, arguments of “key[i]” are expected to follow. The “[i]” is to be substituted for integer dimensions 0, 1, 2, … The default value is 0 up to the same dimensions as (cubic_)side_length.