// Rh Line capture
        public Line LineToSpeckle(LineCurve line, string units = null)
        {
            var u     = units ?? ModelUnits;
            var sLine = new Line(PointToSpeckle(line.PointAtStart, u), PointToSpeckle(line.PointAtEnd, u), u)
            {
                domain = IntervalToSpeckle(line.Domain)
            };

            sLine.length = line.GetLength();
            var box = new RH.Box(line.GetBoundingBox(true));

            sLine.bbox = BoxToSpeckle(box, u);

            return(sLine);
        }
        public override BoundingBox GetBoundingBox(Transform xform)
        {
            if (Value == null)
            {
                return(BoundingBox.Empty);
            }
            if (Value.Point == null)
            {
                return(BoundingBox.Empty);
            }
            Point3d pt = Value.Point;

            pt.Z += 0.001;
            Line      ln  = new Line(Value.Point, pt);
            LineCurve crv = new LineCurve(ln);

            return(crv.GetBoundingBox(xform)); //BoundingBox.Empty; //Value.point.GetBoundingBox(xform);
        }