private static int getPredefinedRelation_(String scl, int dim_a, int dim_b) {
		if (equals_(scl))
			return RelationalOperations.Relation.equals;

		if (disjoint_(scl))
			return RelationalOperations.Relation.disjoint;

		if (touches_(scl, dim_a, dim_b))
			return RelationalOperations.Relation.touches;

		if (crosses_(scl, dim_a, dim_b))
			return RelationalOperations.Relation.crosses;

		if (contains_(scl))
			return RelationalOperations.Relation.contains;

		if (overlaps_(scl, dim_a, dim_b))
			return RelationalOperations.Relation.overlaps;

		return RelationalOperations.Relation.unknown;
	}
private static int getPredefinedRelation_ ( String scl , int dim_a , int dim_b ) { if ( equals_ ( scl ) ) return RelationalOperations . Relation . equals ; if ( disjoint_ ( scl ) ) return RelationalOperations . Relation . disjoint ; if ( touches_ ( scl , dim_a , dim_b ) ) return RelationalOperations . Relation . touches ; if ( crosses_ ( scl , dim_a , dim_b ) ) return RelationalOperations . Relation . crosses ; if ( contains_ ( scl ) ) return RelationalOperations . Relation . contains ; if ( overlaps_ ( scl , dim_a , dim_b ) ) return RelationalOperations . Relation . overlaps ; return RelationalOperations . Relation . unknown ; }
Checks whether scl string is a predefined relation.