MCPcopy Create free account
hub / github.com/DOI-USGS/ISIS3 / HasSurfaceIntersection

Method HasSurfaceIntersection

isis/src/base/objs/Sensor/Sensor.cpp:186–188  ·  view source on GitHub ↗

* Returns if the last call to either SetLookDirection or * SetUniversalGround had a valid intersection with the target. If so then * other methods such as Coordinate, UniversalLatitude, UniversalLongitude, * etc can be used with confidence. * * @return @b bool True if the look direction intersects with the target. */

Source from the content-addressed store, hash-verified

184 * @return @b bool True if the look direction intersects with the target.
185 */
186 bool Sensor::HasSurfaceIntersection() const {
187 return target()->shape()->hasIntersection();
188 }
189
190
191 /**

Callers 14

SetGroundMethod · 0.80
TargetKeysMethod · 0.80
SubframeTargetKeysMethod · 0.80
SpacecraftKeysMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
elevationMethod · 0.80
addStatsMethod · 0.80
LoadMethod · 0.80
GetPointInfoMethod · 0.80
camtrimFunction · 0.80

Calls 2

hasIntersectionMethod · 0.80
shapeMethod · 0.45

Tested by 2

mainFunction · 0.64
mainFunction · 0.64