private static boolean polygonRelatePolyline_(Polygon polygon_a,
			Polyline polyline_b, double tolerance, int relation,
			ProgressTracker progress_tracker) {
		switch (relation) {
		case Relation.disjoint:
			return polygonDisjointPolyline_(polygon_a, polyline_b, tolerance,
					progress_tracker);

		case Relation.contains:
			return polygonContainsPolyline_(polygon_a, polyline_b, tolerance,
					progress_tracker);

		case Relation.touches:
			return polygonTouchesPolyline_(polygon_a, polyline_b, tolerance,
					progress_tracker);

		case Relation.crosses:
			return polygonCrossesPolyline_(polygon_a, polyline_b, tolerance,
					progress_tracker);

		default:
			break; // warning fix
		}

		return false;
	}
private static boolean polygonRelatePolyline_ ( Polygon polygon_a , Polyline polyline_b , double tolerance , int relation , ProgressTracker progress_tracker ) { switch ( relation ) { case Relation . disjoint : return polygonDisjointPolyline_ ( polygon_a , polyline_b , tolerance , progress_tracker ) ; case Relation . contains : return polygonContainsPolyline_ ( polygon_a , polyline_b , tolerance , progress_tracker ) ; case Relation . touches : return polygonTouchesPolyline_ ( polygon_a , polyline_b , tolerance , progress_tracker ) ; case Relation . crosses : return polygonCrossesPolyline_ ( polygon_a , polyline_b , tolerance , progress_tracker ) ; default : break ; } return false ; }
Returns true if the relation holds.