示例#1
0
VisualLine::VisualLine(const VisualLine& other)
    : start(other.start), end(other.end), left(other.left), right(other.right),
      bottom(other.bottom), top(other.top), points(other.points),
      angle(other.angle), a(other.a), b(other.b), length(other.length),
      color(other.color), colorStr(other.colorStr),
      avgVerticalWidth(other.avgVerticalWidth),
      avgHorizontalWidth(other.avgHorizontalWidth),
      thinnestHorPoint(other.thinnestHorPoint),
      thickestHorPoint(other.thickestHorPoint),
      thinnestVertPoint(other.thinnestVertPoint),
      thickestVertPoint(other.thickestVertPoint),
      distance(other.getDistance()), bearing(other.getBearing()),
      distanceSD(other.getDistanceSD()), bearingSD(other.getBearingSD()),
      possibleLines(ConcreteLine::concreteLines)
{
}
示例#2
0
VisualLine::VisualLine(const VisualLine& other)
    : VisualLandmark<lineID>(other),
      start(other.start), end(other.end), leftBound(other.leftBound),
      rightBound(other.rightBound),
      bottomBound(other.bottomBound),
      topBound(other.topBound),
      points(other.points),
      angle(other.angle), length(other.length),
      a(other.a), b(other.b),
      color(other.color), colorStr(other.colorStr),
      avgVerticalWidth(other.avgVerticalWidth),
      avgHorizontalWidth(other.avgHorizontalWidth),
      thinnestHorPoint(other.getThinnestHorizontalPoint()),
      thickestHorPoint(other.getThickestHorizontalPoint()),
      thinnestVertPoint(other.getThinnestVerticalPoint()),
      thickestVertPoint(other.getThickestVerticalPoint()),
      distance(other.getDistance()), bearing(other.getBearing()),
      distanceSD(other.getDistanceSD()), bearingSD(other.getBearingSD()),
      ccLine(other.getCCLine()),
      possibleLines(other.getPossibleLines())
{
}