Logo Search packages:      
Sourcecode: madlib version File versions  Download package

Region operations


Detailed Description


Functions

void MAd::R_box (const pRegion pr, double box[3][2])
void MAd::R_center (const pRegion region, double center[3])
 Returns the center of a linear region.
double MAd::R_circumRad (const pRegion region)
 Returns the circumradius of the region.
bool MAd::R_contains (const pRegion pr, const double xyz[3], double tol)
void MAd::R_coord (const pRegion region, double xyz[][3])
 Get coordinates of vertices and high-order points of the region.
void MAd::R_coordP1 (const pRegion region, double xyz[][3])
 Get coordinates of vertices of the region not including high-order points.
pPList MAd::R_edges (pRegion pr)
 Return a list of ordered edges.
pFace MAd::R_face (pRegion pr, int n)
 Returns n-th face for region "r".
int MAd::R_faceDir (pRegion pr, int n)
 Returns 1 if the face normal points outwards of region pr, 0 otherwise.
int MAd::R_faceOri (pRegion pr, int n)
 Determine face orientation with respect to the template of the region "r".
pPList MAd::R_faces (pRegion pr)
 Returns a list of ordered faces.
pVertex MAd::R_fcOpVt (const pRegion region, const pFace face)
 Returns the vertex of the region opposite to the face.
pEdge MAd::R_gtOppEdg (const pRegion region, const pEdge edge)
 Returns the edge of the region opposite to given edge.
bool MAd::R_inBox (const pRegion pr, const double xyz[3], double tol)
int MAd::R_inClosure (pRegion pr, pEntity ent)
 Verify whether or not entity ent is a principal vertex, edge or face of region "r".
void MAd::R_info (const pRegion region, std::string name, std::ostream &out)
 Dumps all informations about the region.
void MAd::R_info_quality (const pRegion region, std::ostream &out)
 Dumps quality informations about the region.
void MAd::R_info_topology (const pRegion region, std::ostream &out)
 Dumps topology informations about the region.
double MAd::R_inscrRad (const pRegion region)
 Returns the inscribed radius of the region.
bool MAd::R_meanRatioCube (const pRegion region, double *mrc)
 Computes the cubic mean ratio of a region. Returns 0 if negative volume.
int MAd::R_numEdges (pRegion pr)
 Returns number of edges for region "r".
int MAd::R_numFaces (pRegion pr)
 Returns number of faces for region "r".
int MAd::R_numPoints (pRegion pr)
 Returns the number of higher order points of the region, excluding those in its closure.
int MAd::R_numVertices (pRegion pr)
 Returns number of principal vertices in region "r".
int MAd::R_oriUsingFace (pRegion pr, pFace face)
 Returns the orientation of the face pf in region pr.
pPoint MAd::R_point (pRegion pr, int n)
 Returns n-th higher order point inside of the region, excluding those in its closure.
void MAd::R_setWhatIn (pRegion region, pGEntity what)
 Classify region "r" on geometric entity "ge".
pVertex MAd::R_vertex (pRegion pr, int n)
 Returns nth vertex in region "r".
pPList MAd::R_vertices (pRegion pr)
 Returns a list of ordered principal vertices.
double MAd::R_volume (pRegion region)
 Returns the physical volume of the region.
pFace MAd::R_vtOpFc (const pRegion region, const pVertex vertex)
 Returns the face of the region opposite to the vertex.
pGRegion MAd::R_whatIn (pRegion pe)
 Returns the geometrical entity on which the region "r" is classified.
int MAd::R_whatInType (pRegion e)
 Returns the type of the geometrical entity on which region "r" is classified.
bool MAd::R_XYZ_isFlat (const double xyz[][3])
bool MAd::R_XYZ_meanRatioCube (const double xyz[][3], double *mrc)
 Computes the cubic mean ratio of a region with coordinates xyz. Returns false if negative volume.
double MAd::R_XYZ_volume (const double xyz[][3])
 Returns the physical volume of the region with coordinates xyz.


Generated by  Doxygen 1.6.0   Back to index