[hitPt_PT tia incPos] = ObjectIncidence(G,Targ,[hitPt],[dispPlot]);
Computes incident angle for a given target and geometry. If Targ has a structure field Object containing facets and vertices, the incidence angle is computed based on those. Otherwise, the incidence angle is computed assuming a missile.
|
Parameters |
Description |
|
G [struct] |
Geometry structure from GeomStruct |
|
Targ [struct] |
Target structure from TargStruct |
|
hitPt [array] |
(Optional) Point on the target for which to compute incidence angle. If size NGeom x 2 it is assumed to be in target P/T coordinates. If size NGeom x 3 it is assumed to be in object coordinates. If not input, uses Targ.Object.hitPoint or Targ.HELpt. |
|
dispPlot [logical/char] |
(Optional) Flag indicating whether to plot the object with the incident ray orientation or an avi file name to write the plot(s) to an avi file. Default is false. Only displayed if Targ.Object exists and the ray is actually incident. |
|
Return Values |
Description |
|
hitPt_PT [array] |
Hit point in target P/T coordinates |
|
tia [vector] |
Target incidence angle (rad) |
|
incPos [array] |
Position vector on the target at which the ray is incident in the target object (x,y,z) coordinate frame |
|
Copyright (c) MZA Associates 2009. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|