Example #1
0
        protected virtual SLExpression VisitEquidistantPoint(EquidistantPointExpression equidistantPointExpression)
        {
            var points = equidistantPointExpression.Points.Select(Visit).ToArray();

            if (HasChanged(points, equidistantPointExpression.Points))
            {
                return(new EquidistantPointExpression
                {
                    Points = points.Cast <PointExpression>().ToArray(),
                });
            }
            return(equidistantPointExpression);
        }
Example #2
0
        protected override SLExpression VisitEquidistantPoint(EquidistantPointExpression equidistantPointExpression)
        {
            var points = equidistantPointExpression.Points.Select(Visit).Cast <CoordinatesPointExpression>().ToArray();

            return(GetEquidistantPoint(points));
        }