public Sphere(Triple point, double _radius) { optical_properties = new OpticalProperties(); anchor = point; radius = _radius; compute_bounds(); }
public RectangularPrism(Triple _anchor, double _side_length_x, double _side_length_y, double _side_length_z) { anchor = _anchor; side_length_x = _side_length_x; side_length_y = _side_length_y; side_length_z = _side_length_z; compute_global_box_bounds(); optical_properties = new OpticalProperties(); rotation_reference = new Triple(0, 0, 1); }
public FacetBody(Triple point) { optical_properties = new OpticalProperties(); anchor = point; }