Initialize.inOct C# (CSharp) Méthode

inOct() public méthode

public inOct ( int x, int y, int z, List octList ) : bool
x int
y int
z int
octList List
Résultat bool
    public bool inOct(int x, int y, int z, List<int> octList)
    {
        int xmin = 0;
        int ymin = 0;
        int zmin = 0;

        CommonUtility.GetBoundaries (CommonUtility.getStringFromList (octList), ref xmin, ref ymin, ref zmin);
        if (x > xmin && x < (xmin + 512) && y > ymin && y < (ymin + 512) && z > zmin && z < (zmin + 512)) {
            return true;
        } else {
            return false;
        }
    }