#include <mrtr_overlap.H>
Collaboration diagram for MOERTEL::Overlap:
Public Member Functions | |
Overlap (MOERTEL::Segment &sseg, MOERTEL::Segment &mseg, MOERTEL::Interface &inter, bool exactvalues, int outlevel) | |
Constructor. | |
virtual | ~Overlap () |
Destructor. | |
bool | ComputeOverlap () |
Compute overlap (if any) between 2 segments and construct discretization of overlap region. | |
int | OutLevel () |
Return the level of output written to stdout ( 0 - 10 ). | |
Protected Member Functions | |
bool | AddSegment (int id, MOERTEL::Segment *seg) |
int | Nseg () |
void | SegmentView (vector< RefCountPtr< MOERTEL::Segment > > &segs) |
bool | AddPointtoPolygon (const int id, const double *P) |
bool | AddPointtoPolygon (map< int, RefCountPtr< MOERTEL::Point > > &p, const int id, const double *P) |
bool | RemovePointfromPolygon (const int id, const double *P) |
int | SizePointPolygon () |
void | PointView (vector< RefCountPtr< MOERTEL::Point > > &points) |
void | PointView (map< int, RefCountPtr< MOERTEL::Point > > &p, vector< RefCountPtr< MOERTEL::Point > > &points) |
void | PointView (vector< MOERTEL::Point * > &p, const int *nodeids, const int np) |
bool | CopyPointPolygon (map< int, RefCountPtr< MOERTEL::Point > > &from, map< int, RefCountPtr< MOERTEL::Point > > &to) |
bool | Centroid (double xi[], const vector< RefCountPtr< MOERTEL::Point > > &points, const int np) |
Friends | |
class | Interface |
the Interface class is a friend to this class | |
class | Integrator |
the Integrator class is a friend to this class |
MOERTEL::Overlap::Overlap | ( | MOERTEL::Segment & | sseg, | |
MOERTEL::Segment & | mseg, | |||
MOERTEL::Interface & | inter, | |||
bool | exactvalues, | |||
int | outlevel | |||
) | [explicit] |
Constructor.
Constructs an instance of this class.
Note that this is not a collective call as overlaps are computed in parallel by individual processes.
bool MOERTEL::Overlap::ComputeOverlap | ( | ) |
Compute overlap (if any) between 2 segments and construct discretization of overlap region.