EllipsoidTangentTotal Method |
Determines whether the cone emanating from sensor at the given position and with the given
heading and half angle lies completely tangent to the Ellipsoid.
Namespace:
AGI.Foundation.Geometry.Shapes
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public bool TangentTotal(
Cartesian sensorPosition,
UnitCartesian sensorHeading,
double halfAngle
)
Public Function TangentTotal (
sensorPosition As Cartesian,
sensorHeading As UnitCartesian,
halfAngle As Double
) As Boolean
public:
bool TangentTotal(
Cartesian sensorPosition,
UnitCartesian sensorHeading,
double halfAngle
)
member TangentTotal :
sensorPosition : Cartesian *
sensorHeading : UnitCartesian *
halfAngle : float -> bool
Parameters
- sensorPosition
- Type: AGI.Foundation.CoordinatesCartesian
The position of the sensor. - sensorHeading
- Type: AGI.Foundation.CoordinatesUnitCartesian
The heading of the sensor. - halfAngle
- Type: SystemDouble
The half angle of the sensor cone.
Return Value
Type:
BooleanTrue if the sensor cone is tangent, false if it is not.
See Also