pyinterp.geometry.cartesian.algorithms.for_each_point_within#
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.MultiPoint, container: pyinterp.core.geometry.cartesian.Box) numpy.ndarray[dtype=bool, shape=(*), order='C']#
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.MultiPoint, container: pyinterp.core.geometry.cartesian.Ring) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.MultiPoint, container: pyinterp.core.geometry.cartesian.Polygon) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.MultiPoint, container: pyinterp.core.geometry.cartesian.MultiPolygon) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.LineString, container: pyinterp.core.geometry.cartesian.Box) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.LineString, container: pyinterp.core.geometry.cartesian.Ring) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.LineString, container: pyinterp.core.geometry.cartesian.Polygon) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.LineString, container: pyinterp.core.geometry.cartesian.MultiPolygon) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.Ring, container: pyinterp.core.geometry.cartesian.Box) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.Ring, container: pyinterp.core.geometry.cartesian.Ring) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.Ring, container: pyinterp.core.geometry.cartesian.Polygon) numpy.ndarray[dtype=bool, shape=(*), order='C']
- pyinterp.geometry.cartesian.algorithms.for_each_point_within(source: pyinterp.core.geometry.cartesian.Ring, container: pyinterp.core.geometry.cartesian.MultiPolygon) numpy.ndarray[dtype=bool, shape=(*), order='C']
Test if each point in a source geometry is within a container geometry.
A point is within a container if it lies in the interior of the container, not on its boundary.
- Parameters:
source – Source geometry containing points (MultiPoint, LineString, or Ring).
container – Container geometry (Box, Polygon, Ring, or MultiPolygon).
- Returns:
Boolean array indicating which points are within the container.
See also
for_each_point_covered_by: Include points on the boundary.