Coverage.check_fov¶
giant.coverage.coverage_class
:
- Coverage.check_fov(vertices, camera_model=None)[source]¶
This function determines which surface vertices are within the camera’s FOV by projecting the vertices to a simulated image.
- Parameters:
vertices (ndarray[tuple[Any, ...], dtype[float64]]) – An array of 3D vectors representing vertices on the target body’s surface
camera_model (CameraModel | None) – A
CameraModel
instance
- Returns:
An array of booleans representing which vertices are within the camera’s FOV
- Return type:
ndarray[tuple[Any, …], dtype[bool]]