OGS
ExactPredicates Namespace Reference

Functions

double getOrientation2d (MathLib::Point3d const &a, MathLib::Point3d const &b, MathLib::Point3d const &c)
 
double getOrientation2dFast (MathLib::Point3d const &a, MathLib::Point3d const &b, MathLib::Point3d const &c)
 

Function Documentation

◆ getOrientation2d()

double ExactPredicates::getOrientation2d ( MathLib::Point3d const &  a,
MathLib::Point3d const &  b,
MathLib::Point3d const &  c 
)

Definition at line 32 of file AnalyticalGeometry.cpp.

34 {
35  return orient2d(const_cast<double*>(a.getCoords()),
36  const_cast<double*>(b.getCoords()),
37  const_cast<double*>(c.getCoords()));
38 }
double orient2d(double *, double *, double *)

References MaterialPropertyLib::c, MathLib::TemplatePoint< T, DIM >::getCoords(), and orient2d().

Referenced by GeoLib::getOrientation().

◆ getOrientation2dFast()

double ExactPredicates::getOrientation2dFast ( MathLib::Point3d const &  a,
MathLib::Point3d const &  b,
MathLib::Point3d const &  c 
)

Definition at line 40 of file AnalyticalGeometry.cpp.

43 {
44  return orient2dfast(const_cast<double*>(a.getCoords()),
45  const_cast<double*>(b.getCoords()),
46  const_cast<double*>(c.getCoords()));
47 }
double orient2dfast(double *, double *, double *)

References MaterialPropertyLib::c, MathLib::TemplatePoint< T, DIM >::getCoords(), and orient2dfast().

Referenced by GeoLib::getOrientationFast().