diff --git a/Geo/GFace.cpp b/Geo/GFace.cpp index 1cdcf1cd35e59dc046a4d0de911346b184eeb52b..809eb708944dacea00cd89f69db9529a31b9f88f 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 6d5fc8effe7d7f56542a42b6408c901ae73c8ee9..e4603534c1b3c1cf92ea2f0bb61dffdc2c71c48d 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)