Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 491404 | Differences between
and this patch

Collapse All | Expand All

(-)a/org.eclipse.gef4.geometry/src/org/eclipse/gef4/geometry/planar/Line.java (+9 lines)
Lines 321-326 Link Here
321
		return getP1().getDistance(getP2());
321
		return getP1().getDistance(getP2());
322
	}
322
	}
323
323
324
	/**
325
	 * Returns the {@link Point} representing the mid-point of this {@link Line}
326
	 *
327
	 * @return the mid-point of this {@link Line}
328
	 */
329
	public Point getMidPoint() {
330
		return get(0.5);
331
	}
332
324
	// TODO: add specialized getOverlap()
333
	// TODO: add specialized getOverlap()
325
334
326
	/**
335
	/**

Return to bug 491404