public Capsule2D(Segment2D segment, float radius) { this.segment = segment; this.radius = radius; }
public Capsule2D(Vector2 start, Vector2 end, float radius) { segment = new Segment2D(start, end); this.radius = radius; }