ParMooN
 All Classes Functions Variables Friends Pages
Public Member Functions | Protected Attributes | List of all members
TBdPolygon Class Reference

#include <BdPolygon.h>

Inheritance diagram for TBdPolygon:
Inheritance graph
[legend]
Collaboration diagram for TBdPolygon:
Collaboration graph
[legend]

Public Member Functions

 TBdPolygon (int id, int n_points)
 
void SetParams (int n_points, double *coords)
 
int GetN_Points ()
 
virtual int GetXYofT (double T, double &X, double &Y)
 
virtual int GetTofXY (double X, double Y, double &T)
 
virtual int ReadIn (std::ifstream &dat)
 
virtual int GetN_InitVerts ()
 
virtual int GenInitVerts (double *&points, int I_points, int *&edges, int I_edges)
 
- Public Member Functions inherited from TBoundComp2D
 TBoundComp2D (int id)
 
- Public Member Functions inherited from TBoundComp
 TBoundComp (int id, int ref=-1)
 
int GetID () const
 
BoundTypes GetType () const
 
bool IsFreeBoundary () const
 
void SetFreeBoundaryStatus (bool status)
 
void ChangeType (BoundTypes New_Type)
 
void SetRefID (int _ref)
 
int GetRefID () const
 

Protected Attributes

int N_Points
 
double * Coords
 
- Protected Attributes inherited from TBoundComp
int ID
 
BoundTypes Type
 
bool FreeBoundaryStatus
 
int refID
 

Detailed Description

free boundary

Constructor & Destructor Documentation

TBdPolygon::TBdPolygon ( int  id,
int  n_points 
)

constructor initializes the parameter array

Member Function Documentation

virtual int TBdPolygon::GetN_InitVerts ( )
inlinevirtual

get number of initial vertices on this component

Implements TBoundComp2D.

int TBdPolygon::GetN_Points ( )

get number of vertices

int TBdPolygon::GetTofXY ( double  X,
double  Y,
double &  T 
)
virtual

return the parameter value T of coordinates (X, Y)

Implements TBoundComp2D.

int TBdPolygon::GetXYofT ( double  T,
double &  X,
double &  Y 
)
virtual

return the coordinates of parameter value T

Implements TBoundComp2D.

int TBdPolygon::ReadIn ( std::ifstream &  dat)
virtual

read parameter from input file

Implements TBoundComp.

void TBdPolygon::SetParams ( int  n_points,
double *  coords 
)

set all parameters

Member Data Documentation

double* TBdPolygon::Coords
protected

array of coordinates of points

int TBdPolygon::N_Points
protected

number of points


The documentation for this class was generated from the following files: