proteus  1.8.1
C/C++/Fortran libraries
Public Member Functions | Public Attributes | List of all members
PlanarStraightLineGraphDomain Class Reference

#include </Users/cekees/proteus/proteus/Domain.h>

Inheritance diagram for PlanarStraightLineGraphDomain:
[legend]
Collaboration diagram for PlanarStraightLineGraphDomain:
[legend]

Public Member Functions

 PlanarStraightLineGraphDomain (int dimIn=2, string nameIn=string("Domain"), string unitsIn=string("m"))
 
 PlanarStraightLineGraphDomain (const vector< vector< double > > &verticesIn, const vector< vector< int > > &segmentsIn, const vector< vector< double > > &holesIn, const vector< double > &regionsIn, const vector< int > &vertexFlagsIn, const vector< int > &segmentFlagsIn, string nameIn=string("Domain"), string unitsIn=string("m"))
 
virtual ~PlanarStraightLineGraphDomain ()
 
void getSegmentPartition (vector< int > &s)
 
void getBoundingBox (vector< double > &v)
 
void readPoly (const char *filename)
 
void writePoly (const char *filename)
 
void writeAsymptote (const char *filename)
 
- Public Member Functions inherited from D_base
 D_base (int dimIn=3, string nameIn=string("Domain"), string unitsIn=string("m"))
 

Public Attributes

vector< vector< double > > vertices
 
vector< vector< int > > segments
 
vector< vector< double > > holes
 
vector< double > regions
 
vector< int > nVertices
 
vector< int > nVertexAttributes
 
vector< int > vertexAttributes
 
vector< int > vertexFlags
 
vector< int > segmentFlags
 
vector< int > regionFlags
 
vector< double > v
 
vector< int > vN
 
vector< int > sN
 
vector< int > s
 
vector< int > sFlags
 
vector< int > hN
 
vector< double > h
 
vector< int > rN
 
vector< double > r
 
vector< string > line
 
int xMax
 
int xMin
 
int yMax
 
int yMin
 
int sMax
 
int sMin
 
int hasVertexFlags
 
int hasSegmentFlags
 
- Public Attributes inherited from D_base
int dim
 
string name
 
string units
 
vector< double > x
 
vector< double > L
 

Detailed Description

Definition at line 36 of file Domain.h.

Constructor & Destructor Documentation

◆ PlanarStraightLineGraphDomain() [1/2]

PlanarStraightLineGraphDomain::PlanarStraightLineGraphDomain ( int  dimIn = 2,
string  nameIn = string("Domain"),
string  unitsIn = string("m") 
)

Definition at line 209 of file Domain.cpp.

◆ PlanarStraightLineGraphDomain() [2/2]

PlanarStraightLineGraphDomain::PlanarStraightLineGraphDomain ( const vector< vector< double > > &  verticesIn,
const vector< vector< int > > &  segmentsIn,
const vector< vector< double > > &  holesIn,
const vector< double > &  regionsIn,
const vector< int > &  vertexFlagsIn,
const vector< int > &  segmentFlagsIn,
string  nameIn = string("Domain"),
string  unitsIn = string("m") 
)

Definition at line 214 of file Domain.cpp.

◆ ~PlanarStraightLineGraphDomain()

PlanarStraightLineGraphDomain::~PlanarStraightLineGraphDomain ( )
virtual

Definition at line 225 of file Domain.cpp.

Member Function Documentation

◆ getBoundingBox()

void PlanarStraightLineGraphDomain::getBoundingBox ( vector< double > &  v)

Definition at line 358 of file Domain.cpp.

◆ getSegmentPartition()

void PlanarStraightLineGraphDomain::getSegmentPartition ( vector< int > &  s)

Definition at line 341 of file Domain.cpp.

◆ readPoly()

void PlanarStraightLineGraphDomain::readPoly ( const char *  filename)

Definition at line 384 of file Domain.cpp.

