99 return NEGATIVE_DIRECTION_BORDER;
127 return (v * -1.0f) *
normal;
176 for (
int i = 0;
i < 3;
i++)
217 return (
v1 +
v2 +
v3) * (1.0f / 3.0f);
229 return (180.0f + alpha) / 2.0f;
231 return (180.0f - alpha) / 2.0f;
246 return X > 0 ?
true :
false;
271 return (v ==
v1 || v ==
v2 || v ==
v3);
393 return v1 ==
t.v1 &&
v2 ==
t.v2 &&
v3 ==
t.v3
std::shared_ptr< T > SPtr
static bool lessEqual(const real &val1, const real &val2, real maxRelDiff=EPSILON)
static bool greaterEqual(const real &val1, const real &val2, real maxRelDiff=EPSILON)
static bool equal(const real &val1, const real &val2, real maxRelDiff=EPSILON)
int getTriangleIntersection(const Vertex &P, const Vertex &direction, Vertex &pointOnTri, real &qVal) const
Vertex getCenterOfMass() const
void getClosestPointsOnEdges(Vertex arr[], const Vertex &P) const
real getPerpedicularDistanceFrom(const Vertex &P) const
bool isUnderAngleToNeighbors(const Vertex &point) const
bool contains(const Vertex &v) const
bool operator==(const Triangle &t) const
int isEqual(const Triangle &t2) const
void initalLayerThickness(real delta)
void set(const Vertex &v1, const Vertex &v2, const Vertex &v3)
bool isNegativeDirectionBorder(const Vertex &point) const
int getNumberOfCommonEdge(const Triangle &t2) const
bool isUnterExtendedFace(const Vertex &point, real &s) const
int getCommonEdge(const Triangle &t2) const
void setMinMax(real &minX, real &maxX, real &minY, real &maxY, real &minZ, real &maxZ) const
real getHalfAngleBetweenToAdjacentTriangle(const Triangle &t2) const
bool isNotNextToFace(const Vertex &point) const
bool doesNormalsShowToEachOther(const Triangle &t2) const
char isUnderFace(const Vertex &point) const
Vertex getPerpedicularPointFrom(const Vertex &P) const
bool isQNode(const Vertex &point, const real &s) const
static void setMinMax(real &minX, real &maxX, real &minY, real &maxY, real &minZ, real &maxZ, const Vertex &v1, const Vertex &v2, const Vertex &v3)
struct Vertex crossProduct(const Vertex &w) const
real getInnerAngle(const Vertex &w) const