示例#1
0
        protected override SLExpression VisitLineReference(LineReferenceExpression lineReferenceExpression)
        {
            var line = PolygonLines.Cast <IdentifiedLineExpression>()
                       .First(l => l.Id == lineReferenceExpression.Id);

            return(Visit(line));
        }
示例#2
0
 protected override SLExpression VisitLineReference(LineReferenceExpression lineReferenceExpression)
 {
     throw new NotSupportedException("LineReferenceExpression must be replaced before this step.");
 }
示例#3
0
 protected virtual SLExpression VisitLineReference(LineReferenceExpression lineReferenceExpression)
 {
     return(lineReferenceExpression);
 }