Skip to content
Snippets Groups Projects
Commit 57eae924 authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

*** empty log message ***

parent 0c0f0cad
Branches
Tags
No related merge requests found
// $Id: BDS.cpp,v 1.54 2006-07-25 12:08:23 remacle Exp $ // $Id: BDS.cpp,v 1.55 2006-07-25 13:00:07 remacle Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -2445,6 +2445,8 @@ bool BDS_Mesh::smooth_point(BDS_Point * p, BDS_Mesh * geom_mesh) ...@@ -2445,6 +2445,8 @@ bool BDS_Mesh::smooth_point(BDS_Point * p, BDS_Mesh * geom_mesh)
X += op->X; X += op->X;
Y += op->Y; Y += op->Y;
Z += op->Z; Z += op->Z;
// lengths are wrong;
(*eit)->target_length = -1;
++eit; ++eit;
} }
......
...@@ -324,7 +324,7 @@ public: ...@@ -324,7 +324,7 @@ public:
void oppositeof(BDS_Point * oface[2]) const; void oppositeof(BDS_Point * oface[2]) const;
BDS_Edge(BDS_Point *A, BDS_Point *B) BDS_Edge(BDS_Point *A, BDS_Point *B)
: deleted(false), status(0),partition(0),target_length(1.0),g(0) : deleted(false), status(0),partition(0),target_length(-1.0),g(0)
{ {
if(*A < *B){ if(*A < *B){
p1=A; p1=A;
......
This diff is collapsed.
#ifndef _MESH_GFACE_H_
#define _MESH_GFACE_H_
#include <map>
#include "SPoint2.h"
class MVertex;
class GFace;
// Create the mesh of the face
class meshGFace
{
public :
void operator () ( GFace * );
};
// destroy the mesh of the face
class deMeshGFace
{
public :
void operator () ( GFace * );
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment