/***************************************************/ public static KiteProfile InterpolateProfile(KiteProfile startProfile, KiteProfile endProfile, double parameter, int interpolationOrder, double domainStart = 0, double domainEnd = 1) { return(Create.KiteProfile( Interpolate(startProfile.Width1, endProfile.Width1, parameter, interpolationOrder, domainStart, domainEnd), Interpolate(startProfile.Angle1, endProfile.Angle1, parameter, interpolationOrder, domainStart, domainEnd), Interpolate(startProfile.Thickness, endProfile.Thickness, parameter, interpolationOrder, domainStart, domainEnd))); }
public static string Description(this KiteProfile profile) { if (profile == null) { return("null profile"); } return($"Kite {profile.Angle1:G2}x{profile.Width1:G3}x{profile.Thickness:G3}"); }
public static double Thickness(this KiteProfile kiteProfile) { return(kiteProfile.Thickness); }
/***************************************************/ public static string Description(this KiteProfile profile) { return("Kite " + Math.Round(profile.Angle1, 2) + "x" + profile.Width1 + "x" + profile.Thickness); }
public static double WarpingConstant(this KiteProfile profile) { return(profile.IsNull() ? 0 : 0); }
public static double WarpingConstant(this KiteProfile profile) { return(0); }
/***************************************************/ private bool SetProfile(KiteProfile bhomProfile, string sectionName, string matName) { Engine.Base.Compute.RecordError("KiteProfile is not yet implemented in SAP2000 adapter"); return(false); }
/***************************************************/ private bool CreateProfile(string name, KiteProfile profile) { Engine.Base.Compute.RecordError("KiteProfile not supported in Lusas_Toolkit"); return(false); }