OpenSim/Framework/Util.cs
/// <summary>
/// Determines whether a point is inside a bounding box.
/// </summary>
/// <param name='v'></param>
/// <param name='min'></param>
/// <param name='max'></param>
/// <returns></returns>
Determines whether a point is inside a bounding box.
Determines whether a point is inside a bounding box .
public static bool IsInsideBox(Vector3 v, Vector3 min, Vector3 max)
        {
            return v.X >= min.X & v.Y >= min.Y && v.Z >= min.Z
                && v.X <= max.X && v.Y <= max.Y && v.Z <= max.Z;
        }
public static bool IsInsideBox ( Vector3 v , Vector3 min , Vector3 max ) { return v . X >= min . X & v . Y >= min . Y && v . Z >= min . Z && v . X <= max . X && v . Y <= max . Y && v . Z <= max . Z ; }
Determines whether a point is inside a bounding box.
Determines whether a point is inside a bounding box .
None
v
Vector3
None
min
Vector3
None
max
Vector3
None