94 THROW( ExcAssertMsg() << EI_Message(
"Unknown number of the abscissa of the triangle.") );
107 default:
THROW( ExcAssertMsg() << EI_Message(
"Unknown number of the point of the triangle.") );
138 for (
int i=0; i<3; ++i) {
148 double min =
X1.
Get(i);
150 if (
X2.
Get(i) < min) {
153 if (
X3.
Get(i) < min) {
161 double max =
X1.
Get(i);
163 if (
X2.
Get(i) > max) {
166 if (
X3.
Get(i) > max) {
193 if (
Dot(N1, N2) < 0) {
199 if (
Dot(N1, N2) < 0) {
205 if (
Dot(N1, N2) < 0) {
const TVector & GetVector() const
Bounding box in 3d ambient space.
static int numberInstance
void SetPoints(const TPoint &, const TPoint &)
void SetPoints(const TPoint &, const TPoint &, const TPoint &)
TTriangle & operator=(const TTriangle &t)
bool IsInner(const TPoint &) const
const TPoint & GetPoint(int) const
void SetPoints(const TPoint &, const TPoint &, const TPoint &)
TVector Cross(const TVector &, const TVector &)
BoundingBox & get_bounding_box()
const TPlain & GetPlain() const
const TAbscissa & GetAbscissa(int) const
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.
double Dot(const TVector &, const TVector &)