EllipsoidGetDegreeOfObstruction Method (Cartesian, Cartesian, Double) |
Gets the obstruction value given two positions.
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 double GetDegreeOfObstruction(
Cartesian thisFixed,
Cartesian otherFixed,
out double nearDistance
)
Public Function GetDegreeOfObstruction (
thisFixed As Cartesian,
otherFixed As Cartesian,
<OutAttribute> ByRef nearDistance As Double
) As Double
public:
double GetDegreeOfObstruction(
Cartesian thisFixed,
Cartesian otherFixed,
[OutAttribute] double% nearDistance
)
member GetDegreeOfObstruction :
thisFixed : Cartesian *
otherFixed : Cartesian *
nearDistance : float byref -> float
Parameters
- thisFixed
- Type: AGI.Foundation.CoordinatesCartesian
The first position in a reference frame fixed to the shape. - otherFixed
- Type: AGI.Foundation.CoordinatesCartesian
The second position in a reference frame fixed to the shape. - nearDistance
- Type: SystemDouble
Outputs the distance along the relative vector at which that vector is closest to this Ellipsoid.
Return Value
Type:
DoubleThe degree of obstruction. Values above zero indicate that the view is not obstructed. Values below zero indicate that it is obstructed.
The magnitude of the value has no physical meaning, but it is a continuous function.
See Also