111 THROW( ExcAssertMsg() << EI_Message(
"Unknown number of the abscissa of the triangle.") );
124 default:
THROW( ExcAssertMsg() << EI_Message(
"Unknown number of the point of the triangle.") );
155 for (
int i=0; i<3; ++i) {
165 double min =
X1.
Get(i);
167 if (
X2.
Get(i) < min) {
170 if (
X3.
Get(i) < min) {
178 double max =
X1.
Get(i);
180 if (
X2.
Get(i) > max) {
183 if (
X3.
Get(i) > max) {
210 if (
Dot(N1, N2) < 0) {
216 if (
Dot(N1, N2) < 0) {
222 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 &)