Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Toolbox/Extent2D.h @ 1610:b7630b1a0253
ISceneLayer::GetBoundingBox() returns void
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Oct 2020 17:13:13 +0100 |
parents | 8563ea5d8ae4 |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1609:5f5c549499ff | 1610:b7630b1a0253 |
---|---|
34 double y2_; | 34 double y2_; |
35 | 35 |
36 public: | 36 public: |
37 Extent2D() | 37 Extent2D() |
38 { | 38 { |
39 Reset(); | 39 Clear(); |
40 } | 40 } |
41 | 41 |
42 Extent2D(double x1, | 42 Extent2D(double x1, |
43 double y1, | 43 double y1, |
44 double x2, | 44 double x2, |
45 double y2); | 45 double y2); |
46 | 46 |
47 void Reset(); | 47 void Clear(); |
48 | 48 |
49 void AddPoint(double x, | 49 void AddPoint(double x, |
50 double y); | 50 double y); |
51 | 51 |
52 void Union(const Extent2D& other); | 52 void Union(const Extent2D& other); |