ILineOfSight80
This interface provides properties and methods for determining and providing visual indication of the specific locations in the 3D World that can be seen from a selected position.
|
Properties |
|
|
Gets the positions of targets that are not visible from the observer viewpoint. |
|
|
Gets the ID of the object. (Inherited from ITerraExplorerObject80) |
|
|
Gets an enum that identifies the type of the object. (Inherited from ITerraExplorerObject80) |
|
|
Gets and sets a Boolean that determines whether the object is saved in the Fly file. (Inherited from ITerraExplorerObject80) |
|
|
Gets the positions of targets that are visible from the observer viewpoint. |
|
|
Methods |
|
|
Gets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80) |
|
|
GetParam |
Reserved. Currently not used. |
|
Sets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80) |
|
|
SetParam |
Reserved. Currently not used. |
HiddenTargets
Gets the positions of targets that are not visible from the observer viewpoint. A safe array that contains triplets of doubles is returned, where each triplet is composed of an x-coordinate, a height, and a y-coordinate (XHY order). The height is represented in meters and the x- and y-coordinates are represented in the coordinate system’s units. You can use the ITerrain80 interface to retrieve information about the coordinate system units.
Note: In JavaScript, use the VBArray object. E.g.,
var waypoints = route.Waypoints.ToArray()
var arr = new VBArray(waypoints).toArray();
JavaScript |
|
HiddenTargets |
C# |
|
dynamic HiddenTargets { get; } |
C++ |
|
HRESULT HiddenTargets([out, retval] VARIANT* pArrPosition) |
VisibleTargets
Gets the positions of targets that are visible from the observer viewpoint. An array that contains triplets of doubles is returned, where each triplet is composed of an x-coordinate, a height, and a y-coordinate (XHY order). The height is represented in meters and the x and y-coordinates are represented in the coordinate system’s units. You can use the ITerrain80 interface to retrieve information about the coordinate system units.
JavaScript |
|
VisibleTargets |
C# |
|
dynamic VisibleTargets { get; } |
C++ |
|
HRESULT VisibleTargets([out, retval] VARIANT* pArrPosition) |