class PenaltyArea implements IPenaltyArea {

	@Override
	public List<IVector2> lineIntersections(final edu.tigers.sumatra.math.line.v2.ILine line)
	{
		return getEdges().stream()
				.map(edge -> edge.intersectLine(line))
				.filter(Optional::isPresent)
				.map(Optional::get)
				.distinct()
				.collect(Collectors.toList());
	}

	public  PenaltyArea(final IVector2 goalCenter, final double depth, final double length);

}