Next: , Previous: Truncated Octahedron Data Members, Up: Truncated Octahedron


37.3.1.2 Constructors and Setting Functions
— Default constructor: void Trunc_Octahedron (void)

Creates an empty Trunc_Octahedron.

— Constructor: void Trunc_Octahedron (const Point& p, const real diameter_of_hexagon, [real angle_x = 0, [real angle_y = 0, [real angle_z = 0]]])

This function does not yet exist! When it does, it will create a Trunc_Octahedron with its center at the origin, where the hexagonal and square faces have enclosing circles of diameter diameter_of_hexagon. If any of angle_x, angle_y, or angle_z is non-zero, the Trunc_Octahedron will be rotated by the amounts specified around the corresponding axes. Finally, if p is not the origin, the Trunc_Octahedron will be shifted such that center comes to lie at p.