Files Classes Functions Hierarchy
#include <cylinder.h>
Public Member Functions | |
| cylinder (point3< double > const &nml_, point3< double > const &pos_, doublec radius_, doublec height_) | |
| Specify the disk in 3D space. | |
| operator stringc () const | |
| Serialize this object by writing it out as a string. | |
Public Attributes | |
| point3< double > | nml |
| Normal or the disks orientation. | |
| point3< double > | pos |
| Position. | |
| double | radius |
| The circles radius. | |
| double | height |
| The cylinders height. | |
Definition at line 7 of file cylinder.h.
| cylinder::operator stringc | ( | ) | const |
Serialize this object by writing it out as a string.
Definition at line 19 of file cylinder.cpp.
References height, nml, pos, radius, point3< T >::x, point3< T >::y, and point3< T >::z.
00020 { 00021 stringstream ss; 00022 ss << nml.x << " " << nml.y << " " << nml.z << " "; 00023 ss << pos.x << " " << pos.y << " " << pos.z << " "; 00024 ss << radius << " " << height; 00025 00026 return ss.str(); 00027 }
| double cylinder::height |
The cylinders height.
Definition at line 21 of file cylinder.h.
Referenced by operator stringc(), diskinttest::test03(), diskinttest::update03(), and diskinttest::update03lineline().
| point3<double> cylinder::nml |
Normal or the disks orientation.
Definition at line 12 of file cylinder.h.
Referenced by diskinttest::keyboard03(), operator stringc(), diskinttest::test03(), diskinttest::update03(), and diskinttest::update03lineline().
| point3<double> cylinder::pos |
Position.
Definition at line 15 of file cylinder.h.
Referenced by diskinttest::keyboard03(), operator stringc(), diskinttest::test03(), diskinttest::update03(), and diskinttest::update03lineline().
| double cylinder::radius |
The circles radius.
Definition at line 18 of file cylinder.h.
Referenced by diskinttest::keyboard03(), operator stringc(), diskinttest::test03(), diskinttest::update03(), and diskinttest::update03lineline().
1.5.8