Geophysical Inversion and Modelling Library  v1.5.1
GIMLI::RegionMarker Class Reference
Inheritance diagram for GIMLI::RegionMarker:
Collaboration diagram for GIMLI::RegionMarker:

## Public Member Functions

RegionMarker (const RVector3 &pos, int marker, double area=0.0, bool hole=false)

void setMarker (SIndex marker)

int marker () const

void setArea (double area)

double area () const

void setPos (const Pos &pos)

bool isHole () const

void setHole (bool h)

Public Member Functions inherited from GIMLI::Pos
Pos ()

Pos (bool valid)

Pos (double x, double y)

Pos (double x, double y, double z)

Pos (const Pos &pos)

Posoperator= (const Pos &pos)

Posoperator= (const Vector< double > &v)

double & operator[] (Index i)

const double & operator[] (Index i) const

Pos operator- () const

void setValid (bool valid)

bool valid () const

void assign (const double &x, const double &y, const double &z)

const double & x () const

const double & y () const

const double & z () const

void setX (double x)

void setY (double y)

void setZ (double z)

void setVal (const double &val, Index i)

const double & getVal (Index i) const

Posround (double tol)

double distSquared (const Pos &p) const

double dist (const Pos &p) const

double distance (const Pos &p) const

double distSquared () const

double abs () const

double length () const

double angle (const Pos &p) const

double angle (const RVector3 &p1, const RVector3 &p3) const

double dot (const Pos &p) const

double sum () const

Pos norm (const Pos &p1, const Pos &p2) const

Pos norm () const

Posnormalize ()

Posnormalise ()

Pos cross (const Pos &p) const

Pos normXY (const Pos &p) const

template<class Matrix >
Postransform (const Matrix &wm)

PosrotateX (double phi)

PosrotateY (double phi)

PosrotateZ (double phi)

Posrotate (const RVector3 &r)

Posrotate (double phiX, double phiY, double phiZ)

Posscale (const RVector3 &s)

Postranslate (const RVector3 &t)

Postranslate (double x, double y=0.0, double z=0.0)

RVector vec () const

Index hash () const

void swap (Index i, Index j)

## Protected Attributes

int marker_

double area_

bool isHole_

Protected Attributes inherited from GIMLI::Pos
bool valid_

double mat_ [3]