![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <cylinder.h>
Public Member Functions | |
Cylinder (Torus *T0, Torus *T1, Vec3_t const *Y0, Vec3_t const *Y1) | |
Initial T0 and final T1 tori. | |
Cylinder (Torus &T0, Torus &T1, Vec3_t const &Y0, Vec3_t const &Y1) | |
Initial T0 and final T1 tori. | |
void | UpdatedL () |
UdatedL for the tori and cylinder. | |
void | Draw (std::ostream &os, double Radius=1.0, char const *Color="Blue", bool BPY=false) |
Public Attributes | |
Torus * | T0 |
First torus. | |
Torus * | T1 |
Second torus. | |
Vec3_t const * | Y0 |
Lower point of the first torus. | |
Vec3_t const * | Y1 |
Lower point of the first torus. | |
Vec3_t | X0 |
Center of the first torus. | |
Vec3_t | X1 |
Center of the second torus. |
Cylinder::Cylinder | ( | Torus * | T0, |
Torus * | T1, | ||
Vec3_t const * | Y0, | ||
Vec3_t const * | Y1 | ||
) | [inline] |
Initial T0 and final T1 tori.
Cylinder::Cylinder | ( | Torus & | T0, |
Torus & | T1, | ||
Vec3_t const & | Y0, | ||
Vec3_t const & | Y1 | ||
) | [inline] |
Initial T0 and final T1 tori.
void Cylinder::Draw | ( | std::ostream & | os, |
double | Radius = 1.0 , |
||
char const * | Color = "Blue" , |
||
bool | BPY = false |
||
) | [inline] |
void Cylinder::UpdatedL | ( | ) | [inline] |
UdatedL for the tori and cylinder.
First torus.
Second torus.
Center of the first torus.
Center of the second torus.
Vec3_t const* Cylinder::Y0 |
Lower point of the first torus.
Vec3_t const* Cylinder::Y1 |
Lower point of the first torus.