|
|
| 207 |
|
207 |
|
| 208 |
|
208 |
|
| 209 |
void PointToPointDumbbellHelper::BoundingBox (double ulx, double uly, // Upper left x/y |
209 |
void PointToPointDumbbellHelper::BoundingBox (double ulx, double uly, // Upper left x/y |
| 210 |
double lrx, double lry) // Lower right y |
210 |
double lrx, double lry) // Lower right x/y |
| 211 |
{ |
211 |
{ |
| 212 |
double xDist; |
212 |
double xDist; |
| 213 |
double yDist; |
213 |
double yDist; |
|
|
| 279 |
// Insure did not exceed bounding box |
279 |
// Insure did not exceed bounding box |
| 280 |
if (lnl.y < uly) |
280 |
if (lnl.y < uly) |
| 281 |
{ |
281 |
{ |
| 282 |
lnl.y = uly; // Set to upper right y |
282 |
lnl.y = uly; // Set to upper left y |
| 283 |
} |
283 |
} |
| 284 |
if (lnl.y > lry) |
284 |
if (lnl.y > lry) |
| 285 |
{ |
285 |
{ |
|
|
| 312 |
// Insure did not exceed bounding box |
312 |
// Insure did not exceed bounding box |
| 313 |
if (rnl.y < uly) |
313 |
if (rnl.y < uly) |
| 314 |
{ |
314 |
{ |
| 315 |
rnl.y = uly; // Set to upper right y |
315 |
rnl.y = uly; // Set to upper left y |
| 316 |
} |
316 |
} |
| 317 |
if (rnl.y > lry) |
317 |
if (rnl.y > lry) |
| 318 |
{ |
318 |
{ |