From 163eb52da5f02e23772f45b73eaf3255ad015b29 Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Tue, 3 Jun 2008 08:55:33 +0000 Subject: [PATCH] *** empty log message *** --- Geo/GFace.cpp | 7 ++++--- Plugin/GSHHS.cpp | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Geo/GFace.cpp b/Geo/GFace.cpp index 1cdcf1cd35..809eb70894 100644 --- a/Geo/GFace.cpp +++ b/Geo/GFace.cpp @@ -1,4 +1,4 @@ -// $Id: GFace.cpp,v 1.62 2008-05-04 08:31:13 geuzaine Exp $ +// $Id: GFace.cpp,v 1.63 2008-06-03 08:55:33 remacle Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -396,7 +396,8 @@ end: meanPlane.x, meanPlane.y, meanPlane.z); //check coherence for plane surfaces - if(geomType() == Plane) { + //check commented out because parametric surfaces are not plane in this sense + /*if(geomType() == Plane) { SBoundingBox3d bb = bounds(); double lc = norm(SVector3(bb.max(), bb.min())); std::list<GVertex*> verts = vertices(); @@ -413,7 +414,7 @@ end: return; } } - } + }*/ #endif } diff --git a/Plugin/GSHHS.cpp b/Plugin/GSHHS.cpp index 6d5fc8effe..e4603534c1 100644 --- a/Plugin/GSHHS.cpp +++ b/Plugin/GSHHS.cpp @@ -260,6 +260,8 @@ class GeoEarthImport void end_loop(bool closed=true) { closed&=closed_loop; if(ip - first_point_in_loop > 3) { + loop_buff<<"LoopStart"<<il<<" = IP + "<< first_point_in_loop<<";\n"; + loop_buff<<"LoopEnd"<<il<<" = IP + "<< ip - 1<<";\n"; loop_buff << "BSpline ( IL + " << il++ << " ) = { IP + " << first_point_in_loop << " : IP + " << ip - 1 ; if(closed) loop_buff<< ", IP + " << first_point_in_loop; @@ -297,7 +299,7 @@ class GeoEarthImport } }; -/* $Id: GSHHS.cpp,v 1.11 2008-05-26 15:41:31 remacle Exp $ +/* $Id: GSHHS.cpp,v 1.12 2008-06-03 08:55:33 remacle Exp $ * * PROGRAM: gshhs.c * AUTHOR: Paul Wessel (pwessel@hawaii.edu) -- GitLab