Exemple #1
0
        internal void Add(VectorOfPoint vector, double angle)
        {
            var item = new VectorOfPointAtAngle(vector, angle);

            if (!_cache.Contains(item))
            {
                _cache.Add(item);
            }
        }
Exemple #2
0
        internal bool Contains(VectorOfPoint vector, double angle)
        {
            var item = new VectorOfPointAtAngle(vector, angle);

            return(_cache.Contains(item));
        }