当前位置: 首页>>代码示例>>C#>>正文


C# GH_Component.Register_RectangleParam方法代码示例

本文整理汇总了C#中GH_Component.Register_RectangleParam方法的典型用法代码示例。如果您正苦于以下问题:C# GH_Component.Register_RectangleParam方法的具体用法?C# GH_Component.Register_RectangleParam怎么用?C# GH_Component.Register_RectangleParam使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在GH_Component的用法示例。


在下文中一共展示了GH_Component.Register_RectangleParam方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RegisterOutputParams

 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.RegisterParam(new GHParam_DHr(), "Dhours", "Dhrs", "The spatialized Dhours.  A new stream of hours is produced for each key given.", GH_ParamAccess.tree);
     pManager.Register_IntervalParam("Ranges", "Ranges", "A tree of Intervals.  The first branch contains the interval plotted to the graph (the interval found in the Scale input, if set).  The second branch contains a list of intervals that describe the range of values found for the given list keys.", GH_ParamAccess.tree);
     pManager.Register_PointParam("Positions", "Pts", "The assigned positions of the hours", GH_ParamAccess.tree);
     pManager.Register_PointParam("Base Points", "BsPts", "A point on the x-axis of the graph for each hour given.  Useful for making area charts.", GH_ParamAccess.tree);
     pManager.Register_RectangleParam("Regions", "Rgns", "Regions that represent the area on the resulting graph occupied by each hour given.  These rectangles form a bar graph plotted on the resulting graph, one rectangle per hour given.", GH_ParamAccess.tree);
 }
开发者ID:ksteinfe,项目名称:dyear,代码行数:8,代码来源:Components+Spatializing.cs


注:本文中的GH_Component.Register_RectangleParam方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。