Skip to content
Snippets Groups Projects
Commit 1993c7f3 authored by Amaury Johnen's avatar Amaury Johnen
Browse files

No commit message

No commit message
parent 39f8bedb
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ bool MVertexLessThanNum::operator()(const MVertex *v1, const MVertex *v2) const ...@@ -32,7 +32,7 @@ bool MVertexLessThanNum::operator()(const MVertex *v1, const MVertex *v2) const
return false; return false;
} }
double angle3Vertices(MVertex *p1, MVertex *p2, MVertex *p3) double angle3Vertices(const MVertex *p1, const MVertex *p2, const MVertex *p3)
{ {
SVector3 a(p1->x() - p2->x(), p1->y() - p2->y(), p1->z() - p2->z()); SVector3 a(p1->x() - p2->x(), p1->y() - p2->y(), p1->z() - p2->z());
SVector3 b(p3->x() - p2->x(), p3->y() - p2->y(), p3->z() - p2->z()); SVector3 b(p3->x() - p2->x(), p3->y() - p2->y(), p3->z() - p2->z());
......
...@@ -170,7 +170,7 @@ bool reparamMeshVertexOnFace(MVertex *v, const GFace *gf, SPoint2 &param, ...@@ -170,7 +170,7 @@ bool reparamMeshVertexOnFace(MVertex *v, const GFace *gf, SPoint2 &param,
bool onSurface=true); bool onSurface=true);
bool reparamMeshVertexOnEdge(MVertex *v, const GEdge *ge, double &param); bool reparamMeshVertexOnEdge(MVertex *v, const GEdge *ge, double &param);
double angle3Vertices(MVertex *p1, MVertex *p2, MVertex *p3); double angle3Vertices(const MVertex *p1, const MVertex *p2, const MVertex *p3);
inline double distance (MVertex *v1, MVertex *v2){ inline double distance (MVertex *v1, MVertex *v2){
const double dx = v1->x() - v2->x(); const double dx = v1->x() - v2->x();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment