class PlanarCurve {

	public List<IVector2> getIntersectionsWithLineSegment(final ILine line)
	{
		List<IVector2> intersections = new ArrayList<>();
		
		PlanarCurveSegment lineSegment = PlanarCurveSegment.fromFirstOrder(line.supportVector(), line.directionVector(),
				0, 1.0);
		
		for (PlanarCurveSegment seg : segments)
		{
			intersections.addAll(intersections(lineSegment, seg));
		}
		
		return intersections;
	}

	public  PlanarCurve(final List<PlanarCurveSegment> segments);

}