This is my code on drawing a generic Obround with the centre point, my question is, is there any predefined method?

```
public override Result drawObround(Point3d point3d)
{
Point3d leftPoint = new Point3d(point3d.X - (this.X/2) + (Y/2), point3d.Y,0);
Point3d rightPoint = new Point3d(point3d.X + (this.X/2) - (Y/2), point3d.Y,0);
Arc leftCircle = new Arc(new Circle(leftPoint, Y / 2), Math.PI);
leftCircle.StartAngle = Math.PI / 2;
leftCircle.EndAngle = 3 * Math.PI / 2;
Arc rightCircle = new Arc(new Circle(rightPoint, Y / 2), Math.PI);
rightCircle.StartAngle = -Math.PI / 2;
rightCircle.EndAngle = Math.PI / 2;
Line top = new Line(point3d.X - (this.X / 2) + (Y / 2), point3d.Y + Y / 2, 0, point3d.X + (this.X / 2) - (Y / 2), point3d.Y + Y / 2, 0);
Line bottom = new Line(point3d.X - (this.X / 2) + (Y / 2), point3d.Y - Y / 2, 0, point3d.X + (this.X / 2) - (Y / 2), point3d.Y - Y / 2, 0);
RhinoDoc.ActiveDoc.Objects.AddArc(leftCircle);
RhinoDoc.ActiveDoc.Objects.AddArc(rightCircle);
RhinoDoc.ActiveDoc.Objects.AddLine(top);
RhinoDoc.ActiveDoc.Objects.AddLine(bottom);
return Result.Success;
}
```