| ExtensionsGetRangeAngle Method |
Customize MACE to meet your Live-Virtual-Constructive Simulation and Training Requirements. [This is preliminary documentation and is subject to change.]
Extension to find the range (in meters) and angle (in degrees) to the target entity.
Namespace:
BSI.MACE
Assembly:
BSILib (in BSILib.dll) Version: 1.2.1.22047 (1.0.0.0)
Syntax public static RangeAngle GetRangeAngle(
this IPhysicalEntity thisEntity,
IPhysicalEntity targetEntity
)
<ExtensionAttribute>
Public Shared Function GetRangeAngle (
thisEntity As IPhysicalEntity,
targetEntity As IPhysicalEntity
) As RangeAngle
Parameters
- thisEntity
- Type: BSI.MACEIPhysicalEntity
The "from" physical entity for the range and bearing data. - targetEntity
- Type: BSI.MACEIPhysicalEntity
The entity whose position will be defined the returned range and bearing data.
Return Value
Type:
RangeAngleA structure containing range and angle information to the target entity.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPhysicalEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks See Also