Пример #1
0
        internal override IEnumerable <StepSyntax> GetParameters(StepWriter writer)
        {
            foreach (var parameter in base.GetParameters(writer))
            {
                yield return(parameter);
            }

            yield return(writer.GetItemSyntax(Point));

            yield return(writer.GetItemSyntax(Vector));
        }
Пример #2
0
        internal override IEnumerable <StepSyntax> GetParameters(StepWriter writer)
        {
            foreach (var parameter in base.GetParameters(writer))
            {
                yield return(parameter);
            }

            yield return(writer.GetItemSyntax(Location));

            yield return(writer.GetItemSyntax(RefDirection));
        }
Пример #3
0
        internal override IEnumerable <StepSyntax> GetParameters(StepWriter writer)
        {
            foreach (var parameter in base.GetParameters(writer))
            {
                yield return(parameter);
            }

            yield return(new StepSyntaxList(Bounds.Select(b => writer.GetItemSyntax(b))));
        }
Пример #4
0
        internal override IEnumerable <StepSyntax> GetParameters(StepWriter writer)
        {
            foreach (var parameter in base.GetParameters(writer))
            {
                yield return(parameter);
            }

            yield return(writer.GetItemSyntax(Bound));

            yield return(StepWriter.GetBooleanSyntax(Orientation));
        }
Пример #5
0
        internal override IEnumerable <StepSyntax> GetParameters(StepWriter writer)
        {
            foreach (var parameter in base.GetParameters(writer))
            {
                yield return(parameter);
            }

            yield return(writer.GetItemSyntax(EdgeGeometry));

            yield return(StepWriter.GetBooleanSyntax(IsSameSense));
        }
Пример #6
0
        internal override IEnumerable <StepSyntax> GetParameters(StepWriter writer)
        {
            foreach (var parameter in base.GetParameters(writer))
            {
                yield return(parameter);
            }

            yield return(writer.GetItemSyntax(Position));

            yield return(new StepRealSyntax(Radius));
        }
Пример #7
0
        internal override IEnumerable <StepSyntax> GetParameters(StepWriter writer)
        {
            foreach (var parameter in base.GetParameters(writer))
            {
                yield return(parameter);
            }

            yield return(writer.GetItemSyntax(FaceGeometry));

            yield return(new StepEnumerationValueSyntax(SameSense ? "F": "T"));
        }
Пример #8
0
        internal override IEnumerable <StepSyntax> GetParameters(StepWriter writer)
        {
            foreach (var parameter in base.GetParameters(writer))
            {
                yield return(parameter);
            }

            yield return(new StepIntegerSyntax(Degree));

            yield return(new StepSyntaxList(ControlPointsList.Select(c => writer.GetItemSyntax(c))));

            yield return(new StepEnumerationValueSyntax(GetCurveFormString(CurveForm)));

            yield return(new StepEnumerationValueSyntax(ClosedCurve ? "T" : "F"));

            yield return(new StepEnumerationValueSyntax(SelfIntersect ? "T" : "F"));
        }