public override string GetStepParameters()
        {
            var parameters = new List <string>();

            parameters.Add(ProfileType.ToStepValue());
            parameters.Add(ProfileName != null ? ProfileName.ToStepValue() : "$");
            parameters.Add(OuterCurve != null ? OuterCurve.ToStepValue() : "$");
            parameters.Add(InnerCurves != null ? InnerCurves.ToStepValue() : "$");

            return(string.Join(", ", parameters.ToArray()));
        }
        private double LinDataEquationRightPartFucntion(double t)
        {
            var core = new DoubleCore <Point>(DataEquationOperatorCore);

            core.Prepare(new Point(
                             OuterCurve.GetX(t),
                             OuterCurve.GetY(t)));

            var result = -Integral.CalculateWithTrapeziumMethod(Density, core)
                         - Omega1(t);

            return(result);
        }
Exemplo n.º 3
0
 protected override void setJSON(JObject obj, BaseClassIfc host, HashSet <int> processed)
 {
     base.setJSON(obj, host, processed);
     obj["OuterCurve"] = OuterCurve.getJson(this, processed);
 }
Exemplo n.º 4
0
 protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options)
 {
     base.setJSON(obj, host, options);
     obj["OuterCurve"] = OuterCurve.getJson(this, options);
 }
Exemplo n.º 5
0
 internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
 {
     base.SetXML(xml, host, processed);
     xml.AppendChild(OuterCurve.GetXML(xml.OwnerDocument, "OuterCurve", this, processed));
 }