public RealLineSegment(double k, double q, RealCoordinate start, RealCoordinate end) { this.k = k; this.q = q; this.start = start; this.end = end; }
public RectangularObstacle(int length, int width, RealCoordinate location) : base(ObstacleType.Rectangle) { this.length = length; this.width = width; realLocation = location; }