Ice Sheet System Model  4.18
Code documentation
det.h
Go to the documentation of this file.
1 #ifndef _BAMGDET_H_
2 #define _BAMGDET_H_
3 
4 #include "./include.h"
5 
6 namespace bamg {
7 
8  long long inline det(const I2 &a,const I2 & b,const I2 &c){
9  long long bax = b.x - a.x ,bay = b.y - a.y;
10  long long cax = c.x - a.x ,cay = c.y - a.y;
11  return bax*cay - bay*cax;
12  }
13 
14 }
15 #endif
bamg
Definition: AdjacentTriangle.cpp:9
bamg::det
long long det(const I2 &a, const I2 &b, const I2 &c)
Definition: det.h:8
include.h
prototypes for include.h
bamg::P2::x
R x
Definition: R2.h:15
bamg::P2::y
R y
Definition: R2.h:15
bamg::P2< int, long long >