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

#include <edge.h>

List of all members.

Public Member Functions

 Edge (Vec3_t const *X0, Vec3_t const *X1)
 Xi: endpoints of edge.
 Edge (Vec3_t const &X0, Vec3_t const &X1)
 Xi: endpoints of edge.
void UpdatedL ()
void Draw (std::ostream &os, double Radius=1.0, char const *Color="Blue", bool BPY=false)

Public Attributes

Vec3_t const * X0
 Left endpoint.
Vec3_t const * X1
 Right endpoint.
Vec3_t dL
 Delta(X) = X1 - X0. difference Vector.

Constructor & Destructor Documentation

Edge::Edge ( Vec3_t const *  X0,
Vec3_t const *  X1 
) [inline]

Xi: endpoints of edge.

Edge::Edge ( Vec3_t const &  X0,
Vec3_t const &  X1 
) [inline]

Xi: endpoints of edge.


Member Function Documentation

void Edge::Draw ( std::ostream &  os,
double  Radius = 1.0,
char const *  Color = "Blue",
bool  BPY = false 
) [inline]
void Edge::UpdatedL ( ) [inline]

Member Data Documentation

Delta(X) = X1 - X0. difference Vector.

Vec3_t const* Edge::X0

Left endpoint.

Vec3_t const* Edge::X1

Right endpoint.


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