class LineSegment extends ALine implements ILineSegment {

	@Override
	public final boolean equals(final Object other)
	{
		if (this == other)
		{
			return true;
		}
		if (!(other instanceof ILineSegment))
		{
			return false;
		}
		
		final ILineSegment that = (ILineSegment) other;
		
		return getStart().equals(that.getStart()) && getEnd().equals(that.getEnd());
	}

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

}