class LineSegment extends ALine implements ILineSegment {

	@Override
	public IVector2 stepAlongLine(final double stepSize)
	{
		if (!isValid())
		{
			return getStart();
		}
		return LineMath.stepAlongLine(getStart(), getEnd(), stepSize);
	}

	@SuppressWarnings("unused") private  LineSegment();
	private  LineSegment(final IVector2 start, final IVector2 end);

}