MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / containedPoints

Method containedPoints

ij/src/main/java/ij/gui/PointRoi.java:500–502  ·  view source on GitHub ↗

Returns the points of this Roi that are contained in the specified area ROI. Returns null if there are no resulting points or Roi is not an area roi.

(Roi roi)

Source from the content-addressed store, hash-verified

498 /** Returns the points of this Roi that are contained in the specified area ROI.
499 * Returns null if there are no resulting points or Roi is not an area roi. */
500 public PointRoi containedPoints(Roi roi) {
501 return checkContained(roi, true);
502 }
503
504 /** Returns the points contained (not contained) in <code>roi</code> if <code>keepContained</code> is true (false). */
505 PointRoi checkContained(Roi roi, boolean keepContained) {

Callers 1

andMethod · 0.95

Calls 1

checkContainedMethod · 0.95

Tested by

no test coverage detected