/*******************************************/ public int QC_CompareTo(IGH_QuickCast other) { double a = QC_Num(); double b = other.QC_Num(); return(a.CompareTo(b)); }
static public float readFloat(GH_Component u, IGH_DataAccess da, int idx, string msg) { IGH_QuickCast c = null; var r = da.GetData(idx, ref c); u.Message = !r ? msg : ""; return((float)(c?.QC_Num() ?? 0.0)); }