◆ writeAsymptote()

void PlanarStraightLineGraphDomain::writeAsymptote ( const char *  filename)
virtual

Implements D_base.

Definition at line 299 of file Domain.cpp.

◆ writePoly()

void PlanarStraightLineGraphDomain::writePoly ( const char *  filename)
virtual

Implements D_base.

Definition at line 227 of file Domain.cpp.

Member Data Documentation

◆ h

vector<double> PlanarStraightLineGraphDomain::h

Definition at line 64 of file Domain.h.

◆ hasSegmentFlags

int PlanarStraightLineGraphDomain::hasSegmentFlags

Definition at line 72 of file Domain.h.

◆ hasVertexFlags

int PlanarStraightLineGraphDomain::hasVertexFlags

Definition at line 71 of file Domain.h.

◆ hN

vector<int> PlanarStraightLineGraphDomain::hN

Definition at line 63 of file Domain.h.

◆ holes

vector< vector<double> > PlanarStraightLineGraphDomain::holes

Definition at line 50 of file Domain.h.

◆ line

vector<string> PlanarStraightLineGraphDomain::line

Definition at line 67 of file Domain.h.

◆ nVertexAttributes

vector<int> PlanarStraightLineGraphDomain::nVertexAttributes

Definition at line 53 of file Domain.h.

◆ nVertices

vector<int> PlanarStraightLineGraphDomain::nVertices

Definition at line 52 of file Domain.h.

◆ r

vector<double> PlanarStraightLineGraphDomain::r

Definition at line 66 of file Domain.h.

◆ regionFlags

vector<int> PlanarStraightLineGraphDomain::regionFlags

Definition at line 57 of file Domain.h.

◆ regions

vector<double> PlanarStraightLineGraphDomain::regions

Definition at line 51 of file Domain.h.

◆ rN

vector<int> PlanarStraightLineGraphDomain::rN

Definition at line 65 of file Domain.h.

◆ s

vector<int> PlanarStraightLineGraphDomain::s

Definition at line 61 of file Domain.h.

◆ segmentFlags

vector<int> PlanarStraightLineGraphDomain::segmentFlags

Definition at line 56 of file Domain.h.

◆ segments

vector< vector<int> > PlanarStraightLineGraphDomain::segments

Definition at line 49 of file Domain.h.

◆ sFlags

vector<int> PlanarStraightLineGraphDomain::sFlags

Definition at line 62 of file Domain.h.

◆ sMax

int PlanarStraightLineGraphDomain::sMax

Definition at line 70 of file Domain.h.

◆ sMin

int PlanarStraightLineGraphDomain::sMin

Definition at line 70 of file Domain.h.

◆ sN

vector<int> PlanarStraightLineGraphDomain::sN

Definition at line 60 of file Domain.h.

◆ v

vector<double> PlanarStraightLineGraphDomain::v

Definition at line 58 of file Domain.h.

◆ vertexAttributes

vector<int> PlanarStraightLineGraphDomain::vertexAttributes

Definition at line 54 of file Domain.h.

◆ vertexFlags

vector<int> PlanarStraightLineGraphDomain::vertexFlags

Definition at line 55 of file Domain.h.

◆ vertices

vector<vector<double> > PlanarStraightLineGraphDomain::vertices

Definition at line 48 of file Domain.h.

◆ vN

vector<int> PlanarStraightLineGraphDomain::vN

Definition at line 59 of file Domain.h.

◆ xMax

int PlanarStraightLineGraphDomain::xMax

Definition at line 68 of file Domain.h.

◆ xMin

int PlanarStraightLineGraphDomain::xMin

Definition at line 68 of file Domain.h.

◆ yMax

int PlanarStraightLineGraphDomain::yMax

Definition at line 69 of file Domain.h.

◆ yMin

int PlanarStraightLineGraphDomain::yMin

Definition at line 69 of file Domain.h.


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