示例#1
0
        public bool Intersects(Path otherPath)
        {
            var lastTimeStamp = Length > otherPath.Length ? Length : otherPath.Length;

            for (var i = 0; i <= lastTimeStamp; i++)
            {
                if (GetNodeAtTime(i) == otherPath.GetNodeAtTime(i))
                {
                    return(true);
                }
            }

            return(false);
        }