MechSys  1.0
Computing library for simulations in continuum and discrete mechanics
Public Member Functions | Public Attributes
Cylinder Class Reference

#include <cylinder.h>

List of all members.

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

TorusT0
 First torus.
TorusT1
 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.

Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

First torus.

Second torus.

Center of the first torus.

Center of the second torus.

Lower point of the first torus.

Lower point of the first torus.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines