示例#1
0
        public override string GetStepParameters()
        {
            var parameters = new List <string>();

            parameters.Add(Degree != null ? Degree.ToStepValue() : "$");
            parameters.Add(ControlPointsList != null ? ControlPointsList.ToStepValue() : "$");
            parameters.Add(CurveForm != null ? CurveForm.ToStepValue() : "$");
            parameters.Add(ClosedCurve != null ? ClosedCurve.ToStepValue() : "$");
            parameters.Add(SelfIntersect != null ? SelfIntersect.ToStepValue() : "$");
            parameters.Add(KnotMultiplicities != null ? KnotMultiplicities.ToStepValue() : "$");
            parameters.Add(Knots != null ? Knots.ToStepValue() : "$");
            parameters.Add(KnotSpec != null ? KnotSpec.ToStepValue() : "$");
            parameters.Add(WeightsData != null ? WeightsData.ToStepValue() : "$");

            return(string.Join(", ", parameters.ToArray()));
        }
        public override string GetStepParameters()
        {
            var parameters = new List <string>();

            parameters.Add(UDegree != null ? UDegree.ToStepValue() : "$");
            parameters.Add(VDegree != null ? VDegree.ToStepValue() : "$");
            parameters.Add(ControlPointsList != null ? ControlPointsList.ToStepValue() : "$");
            parameters.Add(SurfaceForm != null ? SurfaceForm.ToStepValue() : "$");
            parameters.Add(UClosed != null ? UClosed.ToStepValue() : "$");
            parameters.Add(VClosed != null ? VClosed.ToStepValue() : "$");
            parameters.Add(SelfIntersect != null ? SelfIntersect.ToStepValue() : "$");
            parameters.Add(UMultiplicities != null ? UMultiplicities.ToStepValue() : "$");
            parameters.Add(VMultiplicities != null ? VMultiplicities.ToStepValue() : "$");
            parameters.Add(UKnots != null ? UKnots.ToStepValue() : "$");
            parameters.Add(VKnots != null ? VKnots.ToStepValue() : "$");
            parameters.Add(KnotSpec != null ? KnotSpec.ToStepValue() : "$");
            parameters.Add(WeightsData != null ? WeightsData.ToStepValue() : "$");

            return(string.Join(", ", parameters.ToArray()));
        }