112 THROW( ExcAssertMsg() << EI_Message(
"Unknown number of the abscissa of the triangle.") );
125 default:
THROW( ExcAssertMsg() << EI_Message(
"Unknown number of the point of the triangle.") );
156 for (
int i=0; i<3; ++i) {
166 double min =
X1.
Get(i);
168 if (
X2.
Get(i) < min) {
171 if (
X3.
Get(i) < min) {
179 double max =
X1.
Get(i);
181 if (
X2.
Get(i) > max) {
184 if (
X3.
Get(i) > max) {
211 if (
Dot(N1, N2) < 0) {
217 if (
Dot(N1, N2) < 0) {
223 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 &)