DepthSegment constructor

DepthSegment(
  1. LineSegment seg,
  2. int depth
)

Implementation

DepthSegment(LineSegment seg, int depth) {
// input seg is assumed to be normalized
  upwardSeg = new LineSegment.fromSegment(seg);
//upwardSeg.normalize();
  this.leftDepth = depth;
}