View | Details | Raw Unified | Return to bug 2810
Collapse All | Expand All

(-)a/src/point-to-point-layout/model/point-to-point-dumbbell.cc (-3 / +3 lines)
 Lines 207-213    Link Here 
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;
 Lines 279-285    Link Here 
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
        {
 Lines 312-318    Link Here 
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
        {
(-)a/src/point-to-point-layout/model/point-to-point-dumbbell.h (-2 / +2 lines)
 Lines 89-95    Link Here 
89
  Ptr<Node> GetRight () const;
89
  Ptr<Node> GetRight () const;
90
90
91
  /**
91
  /**
92
   * \returns pointer to the i'th left side leaf node
92
   * \returns pointer to the i'th right side leaf node
93
   * \param i node number
93
   * \param i node number
94
   */
94
   */
95
  Ptr<Node> GetRight (uint32_t i) const;
95
  Ptr<Node> GetRight (uint32_t i) const;
 Lines 104-110    Link Here 
104
   * \returns an Ipv4Address of the i'th right leaf
104
   * \returns an Ipv4Address of the i'th right leaf
105
   * \param i node number
105
   * \param i node number
106
   */
106
   */
107
  Ipv4Address GetRightIpv4Address (uint32_t i) const;
107
  Ipv4Address GetRightIpv4Address (uint32_t i) const; // Get right leaf address
108
108
109
  /**
109
  /**
110
   * \returns an Ipv6Address of the i'th left leaf
110
   * \returns an Ipv6Address of the i'th left leaf

Return to bug 2810