~ubuntu-branches/debian/squeeze/gmsh/squeeze

« back to all changes in this revision

Viewing changes to Geo/MVertex.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme
  • Date: 2009-09-27 17:36:40 UTC
  • mfrom: (1.4.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090927173640-meoeywl4f5hq5qas
Tags: 2.4.2.dfsg-1
[Christophe Prud'homme]
* New upstream release
  + solver code refactoring
  + better IDE integration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
  sprintf(tmp, "%25.16E%25.16E%25.16E\n", x() * scalingFactor, 
131
131
          y() * scalingFactor, z() * scalingFactor);
132
132
  for(unsigned int i = 0; i < strlen(tmp); i++) if(tmp[i] == 'E') tmp[i] = 'D';
133
 
  fprintf(fp, tmp);
 
133
  fprintf(fp, "%s", tmp);
134
134
}
135
135
 
136
136
void MVertex::writeVTK(FILE *fp, bool binary, double scalingFactor, bool bigEndian)
281
281
bool reparamMeshEdgeOnFace(MVertex *v1, MVertex *v2, GFace *gf, 
282
282
                           SPoint2 &param1, SPoint2 &param2)
283
283
{
284
 
 
285
284
  std::vector<SPoint2> p1, p2;
286
285
  getAllParameters(v1, gf, p1);
287
286
  getAllParameters(v2, gf, p2);
328
327
 
329
328
bool reparamMeshVertexOnFace(const MVertex *v, const GFace *gf, SPoint2 &param)
330
329
{
331
 
 
332
 
 
333
330
  if (gf->geomType() == GEntity::CompoundSurface &&
334
331
      v->onWhat()->dim() < 2){
335
332
    GFaceCompound *gfc = (GFaceCompound*) gf;