]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_binobj.hxx
Use the new SGPath::create_dir function
[simgear.git] / simgear / io / sg_binobj.hxx
index 5139ea6e5b84972bf035bc406d84ec904bf7cf57..ae3ccad504300fd44b4f56edf3fbadc93aa25449 100644 (file)
@@ -5,7 +5,7 @@
 
 // Written by Curtis Olson, started January 2000.
 //
-// Copyright (C) 2000  Curtis L. Olson  - curt@flightgear.org
+// Copyright (C) 2000  Curtis L. Olson  - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -221,6 +221,16 @@ public:
 };
 
 
+/**
+ * \relates SGBinObject
+ * Calculate the center of a list of points, by taking the halfway
+ * point between the min and max points.
+ * @param wgs84_nodes list of points in wgs84 coordinates
+ * @return center point
+ */
+Point3D sgCalcCenter( point_list& wgs84_nodes );
+
+
 /**
  * \relates SGBinObject
  * Calculate the bounding sphere of a set of nodes.