Пример #1
0
RNBoolean R3Contains(const R3Sphere& sphere, const R3Plane& plane)
{
    // Return whether sphere contains plane
    if (sphere.IsFinite()) return FALSE;
    return TRUE;
}
Пример #2
0
RNBoolean R3Contains(const R3Sphere& sphere, const R3Halfspace& halfspace)
{
    // Return whether sphere contains halfspace
    if (sphere.IsFinite()) return FALSE;
    return TRUE;
}
Пример #3
0
RNBoolean R3Contains(const R3Sphere& sphere, const R3Ray& ray)
{
    // Return whether sphere contains ray
    if (sphere.IsFinite()) return FALSE;
    return TRUE;
}