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

#include <face.h>

List of all members.

Public Member Functions

 Face (Array< Edge * > E)
 E: Edges of the face.
 Face (Array< Vec3_t > &V)
 Face (Array< Vec3_t * > &V)
 Face ()
 ~Face ()
void UpdatedL ()
 UdatedL for each edge.
void Normal (Vec3_t &N)
 Calculates the normal vecto rof the face.
void Centroid (Vec3_t &C)
 Calculates the centroid of the polygonal face.
double Area ()
 Calculates the area of the face.
void Draw (std::ostream &os, double Radius=1.0, char const *Color="Blue", bool BPY=false)

Public Attributes

Array< Edge * > Edges
 Edges.
bool Allocate
 It allocates memory or not.

Constructor & Destructor Documentation

Face::Face ( Array< Edge * >  E) [inline]

E: Edges of the face.

Face::Face ( Array< Vec3_t > &  V) [inline]
Face::Face ( Array< Vec3_t * > &  V) [inline]
Face::Face ( ) [inline]
Face::~Face ( ) [inline]

Member Function Documentation

double Face::Area ( ) [inline]

Calculates the area of the face.

void Face::Centroid ( Vec3_t C) [inline]

Calculates the centroid of the polygonal face.

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

Calculates the normal vecto rof the face.

void Face::UpdatedL ( ) [inline]

UdatedL for each edge.


Member Data Documentation

It allocates memory or not.

Edges.


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