diff Framework/Toolbox/Extent.h @ 109:53bd9277b025 wasm

using the Extent class
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Jun 2017 15:34:08 +0200
parents d18dcc963930
children
line wrap: on
line diff
--- a/Framework/Toolbox/Extent.h	Wed Jun 14 15:13:32 2017 +0200
+++ b/Framework/Toolbox/Extent.h	Wed Jun 14 15:34:08 2017 +0200
@@ -38,6 +38,11 @@
       Reset();
     }
 
+    Extent(double x1,
+           double y1,
+           double x2,
+           double y2);
+
     void Reset();
 
     void AddPoint(double x,
@@ -45,10 +50,7 @@
 
     void Union(const Extent& other);
 
-    bool IsEmpty() const
-    {
-      return empty_;
-    }
+    bool IsEmpty() const;
 
     double GetX1() const
     {