@Pure
	public boolean containsPoint(Point2D<?, ?> point, int groupIndex) {
		final int grpCount = getGroupCount();
		if (groupIndex < 0) {
			throw new IndexOutOfBoundsException(groupIndex + "<0"); //$NON-NLS-1$
		}
		if (groupIndex > grpCount) {
			throw new IndexOutOfBoundsException(groupIndex + ">" + grpCount); //$NON-NLS-1$
		}
		if (point == null) {
			return false;
		}

		for (int i = 0; i < getPointCountInGroup(groupIndex); ++i) {
			final Point2d cur = getPointAt(groupIndex, i);
			if (cur.epsilonEquals(point, MapElementConstants.POINT_FUSION_DISTANCE)) {
				return true;
			}
		}
		return false;
	}
@ Pure public boolean containsPoint ( Point2D < ? , ? > point , int groupIndex ) { final int grpCount = getGroupCount ( ) ; if ( groupIndex < 0 ) { throw new IndexOutOfBoundsException ( groupIndex + "<0" ) ; } if ( groupIndex > grpCount ) { throw new IndexOutOfBoundsException ( groupIndex + ">" + grpCount ) ; } if ( point == null ) { return false ; } for ( int i = 0 ; i < getPointCountInGroup ( groupIndex ) ; ++ i ) { final Point2d cur = getPointAt ( groupIndex , i ) ; if ( cur . epsilonEquals ( point , MapElementConstants . POINT_FUSION_DISTANCE ) ) { return true ; } } return false ; }
Check if point p is contained in this coordinates collections.

@param point the point to compare with this coordinates
@param groupIndex into look for
@return true if p is already part of coordinates