Path: Link/Coverage
% Determines the visibility between the points in r2 and r1. It does not return the line of sight. If no outputs are requested it generates a 3D plot showing the planet and the arc where the r2 is visible. This routine assumes that the planet is a sphere. -------------------------------------------------------------------------- Form: visible = SatelliteVisibility( r1, r2, horizonAngle, planet ) -------------------------------------------------------------------------- ------ Inputs ------ r1 (3,1) Viewing satellite r2 (3,:) Viewed satellite horizonAngle (1,1) Angle above horizon for visibility planet (1,:) Any planet name in the database ------- Outputs ------- visible (1,:) 1 if satellite is visible --------------------------------------------------------------------------
Common: Graphics/Axis3D Common: Graphics/Map Common: Graphics/NewFig Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Math: Linear/Dot Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit
Back to the Link Module page