| GeometryHelperHaveContact Method (Single, Vector3F) |
Determines whether the specified point is inside the sphere.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static bool HaveContact(
float sphereRadius,
Vector3F point
)
Public Shared Function HaveContact (
sphereRadius As Single,
point As Vector3F
) As Boolean
public:
static bool HaveContact(
float sphereRadius,
Vector3F point
)
static member HaveContact :
sphereRadius : float32 *
point : Vector3F -> bool
Parameters
- sphereRadius
- Type: SystemSingle
The sphere radius. - point
- Type: DigitalRune.Mathematics.AlgebraVector3F
The point (in the local space of the sphere).
Return Value
Type:
Boolean if the specified point is inside; otherwise,
.
See Also