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

*** empty log message ***

parent 0c50beef
No related branches found
No related tags found
No related merge requests found
// $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 // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// //
...@@ -396,7 +396,8 @@ end: ...@@ -396,7 +396,8 @@ end:
meanPlane.x, meanPlane.y, meanPlane.z); meanPlane.x, meanPlane.y, meanPlane.z);
//check coherence for plane surfaces //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(); SBoundingBox3d bb = bounds();
double lc = norm(SVector3(bb.max(), bb.min())); double lc = norm(SVector3(bb.max(), bb.min()));
std::list<GVertex*> verts = vertices(); std::list<GVertex*> verts = vertices();
...@@ -413,7 +414,7 @@ end: ...@@ -413,7 +414,7 @@ end:
return; return;
} }
} }
} }*/
#endif #endif
} }
......
...@@ -260,6 +260,8 @@ class GeoEarthImport ...@@ -260,6 +260,8 @@ class GeoEarthImport
void end_loop(bool closed=true) { void end_loop(bool closed=true) {
closed&=closed_loop; closed&=closed_loop;
if(ip - first_point_in_loop > 3) { 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 + " << loop_buff << "BSpline ( IL + " << il++ << " ) = { IP + " <<
first_point_in_loop << " : IP + " << ip - 1 ; first_point_in_loop << " : IP + " << ip - 1 ;
if(closed) loop_buff<< ", IP + " << first_point_in_loop; if(closed) loop_buff<< ", IP + " << first_point_in_loop;
...@@ -297,7 +299,7 @@ class GeoEarthImport ...@@ -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 * PROGRAM: gshhs.c
* AUTHOR: Paul Wessel (pwessel@hawaii.edu) * AUTHOR: Paul Wessel (pwessel@hawaii.edu)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment