scriptup 2026.0.0 → 2026.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (489) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -24
  3. data/ext/arc_curve.c +50 -0
  4. data/ext/attribute_dictionaries.c +49 -32
  5. data/ext/attribute_dictionary.c +54 -127
  6. data/ext/axes.c +79 -0
  7. data/ext/behavior.c +100 -9
  8. data/ext/bounding_box.c +195 -0
  9. data/ext/camera.c +178 -0
  10. data/ext/classifications.c +85 -0
  11. data/ext/color.c +91 -163
  12. data/ext/component_definition.c +78 -162
  13. data/ext/component_instance.c +88 -9
  14. data/ext/construction.c +59 -0
  15. data/ext/curve.c +87 -0
  16. data/ext/definition_list.c +89 -109
  17. data/ext/depend +1 -0
  18. data/ext/drawing_element.c +96 -117
  19. data/ext/edge.c +147 -0
  20. data/ext/edge_use.c +37 -0
  21. data/ext/entities.c +573 -16
  22. data/ext/entities_builder.c +145 -0
  23. data/ext/entity.c +175 -212
  24. data/ext/environments.c +149 -0
  25. data/ext/extconf.rb +54 -10
  26. data/ext/face.c +331 -0
  27. data/ext/geom.c +172 -0
  28. data/ext/group.c +86 -0
  29. data/ext/helpers.c +244 -0
  30. data/ext/image.c +182 -0
  31. data/ext/image_rep.c +158 -0
  32. data/ext/instance_path.c +185 -0
  33. data/ext/lat_long.c +88 -0
  34. data/ext/layer.c +98 -0
  35. data/ext/layer_folder.c +99 -0
  36. data/ext/layers.c +122 -0
  37. data/ext/length.c +253 -0
  38. data/ext/line_styles.c +60 -0
  39. data/ext/loop.c +24 -0
  40. data/ext/material.c +144 -197
  41. data/ext/materials.c +49 -60
  42. data/ext/model.c +232 -26
  43. data/ext/options_store.c +188 -0
  44. data/ext/page.c +168 -0
  45. data/ext/pages.c +135 -0
  46. data/ext/point2d.c +195 -0
  47. data/ext/point3d.c +340 -0
  48. data/ext/polygon_mesh.c +253 -0
  49. data/ext/scriptup.h +279 -0
  50. data/ext/section_plane.c +44 -0
  51. data/ext/sketchup.c +102 -76
  52. data/ext/styles.c +91 -0
  53. data/ext/text.c +135 -0
  54. data/ext/texture.c +74 -83
  55. data/ext/texture_writer.c +104 -0
  56. data/ext/transformation.c +309 -0
  57. data/ext/transformation2d.c +190 -0
  58. data/ext/uv_helper.c +41 -0
  59. data/ext/vector2d.c +238 -0
  60. data/ext/vector3d.c +294 -0
  61. data/ext/vertex.c +67 -0
  62. data/lib/sketchup.rb +2 -2
  63. data/sig/_top_level.rbs +188 -0
  64. data/sig/array.rbs +52 -0
  65. data/sig/geom/bounding_box.rbs +28 -0
  66. data/sig/geom/bounds2d.rbs +20 -0
  67. data/sig/geom/lat_long.rbs +13 -0
  68. data/sig/geom/oriented_bounds2d.rbs +10 -0
  69. data/sig/geom/point2d.rbs +32 -0
  70. data/sig/geom/point3d.rbs +46 -0
  71. data/sig/geom/polygon_mesh.rbs +35 -0
  72. data/sig/geom/transformation.rbs +44 -0
  73. data/sig/geom/transformation2d.rbs +26 -0
  74. data/sig/geom/utm.rbs +14 -0
  75. data/sig/geom/vector2d.rbs +40 -0
  76. data/sig/geom/vector3d.rbs +49 -0
  77. data/sig/geom.rbs +25 -0
  78. data/sig/language_handler.rbs +8 -0
  79. data/sig/layout/angular_dimension.rbs +32 -0
  80. data/sig/layout/auto_text_definition.rbs +73 -0
  81. data/sig/layout/auto_text_definitions.rbs +15 -0
  82. data/sig/layout/connection_point.rbs +6 -0
  83. data/sig/layout/dictionary.rbs +18 -0
  84. data/sig/layout/document.rbs +61 -0
  85. data/sig/layout/ellipse.rbs +5 -0
  86. data/sig/layout/entities.rbs +10 -0
  87. data/sig/layout/entity.rbs +28 -0
  88. data/sig/layout/formatted_text.rbs +30 -0
  89. data/sig/layout/grid.rbs +24 -0
  90. data/sig/layout/group.rbs +17 -0
  91. data/sig/layout/image.rbs +7 -0
  92. data/sig/layout/label.rbs +31 -0
  93. data/sig/layout/layer.rbs +21 -0
  94. data/sig/layout/layer_instance.rbs +9 -0
  95. data/sig/layout/layers.rbs +18 -0
  96. data/sig/layout/linear_dimension.rbs +39 -0
  97. data/sig/layout/locked_entity_error.rbs +4 -0
  98. data/sig/layout/locked_layer_error.rbs +4 -0
  99. data/sig/layout/page.rbs +20 -0
  100. data/sig/layout/page_info.rbs +37 -0
  101. data/sig/layout/pages.rbs +17 -0
  102. data/sig/layout/path.rbs +34 -0
  103. data/sig/layout/rectangle.rbs +15 -0
  104. data/sig/layout/reference_entity.rbs +7 -0
  105. data/sig/layout/sketch_up_model.rbs +54 -0
  106. data/sig/layout/style.rbs +150 -0
  107. data/sig/layout/table.rbs +17 -0
  108. data/sig/layout/table_cell.rbs +13 -0
  109. data/sig/layout/table_column.rbs +10 -0
  110. data/sig/layout/table_row.rbs +10 -0
  111. data/sig/layout.rbs +4 -0
  112. data/sig/length.rbs +37 -0
  113. data/sig/numeric.rbs +23 -0
  114. data/sig/sketchup/animation.rbs +8 -0
  115. data/sig/sketchup/app_observer.rbs +11 -0
  116. data/sig/sketchup/arc_curve.rbs +14 -0
  117. data/sig/sketchup/attribute_dictionaries.rbs +11 -0
  118. data/sig/sketchup/attribute_dictionary.rbs +18 -0
  119. data/sig/sketchup/axes.rbs +13 -0
  120. data/sig/sketchup/behavior.rbs +19 -0
  121. data/sig/sketchup/camera.rbs +33 -0
  122. data/sig/sketchup/classification_schema.rbs +8 -0
  123. data/sig/sketchup/classifications.rbs +12 -0
  124. data/sig/sketchup/color.rbs +22 -0
  125. data/sig/sketchup/component_definition.rbs +43 -0
  126. data/sig/sketchup/component_instance.rbs +32 -0
  127. data/sig/sketchup/console.rbs +8 -0
  128. data/sig/sketchup/construction_line.rbs +17 -0
  129. data/sig/sketchup/construction_point.rbs +5 -0
  130. data/sig/sketchup/curve.rbs +13 -0
  131. data/sig/sketchup/definition_list.rbs +26 -0
  132. data/sig/sketchup/definition_observer.rbs +6 -0
  133. data/sig/sketchup/definitions_observer.rbs +8 -0
  134. data/sig/sketchup/dimension.rbs +18 -0
  135. data/sig/sketchup/dimension_linear.rbs +24 -0
  136. data/sig/sketchup/dimension_observer.rbs +5 -0
  137. data/sig/sketchup/dimension_radial.rbs +9 -0
  138. data/sig/sketchup/drawingelement.rbs +18 -0
  139. data/sig/sketchup/edge.rbs +24 -0
  140. data/sig/sketchup/edge_use.rbs +13 -0
  141. data/sig/sketchup/entities.rbs +61 -0
  142. data/sig/sketchup/entities_builder.rbs +15 -0
  143. data/sig/sketchup/entities_observer.rbs +9 -0
  144. data/sig/sketchup/entity.rbs +21 -0
  145. data/sig/sketchup/entity_observer.rbs +6 -0
  146. data/sig/sketchup/environment.rbs +25 -0
  147. data/sig/sketchup/environments.rbs +18 -0
  148. data/sig/sketchup/environments_observer.rbs +8 -0
  149. data/sig/sketchup/extensions_manager.rbs +11 -0
  150. data/sig/sketchup/face.rbs +44 -0
  151. data/sig/sketchup/frame_change_observer.rbs +5 -0
  152. data/sig/sketchup/group.rbs +38 -0
  153. data/sig/sketchup/http/request.rbs +17 -0
  154. data/sig/sketchup/http/response.rbs +7 -0
  155. data/sig/sketchup/http.rbs +27 -0
  156. data/sig/sketchup/image.rbs +23 -0
  157. data/sig/sketchup/image_rep.rbs +17 -0
  158. data/sig/sketchup/importer.rbs +14 -0
  159. data/sig/sketchup/input_point.rbs +25 -0
  160. data/sig/sketchup/instance_observer.rbs +6 -0
  161. data/sig/sketchup/instance_path.rbs +20 -0
  162. data/sig/sketchup/layer.rbs +20 -0
  163. data/sig/sketchup/layer_folder.rbs +26 -0
  164. data/sig/sketchup/layers.rbs +30 -0
  165. data/sig/sketchup/layers_observer.rbs +13 -0
  166. data/sig/sketchup/licensing/extension_license.rbs +8 -0
  167. data/sig/sketchup/licensing.rbs +15 -0
  168. data/sig/sketchup/line_style.rbs +5 -0
  169. data/sig/sketchup/line_styles.rbs +13 -0
  170. data/sig/sketchup/load_handler.rbs +8 -0
  171. data/sig/sketchup/loop.rbs +10 -0
  172. data/sig/sketchup/material.rbs +74 -0
  173. data/sig/sketchup/materials.rbs +22 -0
  174. data/sig/sketchup/materials_observer.rbs +10 -0
  175. data/sig/sketchup/menu.rbs +9 -0
  176. data/sig/sketchup/model.rbs +105 -0
  177. data/sig/sketchup/model_observer.rbs +23 -0
  178. data/sig/sketchup/options_manager.rbs +12 -0
  179. data/sig/sketchup/options_provider.rbs +23 -0
  180. data/sig/sketchup/options_provider_observer.rbs +5 -0
  181. data/sig/sketchup/overlay.rbs +21 -0
  182. data/sig/sketchup/overlays_manager.rbs +10 -0
  183. data/sig/sketchup/page.rbs +55 -0
  184. data/sig/sketchup/pages.rbs +25 -0
  185. data/sig/sketchup/pages_observer.rbs +7 -0
  186. data/sig/sketchup/pick_helper.rbs +28 -0
  187. data/sig/sketchup/regional_settings.rbs +7 -0
  188. data/sig/sketchup/rendering_options.rbs +89 -0
  189. data/sig/sketchup/rendering_options_observer.rbs +5 -0
  190. data/sig/sketchup/section_plane.rbs +12 -0
  191. data/sig/sketchup/selection.rbs +31 -0
  192. data/sig/sketchup/selection_observer.rbs +8 -0
  193. data/sig/sketchup/set.rbs +15 -0
  194. data/sig/sketchup/shadow_info.rbs +18 -0
  195. data/sig/sketchup/shadow_info_observer.rbs +5 -0
  196. data/sig/sketchup/skp.rbs +5 -0
  197. data/sig/sketchup/snap.rbs +10 -0
  198. data/sig/sketchup/style.rbs +9 -0
  199. data/sig/sketchup/styles.rbs +21 -0
  200. data/sig/sketchup/text.rbs +22 -0
  201. data/sig/sketchup/texture.rbs +14 -0
  202. data/sig/sketchup/texture_writer.rbs +14 -0
  203. data/sig/sketchup/tool.rbs +45 -0
  204. data/sig/sketchup/tools.rbs +14 -0
  205. data/sig/sketchup/tools_observer.rbs +6 -0
  206. data/sig/sketchup/uv_helper.rbs +6 -0
  207. data/sig/sketchup/vertex.rbs +11 -0
  208. data/sig/sketchup/view.rbs +87 -0
  209. data/sig/sketchup/view_observer.rbs +6 -0
  210. data/sig/sketchup.rbs +137 -0
  211. data/sig/sketchup_extension.rbs +23 -0
  212. data/sig/string.rbs +5 -0
  213. data/sig/ui/command.rbs +20 -0
  214. data/sig/ui/html_dialog.rbs +29 -0
  215. data/sig/ui/notification.rbs +16 -0
  216. data/sig/ui/toolbar.rbs +18 -0
  217. data/sig/ui/web_dialog.rbs +38 -0
  218. data/sig/ui.rbs +66 -0
  219. metadata +204 -275
  220. data/ext/attribute_dictionaries.h +0 -8
  221. data/ext/attribute_dictionary.h +0 -8
  222. data/ext/behavior.h +0 -8
  223. data/ext/color.h +0 -8
  224. data/ext/component_definition.h +0 -8
  225. data/ext/component_instance.h +0 -8
  226. data/ext/definition_list.h +0 -8
  227. data/ext/drawing_element.h +0 -8
  228. data/ext/entities.h +0 -8
  229. data/ext/entity.h +0 -8
  230. data/ext/material.h +0 -8
  231. data/ext/materials.h +0 -8
  232. data/ext/model.h +0 -8
  233. data/ext/not_implemented.c +0 -88
  234. data/ext/not_implemented.h +0 -20
  235. data/ext/sketchup.h +0 -9
  236. data/ext/texture.h +0 -8
  237. data/ext/typed_value.c +0 -84
  238. data/ext/typed_value.h +0 -11
  239. data/ext/utils.h +0 -111
  240. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/application.h +0 -36
  241. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/model.h +0 -59
  242. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/overlay.h +0 -248
  243. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/application/ruby_api.h +0 -118
  244. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/color.h +0 -107
  245. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/common.h +0 -178
  246. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/defs.h +0 -19
  247. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/extension_license.h +0 -62
  248. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/bounding_box.h +0 -34
  249. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/plane3d.h +0 -153
  250. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point2d.h +0 -96
  251. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/point3d.h +0 -98
  252. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/ray3d.h +0 -64
  253. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation.h +0 -321
  254. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/transformation2d.h +0 -163
  255. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector2d.h +0 -235
  256. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry/vector3d.h +0 -285
  257. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/geometry.h +0 -152
  258. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelexporterplugin.h +0 -165
  259. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/modelimporterplugin.h +0 -183
  260. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/import_export/pluginprogresscallback.h +0 -84
  261. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/initialize.h +0 -43
  262. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/length_formatter.h +0 -424
  263. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arccurve.h +0 -244
  264. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/arrow_type.h +0 -17
  265. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/attribute_dictionary.h +0 -161
  266. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/axes.h +0 -242
  267. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/camera.h +0 -398
  268. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_attribute.h +0 -89
  269. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classification_info.h +0 -125
  270. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/classifications.h +0 -86
  271. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_definition.h +0 -588
  272. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/component_instance.h +0 -344
  273. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/curve.h +0 -143
  274. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/defs.h +0 -142
  275. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension.h +0 -222
  276. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_linear.h +0 -421
  277. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_radial.h +0 -194
  278. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dimension_style.h +0 -253
  279. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/drawing_element.h +0 -198
  280. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_attribute.h +0 -92
  281. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/dynamic_component_info.h +0 -70
  282. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge.h +0 -271
  283. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/edge_use.h +0 -214
  284. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entities.h +0 -834
  285. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity.h +0 -186
  286. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list.h +0 -80
  287. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/entity_list_iterator.h +0 -90
  288. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/face.h +0 -686
  289. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/font.h +0 -138
  290. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry.h +0 -20
  291. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/geometry_input.h +0 -685
  292. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/group.h +0 -244
  293. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_line.h +0 -155
  294. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/guide_point.h +0 -153
  295. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image.h +0 -288
  296. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/image_rep.h +0 -275
  297. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/instancepath.h +0 -266
  298. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer.h +0 -265
  299. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/layer_folder.h +0 -301
  300. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_style.h +0 -211
  301. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/line_styles.h +0 -81
  302. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/location.h +0 -65
  303. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/loop.h +0 -182
  304. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/material.h +0 -390
  305. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/mesh_helper.h +0 -187
  306. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model.h +0 -1663
  307. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/model_version.h +0 -49
  308. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/opening.h +0 -72
  309. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_manager.h +0 -79
  310. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/options_provider.h +0 -166
  311. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/polyline3d.h +0 -140
  312. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/rendering_options.h +0 -179
  313. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/scene.h +0 -836
  314. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema.h +0 -56
  315. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/schema_type.h +0 -26
  316. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/section_plane.h +0 -212
  317. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/selection.h +0 -156
  318. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/shadow_info.h +0 -147
  319. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/skp.h +0 -45
  320. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/style.h +0 -303
  321. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/styles.h +0 -190
  322. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/text.h +0 -384
  323. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture.h +0 -358
  324. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/texture_writer.h +0 -280
  325. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/typed_value.h +0 -390
  326. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/uv_helper.h +0 -79
  327. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/model/vertex.h +0 -154
  328. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup.h +0 -122
  329. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/sketchup_info.h +0 -65
  330. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/slapi.h +0 -16
  331. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/transformation.h +0 -16
  332. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/unicodestring.h +0 -239
  333. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Headers/utils/math_helpers.h +0 -124
  334. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonGeometry.dylib +0 -0
  335. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonGeoutils.dylib +0 -0
  336. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonImage.dylib +0 -4
  337. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonPreferences.dylib +0 -0
  338. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonUnits.dylib +0 -0
  339. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonUtils.dylib +0 -0
  340. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Libraries/libCommonZip.dylib +0 -0
  341. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/Resources/Info.plist +0 -50
  342. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/SketchUpAPI +0 -0
  343. data/sketchup-sdk-mac/SketchUpAPI.framework/Versions/A/_CodeSignature/CodeResources +0 -835
  344. data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.dll +0 -0
  345. data/sketchup-sdk-win/binaries/layout/x64/LayOutAPI.lib +0 -0
  346. data/sketchup-sdk-win/binaries/layout/x64/LayOutControllers.dll +0 -0
  347. data/sketchup-sdk-win/binaries/layout/x64/LayOutModel.dll +0 -0
  348. data/sketchup-sdk-win/binaries/layout/x64/LayOutRTF.dll +0 -0
  349. data/sketchup-sdk-win/binaries/layout/x64/LayOutUtils.dll +0 -0
  350. data/sketchup-sdk-win/binaries/layout/x64/SketchUpCommonPreferences.dll +0 -0
  351. data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.dll +0 -0
  352. data/sketchup-sdk-win/binaries/layout/x64/SketchUpViewerAPI.lib +0 -0
  353. data/sketchup-sdk-win/binaries/layout/x64/pdflib.dll +0 -0
  354. data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.dll +0 -0
  355. data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpAPI.lib +0 -0
  356. data/sketchup-sdk-win/binaries/sketchup/x64/SketchUpCommonPreferences.dll +0 -0
  357. data/sketchup-sdk-win/binaries/sketchup/x64/sketchup.lib +0 -0
  358. data/sketchup-sdk-win/headers/LayOutAPI/application/application.h +0 -117
  359. data/sketchup-sdk-win/headers/LayOutAPI/common.h +0 -22
  360. data/sketchup-sdk-win/headers/LayOutAPI/geometry/geometry.h +0 -78
  361. data/sketchup-sdk-win/headers/LayOutAPI/initialize.h +0 -36
  362. data/sketchup-sdk-win/headers/LayOutAPI/layout.h +0 -49
  363. data/sketchup-sdk-win/headers/LayOutAPI/model/angulardimension.h +0 -468
  364. data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinition.h +0 -569
  365. data/sketchup-sdk-win/headers/LayOutAPI/model/autotextdefinitionlist.h +0 -79
  366. data/sketchup-sdk-win/headers/LayOutAPI/model/connectionpoint.h +0 -107
  367. data/sketchup-sdk-win/headers/LayOutAPI/model/defs.h +0 -42
  368. data/sketchup-sdk-win/headers/LayOutAPI/model/dictionary.h +0 -120
  369. data/sketchup-sdk-win/headers/LayOutAPI/model/document.h +0 -864
  370. data/sketchup-sdk-win/headers/LayOutAPI/model/documentexportoptions.h +0 -59
  371. data/sketchup-sdk-win/headers/LayOutAPI/model/ellipse.h +0 -78
  372. data/sketchup-sdk-win/headers/LayOutAPI/model/entity.h +0 -330
  373. data/sketchup-sdk-win/headers/LayOutAPI/model/entityiterator.h +0 -49
  374. data/sketchup-sdk-win/headers/LayOutAPI/model/entitylist.h +0 -114
  375. data/sketchup-sdk-win/headers/LayOutAPI/model/formattedtext.h +0 -397
  376. data/sketchup-sdk-win/headers/LayOutAPI/model/grid.h +0 -251
  377. data/sketchup-sdk-win/headers/LayOutAPI/model/group.h +0 -243
  378. data/sketchup-sdk-win/headers/LayOutAPI/model/image.h +0 -146
  379. data/sketchup-sdk-win/headers/LayOutAPI/model/imagerep.h +0 -109
  380. data/sketchup-sdk-win/headers/LayOutAPI/model/label.h +0 -332
  381. data/sketchup-sdk-win/headers/LayOutAPI/model/layer.h +0 -207
  382. data/sketchup-sdk-win/headers/LayOutAPI/model/layerinstance.h +0 -117
  383. data/sketchup-sdk-win/headers/LayOutAPI/model/layerlist.h +0 -69
  384. data/sketchup-sdk-win/headers/LayOutAPI/model/lineardimension.h +0 -456
  385. data/sketchup-sdk-win/headers/LayOutAPI/model/page.h +0 -261
  386. data/sketchup-sdk-win/headers/LayOutAPI/model/pageinfo.h +0 -372
  387. data/sketchup-sdk-win/headers/LayOutAPI/model/pagelist.h +0 -81
  388. data/sketchup-sdk-win/headers/LayOutAPI/model/path.h +0 -464
  389. data/sketchup-sdk-win/headers/LayOutAPI/model/rectangle.h +0 -240
  390. data/sketchup-sdk-win/headers/LayOutAPI/model/referenceentity.h +0 -120
  391. data/sketchup-sdk-win/headers/LayOutAPI/model/sketchupmodel.h +0 -624
  392. data/sketchup-sdk-win/headers/LayOutAPI/model/skpfilereference.h +0 -94
  393. data/sketchup-sdk-win/headers/LayOutAPI/model/style.h +0 -1080
  394. data/sketchup-sdk-win/headers/LayOutAPI/model/table.h +0 -470
  395. data/sketchup-sdk-win/headers/LayOutAPI/model/typed_value.h +0 -156
  396. data/sketchup-sdk-win/headers/SketchUpAPI/application/application.h +0 -36
  397. data/sketchup-sdk-win/headers/SketchUpAPI/application/model.h +0 -59
  398. data/sketchup-sdk-win/headers/SketchUpAPI/application/overlay.h +0 -248
  399. data/sketchup-sdk-win/headers/SketchUpAPI/application/ruby_api.h +0 -118
  400. data/sketchup-sdk-win/headers/SketchUpAPI/color.h +0 -107
  401. data/sketchup-sdk-win/headers/SketchUpAPI/common.h +0 -178
  402. data/sketchup-sdk-win/headers/SketchUpAPI/defs.h +0 -19
  403. data/sketchup-sdk-win/headers/SketchUpAPI/extension_license.h +0 -62
  404. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/bounding_box.h +0 -34
  405. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/plane3d.h +0 -153
  406. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point2d.h +0 -96
  407. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/point3d.h +0 -98
  408. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/ray3d.h +0 -64
  409. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation.h +0 -321
  410. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/transformation2d.h +0 -163
  411. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector2d.h +0 -235
  412. data/sketchup-sdk-win/headers/SketchUpAPI/geometry/vector3d.h +0 -285
  413. data/sketchup-sdk-win/headers/SketchUpAPI/geometry.h +0 -152
  414. data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelexporterplugin.h +0 -165
  415. data/sketchup-sdk-win/headers/SketchUpAPI/import_export/modelimporterplugin.h +0 -183
  416. data/sketchup-sdk-win/headers/SketchUpAPI/import_export/pluginprogresscallback.h +0 -84
  417. data/sketchup-sdk-win/headers/SketchUpAPI/initialize.h +0 -43
  418. data/sketchup-sdk-win/headers/SketchUpAPI/length_formatter.h +0 -424
  419. data/sketchup-sdk-win/headers/SketchUpAPI/model/arccurve.h +0 -244
  420. data/sketchup-sdk-win/headers/SketchUpAPI/model/arrow_type.h +0 -17
  421. data/sketchup-sdk-win/headers/SketchUpAPI/model/attribute_dictionary.h +0 -161
  422. data/sketchup-sdk-win/headers/SketchUpAPI/model/axes.h +0 -242
  423. data/sketchup-sdk-win/headers/SketchUpAPI/model/camera.h +0 -398
  424. data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_attribute.h +0 -89
  425. data/sketchup-sdk-win/headers/SketchUpAPI/model/classification_info.h +0 -125
  426. data/sketchup-sdk-win/headers/SketchUpAPI/model/classifications.h +0 -86
  427. data/sketchup-sdk-win/headers/SketchUpAPI/model/component_definition.h +0 -588
  428. data/sketchup-sdk-win/headers/SketchUpAPI/model/component_instance.h +0 -344
  429. data/sketchup-sdk-win/headers/SketchUpAPI/model/curve.h +0 -143
  430. data/sketchup-sdk-win/headers/SketchUpAPI/model/defs.h +0 -142
  431. data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension.h +0 -222
  432. data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_linear.h +0 -421
  433. data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_radial.h +0 -194
  434. data/sketchup-sdk-win/headers/SketchUpAPI/model/dimension_style.h +0 -253
  435. data/sketchup-sdk-win/headers/SketchUpAPI/model/drawing_element.h +0 -198
  436. data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_attribute.h +0 -92
  437. data/sketchup-sdk-win/headers/SketchUpAPI/model/dynamic_component_info.h +0 -70
  438. data/sketchup-sdk-win/headers/SketchUpAPI/model/edge.h +0 -271
  439. data/sketchup-sdk-win/headers/SketchUpAPI/model/edge_use.h +0 -214
  440. data/sketchup-sdk-win/headers/SketchUpAPI/model/entities.h +0 -834
  441. data/sketchup-sdk-win/headers/SketchUpAPI/model/entity.h +0 -186
  442. data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list.h +0 -80
  443. data/sketchup-sdk-win/headers/SketchUpAPI/model/entity_list_iterator.h +0 -90
  444. data/sketchup-sdk-win/headers/SketchUpAPI/model/face.h +0 -686
  445. data/sketchup-sdk-win/headers/SketchUpAPI/model/font.h +0 -138
  446. data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry.h +0 -20
  447. data/sketchup-sdk-win/headers/SketchUpAPI/model/geometry_input.h +0 -685
  448. data/sketchup-sdk-win/headers/SketchUpAPI/model/group.h +0 -244
  449. data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_line.h +0 -155
  450. data/sketchup-sdk-win/headers/SketchUpAPI/model/guide_point.h +0 -153
  451. data/sketchup-sdk-win/headers/SketchUpAPI/model/image.h +0 -288
  452. data/sketchup-sdk-win/headers/SketchUpAPI/model/image_rep.h +0 -275
  453. data/sketchup-sdk-win/headers/SketchUpAPI/model/instancepath.h +0 -266
  454. data/sketchup-sdk-win/headers/SketchUpAPI/model/layer.h +0 -265
  455. data/sketchup-sdk-win/headers/SketchUpAPI/model/layer_folder.h +0 -301
  456. data/sketchup-sdk-win/headers/SketchUpAPI/model/line_style.h +0 -211
  457. data/sketchup-sdk-win/headers/SketchUpAPI/model/line_styles.h +0 -81
  458. data/sketchup-sdk-win/headers/SketchUpAPI/model/location.h +0 -65
  459. data/sketchup-sdk-win/headers/SketchUpAPI/model/loop.h +0 -182
  460. data/sketchup-sdk-win/headers/SketchUpAPI/model/material.h +0 -390
  461. data/sketchup-sdk-win/headers/SketchUpAPI/model/mesh_helper.h +0 -187
  462. data/sketchup-sdk-win/headers/SketchUpAPI/model/model.h +0 -1663
  463. data/sketchup-sdk-win/headers/SketchUpAPI/model/model_version.h +0 -49
  464. data/sketchup-sdk-win/headers/SketchUpAPI/model/opening.h +0 -72
  465. data/sketchup-sdk-win/headers/SketchUpAPI/model/options_manager.h +0 -79
  466. data/sketchup-sdk-win/headers/SketchUpAPI/model/options_provider.h +0 -166
  467. data/sketchup-sdk-win/headers/SketchUpAPI/model/polyline3d.h +0 -140
  468. data/sketchup-sdk-win/headers/SketchUpAPI/model/rendering_options.h +0 -179
  469. data/sketchup-sdk-win/headers/SketchUpAPI/model/scene.h +0 -836
  470. data/sketchup-sdk-win/headers/SketchUpAPI/model/schema.h +0 -56
  471. data/sketchup-sdk-win/headers/SketchUpAPI/model/schema_type.h +0 -26
  472. data/sketchup-sdk-win/headers/SketchUpAPI/model/section_plane.h +0 -212
  473. data/sketchup-sdk-win/headers/SketchUpAPI/model/selection.h +0 -156
  474. data/sketchup-sdk-win/headers/SketchUpAPI/model/shadow_info.h +0 -147
  475. data/sketchup-sdk-win/headers/SketchUpAPI/model/skp.h +0 -45
  476. data/sketchup-sdk-win/headers/SketchUpAPI/model/style.h +0 -303
  477. data/sketchup-sdk-win/headers/SketchUpAPI/model/styles.h +0 -190
  478. data/sketchup-sdk-win/headers/SketchUpAPI/model/text.h +0 -384
  479. data/sketchup-sdk-win/headers/SketchUpAPI/model/texture.h +0 -358
  480. data/sketchup-sdk-win/headers/SketchUpAPI/model/texture_writer.h +0 -280
  481. data/sketchup-sdk-win/headers/SketchUpAPI/model/typed_value.h +0 -390
  482. data/sketchup-sdk-win/headers/SketchUpAPI/model/uv_helper.h +0 -79
  483. data/sketchup-sdk-win/headers/SketchUpAPI/model/vertex.h +0 -154
  484. data/sketchup-sdk-win/headers/SketchUpAPI/sketchup.h +0 -122
  485. data/sketchup-sdk-win/headers/SketchUpAPI/sketchup_info.h +0 -65
  486. data/sketchup-sdk-win/headers/SketchUpAPI/slapi.h +0 -16
  487. data/sketchup-sdk-win/headers/SketchUpAPI/transformation.h +0 -16
  488. data/sketchup-sdk-win/headers/SketchUpAPI/unicodestring.h +0 -239
  489. data/sketchup-sdk-win/headers/SketchUpAPI/utils/math_helpers.h +0 -124
@@ -1,685 +0,0 @@
1
- // Copyright 2013 Trimble Inc. All Rights Reserved.
2
-
3
- /**
4
- * @file
5
- * @brief Interfaces for SUGeometryInputRef.
6
- */
7
- #ifndef SKETCHUP_MODEL_GEOMETRY_INPUT_H_
8
- #define SKETCHUP_MODEL_GEOMETRY_INPUT_H_
9
-
10
- #include <SketchUpAPI/geometry.h>
11
- #include <SketchUpAPI/common.h>
12
- #include <SketchUpAPI/model/defs.h>
13
- #include <SketchUpAPI/model/curve.h>
14
-
15
- #pragma pack(push, 8)
16
- #ifdef __cplusplus
17
- extern "C" {
18
- #endif
19
-
20
- /**
21
- @struct SUGeometryInputRef
22
- @brief References a geometry input object. It is used as an input to
23
- SUEntitiesFill().
24
- */
25
-
26
- /**
27
- @brief SUMaterialInput contains information that is needed to apply a
28
- material to a face.
29
-
30
- @deprecated This struct is made obsolete by the newer SUMaterialPositionInput
31
- and left in place only for compatibility.
32
-
33
- @note Prior to SketchUp 2021.1, API 9.1 it was not possible to apply a
34
- textured material without providing explicit UV coordinates.
35
-
36
- @see SUMaterialPositionInput
37
-
38
- The conventional method for applying a material to a face is to use 1 to 4 UV
39
- coordinates, which are Cartesian textures coordinates and corresponding vertex
40
- indices on the face. The vertices are referenced by index into the top level
41
- SUGeometryInputRef's vertex array. Once the \p material input is used
42
- (e.g. with SUEntitiesFill()), the material object must not be released since it
43
- will be associated with a parent object.
44
- */
45
- struct SUMaterialInput {
46
- size_t num_uv_coords; ///< Number of texture coordinates. 0 if the material
47
- ///< should be applied using default UV coordinates.
48
- ///< 1 to 4 otherwise.
49
-
50
- struct SUPoint2D uv_coords[4]; ///< Texture coordinates.
51
-
52
- size_t vertex_indices[4]; ///< Vertex indices corresponding to the texture
53
- ///< coordinates. Should reference the vertex array
54
- ///< of the parent SUGeometryInputRef.
55
-
56
- SUMaterialRef material; ///< Material to be applied.
57
- };
58
-
59
- /**
60
- @brief SUMaterialInput contains information that is needed to apply a
61
- material to a face.
62
-
63
- The conventional method for applying a material to a face is to use 1 to 4 UV
64
- coordinates, which are Cartesian textures coordinates and corresponding 3D
65
- points on the face's plane. If the 3D points are not on the face's plane they
66
- will be projected onto it. Once the material input is used
67
- (e.g. with SUEntitiesFill()), the \p material object must not be released since
68
- it will be associated with a parent object.
69
-
70
- @since SketchUp 2021.1, API 9.1
71
- */
72
- struct SUMaterialPositionInput {
73
- size_t num_uv_coords; ///< Number of texture coordinates. 0 if the material
74
- ///< should be applied using default UV coordinates.
75
- ///< 1 to 4 otherwise.
76
-
77
- struct SUPoint2D uv_coords[4]; ///< Texture coordinates.
78
-
79
- struct SUPoint3D points[4]; ///< 3D point corresponding to the
80
- ///< texture coordinates. The points
81
- ///< should all lie on the plane of the
82
- ///< face the material is applied to.
83
-
84
- SUMaterialRef material; ///< Material to be applied.
85
- struct SUVector3D projection; ///< Optional projection direction.
86
- ///< Leave as invalid (0, 0, 0) for no projection.
87
- };
88
-
89
- /**
90
- @brief Creates a geometry input object.
91
- @param[out] geom_input The object created. This object can be passed into
92
- SUEntitiesFill() to populate an entities object.
93
- It should be released subsequently by calling
94
- SUGeometryInputRelease().
95
- @related SUGeometryInputRef
96
- @return
97
- - \ref SU_ERROR_NONE on success
98
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if geom_input is NULL
99
- - \ref SU_ERROR_OVERWRITE_VALID if geom_input already references a valid object
100
- */
101
- SU_RESULT SUGeometryInputCreate(SUGeometryInputRef* geom_input);
102
-
103
- /**
104
- @brief Deallocates a geometry input object.
105
- @param[in] geom_input The object to deallocate.
106
- @related SUGeometryInputRef
107
- @return
108
- - \ref SU_ERROR_NONE on success
109
- - \ref SU_ERROR_NULL_POINTER_INPUT if geom_input is NULL
110
- - \ref SU_ERROR_INVALID_INPUT if geom_input points to an invalid object
111
- */
112
- SU_RESULT SUGeometryInputRelease(SUGeometryInputRef* geom_input);
113
-
114
- /**
115
- @brief Adds a vertex to a geometry input object.
116
- @param[in] geom_input The geometry input object.
117
- @param[in] point The location of the vertex to be added.
118
- @related SUGeometryInputRef
119
- @return
120
- - \ref SU_ERROR_NONE on success
121
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
122
- - \ref SU_ERROR_NULL_POINTER_INPUT if point is NULL
123
- */
124
- SU_RESULT SUGeometryInputAddVertex(SUGeometryInputRef geom_input, const struct SUPoint3D* point);
125
-
126
- /**
127
- @brief Sets all vertices of a geometry input object. Any existing vertices will
128
- be overridden.
129
- @param[in] geom_input The geometry input object.
130
- @param[in] num_vertices The number of vertices in the given point array.
131
- @param[in] points The points array containing the location of vertices.
132
- @related SUGeometryInputRef
133
- @return
134
- - \ref SU_ERROR_NONE on success
135
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
136
- - \ref SU_ERROR_NULL_POINTER_INPUT if points is NULL
137
- */
138
- SU_RESULT SUGeometryInputSetVertices(
139
- SUGeometryInputRef geom_input, size_t num_vertices, const struct SUPoint3D points[]);
140
-
141
- /**
142
- @brief Adds an edge to a geometry input object. This method is intended for
143
- specifying edges which are not associated with loop inputs. For
144
- specifying edge properties on a face use the SULoopInput interface.
145
- @since SketchUp 2017, API 5.0
146
- @param[in] geom_input The geometry input object.
147
- @param[in] vertex0_index The vertex index of the edge's first vertex.
148
- @param[in] vertex1_index The vertex index of the edge's last vertex.
149
- @param[out] added_edge_index (optional) If not NULL, returns the index of the
150
- added edge.
151
- @related SUGeometryInputRef
152
- @return
153
- - \ref SU_ERROR_NONE on success
154
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
155
- - \ref SU_ERROR_OUT_OF_RANGE if vertex0_index or vertex1_index are greater than
156
- the total vertex count
157
- - \ref SU_ERROR_INVALID_ARGUMENT if vertex0_index and vertex1_index are equal
158
- */
159
- SU_RESULT SUGeometryInputAddEdge(
160
- SUGeometryInputRef geom_input, size_t vertex0_index, size_t vertex1_index,
161
- size_t* added_edge_index);
162
-
163
- /**
164
- @brief Sets the hidden flag of an edge in a geometry input object which is not
165
- associated with a loop input.
166
- @since SketchUp 2017, API 5.0
167
- @param[in] geom_input The geometry input object.
168
- @param[in] edge_index The zero-based index of the edge which is not associated
169
- with a loop input.
170
- @param[in] hidden The flag to set.
171
- @related SUGeometryInputRef
172
- @return
173
- - \ref SU_ERROR_NONE on success
174
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
175
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references beyond the current total
176
- number of edges which are not associated with loop inputs
177
- */
178
- SU_RESULT SUGeometryInputEdgeSetHidden(
179
- SUGeometryInputRef geom_input, size_t edge_index, bool hidden);
180
-
181
- /**
182
- @brief Sets the soft flag of an edge in a geometry input object which is not
183
- associated with a loop input.
184
- @since SketchUp 2017, API 5.0
185
- @param[in] geom_input The geometry input object.
186
- @param[in] edge_index The zero-based index of the edge which is not associated
187
- with a loop input.
188
- @param[in] soft The flag to set.
189
- @related SUGeometryInputRef
190
- @return
191
- - \ref SU_ERROR_NONE on success
192
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
193
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references beyond the current total
194
- number of edges which are not associated with loop inputs
195
- */
196
- SU_RESULT SUGeometryInputEdgeSetSoft(SUGeometryInputRef geom_input, size_t edge_index, bool soft);
197
-
198
- /**
199
- @brief Sets the smooth flag of an edge in a geometry input object which is not
200
- associated with a loop input.
201
- @since SketchUp 2017, API 5.0
202
- @param[in] geom_input The geometry input object.
203
- @param[in] edge_index The zero-based index of the edge which is not associated
204
- with a loop input.
205
- @param[in] smooth The flag to set.
206
- @related SUGeometryInputRef
207
- @return
208
- - \ref SU_ERROR_NONE on success
209
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
210
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references beyond the current total
211
- number of edges which are not associated with loop inputs
212
- */
213
- SU_RESULT SUGeometryInputEdgeSetSmooth(
214
- SUGeometryInputRef geom_input, size_t edge_index, bool smooth);
215
-
216
- /**
217
- @brief Sets the material of an edge in the geometry input.
218
- @since SketchUp 2017, API 5.0
219
- @param[in] geom_input The geometry input object.
220
- @param[in] edge_index Index of the edge to set the material.
221
- @param[in] material The material to be set.
222
- @related SUGeometryInputRef
223
- @return
224
- - \ref SU_ERROR_NONE on success
225
- - \ref SU_ERROR_INVALID_INPUT if geom_input or material is not valid
226
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references an edge beyond the total
227
- - \ref SU_ERROR_INVALID_ARGUMENT is the material is owned by a layer or image
228
- edge count of geom_input
229
- */
230
- SU_RESULT SUGeometryInputEdgeSetMaterial(
231
- SUGeometryInputRef geom_input, size_t edge_index, SUMaterialRef material);
232
-
233
- /**
234
- @brief Sets the layer of an edge in the geometry input.
235
- @since SketchUp 2017, API 5.0
236
- @param[in] geom_input The geometry input object.
237
- @param[in] edge_index Index of the edge to set the layer.
238
- @param[in] layer The layer to be set.
239
- @related SUGeometryInputRef
240
- @return
241
- - \ref SU_ERROR_NONE on success
242
- - \ref SU_ERROR_INVALID_INPUT if geom_input or layer is not valid
243
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references an edge beyond the total
244
- edge count of geom_input
245
- */
246
- SU_RESULT SUGeometryInputEdgeSetLayer(
247
- SUGeometryInputRef geom_input, size_t edge_index, SULayerRef layer);
248
-
249
- /**
250
- @brief Adds a curve to a geometry input object. This method is intended for
251
- specifying curves which are not associated with loop inputs. For
252
- specifying curves on faces use the SULoopInput interface.
253
- @since SketchUp 2017, API 5.0
254
- @param[in] geom_input The geometry input object.
255
- @param[in] num_edges The number of edges to be used in the curve.
256
- @param[in] edge_indices The edge indices to be used in defining the curve.
257
- @param[out] added_curve_index (optional) If not NULL, returns the index of the
258
- added curve.
259
- @related SUGeometryInputRef
260
- @return
261
- - \ref SU_ERROR_NONE on success
262
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
263
- - \ref SU_ERROR_NULL_POINTER_INPUT if edge_indices is NULL
264
- - \ref SU_ERROR_OUT_OF_RANGE if any of the indices in edge_indices are greater
265
- than the total number of edges which are not associated with loop inputs
266
- */
267
- SU_RESULT SUGeometryInputAddCurve(
268
- SUGeometryInputRef geom_input, size_t num_edges, const size_t edge_indices[],
269
- size_t* added_curve_index);
270
-
271
- /**
272
- @brief Adds an arccurve to a geometry input object. In addition to adding an
273
- arccurve to the geometry input this method will append num_segments edges
274
- to the geometry's edge collection where control_edge_index is the index
275
- of the first new edge. Also, num_segments-1 vertices along the arc will
276
- be appended to the geometry's collection of verttices. In order to
277
- include an arccurve in a loop the user only needs add the arccurve's
278
- points to a loop using \ref SULoopInputAddVertexIndex().
279
- @since SketchUp 2017 M2, API 5.2
280
- @param[in] geom_input The geometry input object.
281
- @param[in] start_point The index of the vertex at the start of the arc.
282
- @param[in] end_point The index of the vertex at the end of the arc.
283
- @param[in] center The center point of the arc's circle.
284
- @param[in] normal The normal vector of the arc plane.
285
- @param[in] num_segments The number of edges for the arc.
286
- @param[out] added_curve_index (optional) If not NULL, returns the index of the
287
- added curve.
288
- @param[out] control_edge_index (optional) If not NULL, returns the index of the
289
- the arc's control edge which can be used to set
290
- the arc's edge properties.
291
- @related SUGeometryInputRef
292
- @return
293
- - \ref SU_ERROR_NONE on success
294
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
295
- - \ref SU_ERROR_NULL_POINTER_INPUT if center or normal is NULL
296
- - \ref SU_ERROR_OUT_OF_RANGE if either start_point or end_point are greater than
297
- the total number of points in geom_input
298
- - \ref SU_ERROR_INVALID_ARGUMENT if the data specifies an invalid arccurve
299
- */
300
- SU_RESULT SUGeometryInputAddArcCurve(
301
- SUGeometryInputRef geom_input, size_t start_point, size_t end_point,
302
- const struct SUPoint3D* center, const struct SUVector3D* normal, size_t num_segments,
303
- size_t* added_curve_index, size_t* control_edge_index);
304
-
305
- /**
306
- @brief Creates a loop input object.
307
- @param[out] loop_input The object created.
308
- @related SUGeometryInputRef
309
- @return
310
- - \ref SU_ERROR_NONE on success
311
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if loop_input is NULL
312
- - \ref SU_ERROR_OVERWRITE_VALID if loop_input already references a valid object
313
- */
314
- SU_RESULT SULoopInputCreate(SULoopInputRef* loop_input);
315
-
316
- /**
317
- @brief Deallocates a loop input object.
318
- @param[in] loop_input The object to deallocate.
319
- @related SUGeometryInputRef
320
- @return
321
- - \ref SU_ERROR_NONE on success
322
- - \ref SU_ERROR_NULL_POINTER_INPUT if loop_input is NULL
323
- - \ref SU_ERROR_INVALID_INPUT if loop_input points to an invalid object
324
- */
325
- SU_RESULT SULoopInputRelease(SULoopInputRef* loop_input);
326
-
327
- /**
328
- @brief Adds a vertex index to a loop input object.
329
-
330
- @warning Breaking Change: The behavior of this method was changed in
331
- SketchUp 2017 M2, API 5.2. In previous releases this method returned
332
- \ref SU_ERROR_INVALID_INPUT if the specified index was already anywhere
333
- in the loop. In SketchUp 2017 M1 the concept of an explicitly closed
334
- loop was introduced. A loop can be explicitly closed by either using
335
- this method to insert an index which is already at the beginning of the
336
- loop, or by adding a curve to the loop which connects the loop's start
337
- and end points using \ref SULoopInputAddCurve(). If a loop was not
338
- previously closed and \ref SULoopInputAddVertexIndex() is used to add
339
- the loop's start vertex, the loop will be closed and \ref SU_ERROR_NONE
340
- will be returned. If attempts are made to add vertices after a loop has
341
- been explicitly closed \ref SU_ERROR_UNSUPPORTED will be returned. If
342
- an attempt is made to add a vertex that already existed in an open loop
343
- not at the front \ref SU_ERROR_INVALID_ARGUMENT will be returned.
344
-
345
- @param[in] loop_input The loop input object.
346
- @param[in] vertex_index The vertex index to add. This references a vertex within
347
- the parent geometry input's vertex collection (as a
348
- zero- based index).
349
- @related SUGeometryInputRef
350
- @return
351
- - \ref SU_ERROR_NONE on success
352
- - \ref SU_ERROR_INVALID_INPUT if loop_input is not valid
353
- - \ref SU_ERROR_UNSUPPORTED if the loop was already closed
354
- - \ref SU_ERROR_INVALID_ARGUMENT if vertex_index already existed in the loop not
355
- at the front
356
- */
357
- SU_RESULT SULoopInputAddVertexIndex(SULoopInputRef loop_input, size_t vertex_index);
358
-
359
- /**
360
- @brief Sets the hidden flag of an edge in a loop input object.
361
- @param[in] loop_input The loop input object.
362
- @param[in] edge_index The zero-based index of the edge within the loop.
363
- @param[in] hidden The flag to set.
364
- @related SUGeometryInputRef
365
- @return
366
- - \ref SU_ERROR_NONE on success
367
- - \ref SU_ERROR_INVALID_INPUT if loop_input is not valid
368
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references beyond the current edge
369
- count
370
- */
371
- SU_RESULT SULoopInputEdgeSetHidden(SULoopInputRef loop_input, size_t edge_index, bool hidden);
372
-
373
- /**
374
- @brief Sets the soft flag of an edge in a loop input object.
375
- @param[in] loop_input The loop input object.
376
- @param[in] edge_index The zero-based index of the edge within the loop.
377
- @param[in] soft The flag to set.
378
- @related SUGeometryInputRef
379
- @return
380
- - \ref SU_ERROR_NONE on success
381
- - \ref SU_ERROR_INVALID_INPUT if loop_input is not valid
382
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references beyond the current edge
383
- count
384
- */
385
- SU_RESULT SULoopInputEdgeSetSoft(SULoopInputRef loop_input, size_t edge_index, bool soft);
386
-
387
- /**
388
- @brief Sets the smooth flag of an edge in a loop input object.
389
- @param[in] loop_input The loop input object.
390
- @param[in] edge_index The zero-based index of the edge within the loop.
391
- @param[in] smooth The flag to set.
392
- @related SUGeometryInputRef
393
- @return
394
- - \ref SU_ERROR_NONE on success
395
- - \ref SU_ERROR_INVALID_INPUT if loop_input is not valid
396
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references beyond the current edge
397
- count
398
- */
399
- SU_RESULT SULoopInputEdgeSetSmooth(SULoopInputRef loop_input, size_t edge_index, bool smooth);
400
-
401
- /**
402
- @brief Sets the material of an edge in the loop input.
403
- @since SketchUp 2017, API 5.0
404
- @param[in] loop_input The loop input object.
405
- @param[in] edge_index Index of the edge to set the material.
406
- @param[in] material The material to be set.
407
- @related SUGeometryInputRef
408
- @return
409
- - \ref SU_ERROR_NONE on success
410
- - \ref SU_ERROR_INVALID_INPUT if loop_input or material is not valid
411
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references an edge beyond the total
412
- - \ref SU_ERROR_INVALID_ARGUMENT is the material is owned by a layer or image
413
- edge count of loop_input
414
- */
415
- SU_RESULT SULoopInputEdgeSetMaterial(
416
- SULoopInputRef loop_input, size_t edge_index, SUMaterialRef material);
417
-
418
- /**
419
- @brief Sets the layer of an edge in the loop input.
420
- @since SketchUp 2017, API 5.0
421
- @param[in] loop_input The loop input object.
422
- @param[in] edge_index Index of the edge to set the layer.
423
- @param[in] layer The layer to be set.
424
- @related SUGeometryInputRef
425
- @return
426
- - \ref SU_ERROR_NONE on success
427
- - \ref SU_ERROR_INVALID_INPUT if loop_input or layer is not valid
428
- - \ref SU_ERROR_OUT_OF_RANGE if edge_index references an edge beyond the total
429
- edge count of loop_input
430
- */
431
- SU_RESULT SULoopInputEdgeSetLayer(SULoopInputRef loop_input, size_t edge_index, SULayerRef layer);
432
-
433
- /**
434
- @brief Adds a simple curve to a loop input object.
435
- @param[in] loop_input The loop input object.
436
- @param[in] first_edge_index First edge index to be associated with the curve.
437
- @param[in] last_edge_index Last edge index to be associated with the curve.
438
- @related SUGeometryInputRef
439
- @return
440
- - \ref SU_ERROR_NONE on success
441
- - \ref SU_ERROR_INVALID_INPUT if loop_input is not valid
442
- - \ref SU_ERROR_OUT_OF_RANGE if first_edge_index or last_edge_index reference an
443
- edge beyond the loop's total edge count
444
- */
445
- SU_RESULT SULoopInputAddCurve(
446
- SULoopInputRef loop_input, size_t first_edge_index, size_t last_edge_index);
447
-
448
- /**
449
- @brief Retrieves whether the loop input is closed. A loop input can be closed
450
- either by re-adding the start vertex to the end of the loop using \ref
451
- SULoopInputAddVertexIndex or by adding a curve to the loop input which
452
- connects the loop's start and end points using \ref SULoopInputAddCurve().
453
- @since SketchUp 2017 M2, API 5.2
454
- @param[in] loop_input The loop input object.
455
- @param[out] is_closed The flag retrieved (true if the loop is closed).
456
- @related SUGeometryInputRef
457
- @return
458
- - \ref SU_ERROR_NONE on success
459
- - \ref SU_ERROR_INVALID_INPUT if loop_input is not valid
460
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if is_closed is NULL
461
- count
462
- */
463
- SU_RESULT SULoopInputIsClosed(SULoopInputRef loop_input, bool* is_closed);
464
-
465
- /**
466
- @brief Adds a face to a geometry input object with a given outer loop for the
467
- face.
468
-
469
- @warning Breaking Change: The behavior of this method was changed in
470
- SketchUp 2017 M2, API 5.2. An additional error code was added (\ref
471
- SU_ERROR_INVALID_ARGUMENT) to indicate to users when the loop contains
472
- invalid data.
473
-
474
- @param[in] geom_input The geometry input object.
475
- @param[in] outer_loop The outer loop to be set for the face. If the
476
- function succeeds (i.e. returns SU_ERROR_NONE),
477
- this loop will be deallocated.
478
- @param[out] added_face_index (optional) If not NULL, returns the index of the
479
- added face.
480
- @related SUGeometryInputRef
481
- @return
482
- - \ref SU_ERROR_NONE on success
483
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
484
- - \ref SU_ERROR_NULL_POINTER_INPUT if outer_loop is NULL
485
- - \ref SU_ERROR_INVALID_ARGUMENT if the data specifies an invalid loop
486
- */
487
- SU_RESULT SUGeometryInputAddFace(
488
- SUGeometryInputRef geom_input, SULoopInputRef* outer_loop, size_t* added_face_index);
489
-
490
- /**
491
- @brief Sets a flag in the geometry input that, when true, will create a face by
492
- reversing the orientations of all of its loops.
493
- @param[in] geom_input The geometry input object.
494
- @param[in] face_index Index of the face to be reversed.
495
- @param[in] reverse The given reverse flag.
496
- @related SUGeometryInputRef
497
- @return
498
- - \ref SU_ERROR_NONE on success
499
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
500
- - \ref SU_ERROR_OUT_OF_RANGE if face_index references a face beyond the total
501
- face count of geom_input
502
- */
503
- SU_RESULT SUGeometryInputFaceSetReverse(
504
- SUGeometryInputRef geom_input, size_t face_index, bool reverse);
505
-
506
- /**
507
- @brief Sets the layer of a face in the geometry input.
508
- @param[in] geom_input The geometry input object.
509
- @param[in] face_index Index of the face to be reversed.
510
- @param[in] layer The layer to be set.
511
- @related SUGeometryInputRef
512
- @return
513
- - \ref SU_ERROR_NONE on success
514
- - \ref SU_ERROR_INVALID_INPUT if geom_input or layer is not valid
515
- - \ref SU_ERROR_OUT_OF_RANGE if face_index references a face beyond the total
516
- face count of geom_input
517
- */
518
- SU_RESULT SUGeometryInputFaceSetLayer(
519
- SUGeometryInputRef geom_input, size_t face_index, SULayerRef layer);
520
-
521
- /**
522
- @brief Adds an inner loop to a face in the geometry input.
523
-
524
- @warning Breaking Change: The behavior of this method was changed in
525
- SketchUp 2017 M2, API 5.2. An additional error code was added (\ref
526
- SU_ERROR_INVALID_ARGUMENT) to indicate to users when the loop contains
527
- invalid data.
528
-
529
- @param[in] geom_input The geometry input object.
530
- @param[in] face_index Index of the face to receive the inner loop.
531
- @param[in] loop_input The inner loop to be added. If the function succeeds
532
- (i.e. returns SU_ERROR_NONE), this loop will be
533
- deallocated.
534
- @related SUGeometryInputRef
535
- @return
536
- - \ref SU_ERROR_NONE on success
537
- - \ref SU_ERROR_INVALID_INPUT if geom_input or *loop_input are not valid
538
- - \ref SU_ERROR_NULL_POINTER_INPUT if loop_input is NULL
539
- - \ref SU_ERROR_OUT_OF_RANGE if face_index references a face beyond the total
540
- face count of geom_input.
541
- - \ref SU_ERROR_INVALID_ARGUMENT if the data specifies an invalid loop
542
- */
543
- SU_RESULT SUGeometryInputFaceAddInnerLoop(
544
- SUGeometryInputRef geom_input, size_t face_index, SULoopInputRef* loop_input);
545
-
546
- /**
547
- @brief Sets the front material of a face in the geometry input.
548
-
549
- @deprecated This function is made obsolete by the newer
550
- SUGeometryInputFaceSetFrontMaterialPosition() and left in place only
551
- for compatibility.
552
-
553
- @see SUGeometryInputFaceSetFrontMaterialPosition
554
-
555
- @param[in] geom_input The geometry input object.
556
- @param[in] face_index Index of the face to receive the material.
557
- @param[in] material_input The material input to set.
558
-
559
- @related SUGeometryInputRef
560
-
561
- @return
562
- - \ref SU_ERROR_NONE on success
563
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
564
- - \ref SU_ERROR_OUT_OF_RANGE if face_index references a face beyond the total
565
- face count of geom_input
566
- - \ref SU_ERROR_NULL_POINTER_INPUT if material_input is NULL
567
- - \ref SU_ERROR_INVALID_ARGUMENT is the material is owned by a layer or image
568
- */
569
- SU_RESULT SUGeometryInputFaceSetFrontMaterial(
570
- SUGeometryInputRef geom_input, size_t face_index, const struct SUMaterialInput* material_input);
571
-
572
- /**
573
- @brief Sets the back material of a face in the geometry input.
574
-
575
- @deprecated This function is made obsolete by the newer
576
- SUGeometryInputFaceSetBackMaterialPosition() and left in place only
577
- for compatibility.
578
-
579
- @see SUGeometryInputFaceSetBackMaterialPosition
580
-
581
- @param[in] geom_input The geometry input object.
582
- @param[in] face_index Index of the face to receive the material.
583
- @param[in] material_input The material input to set.
584
-
585
- @related SUGeometryInputRef
586
-
587
- @return
588
- - \ref SU_ERROR_NONE on success
589
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
590
- - \ref SU_ERROR_OUT_OF_RANGE if face_index references a face beyond the total
591
- face count of geom_input
592
- - \ref SU_ERROR_NULL_POINTER_INPUT if material_input is NULL
593
- - \ref SU_ERROR_INVALID_ARGUMENT is the material is owned by a layer or image
594
- */
595
- SU_RESULT SUGeometryInputFaceSetBackMaterial(
596
- SUGeometryInputRef geom_input, size_t face_index, const struct SUMaterialInput* material_input);
597
-
598
- /**
599
- @brief Sets the front material of a face in the geometry input.
600
-
601
- @param[in] geom_input The geometry input object.
602
- @param[in] face_index Index of the face to receive the material.
603
- @param[in] material_input The material input to set.
604
-
605
- @related SUGeometryInputRef
606
-
607
- @since SketchUp 2021.1, API 9.1
608
-
609
- @return
610
- - \ref SU_ERROR_NONE on success
611
- - \ref SU_ERROR_INVALID_INPUT if \p geom_input is not valid
612
- - \ref SU_ERROR_OUT_OF_RANGE if \p face_index references a face beyond the total
613
- face count of \p geom_input
614
- - \ref SU_ERROR_NULL_POINTER_INPUT if \p material_input is NULL
615
- - \ref SU_ERROR_INVALID_ARGUMENT is the material is owned by a layer or image
616
- */
617
- SU_RESULT SUGeometryInputFaceSetFrontMaterialByPosition(
618
- SUGeometryInputRef geom_input, size_t face_index,
619
- const struct SUMaterialPositionInput* material_input);
620
-
621
- /**
622
- @brief Sets the back material of a face in the geometry input.
623
-
624
- @param[in] geom_input The geometry input object.
625
- @param[in] face_index Index of the face to receive the material.
626
- @param[in] material_input The material input to set.
627
-
628
- @related SUGeometryInputRef
629
-
630
- @since SketchUp 2021.1, API 9.1
631
-
632
- @return
633
- - \ref SU_ERROR_NONE on success
634
- - \ref SU_ERROR_INVALID_INPUT if \p geom_input is not valid
635
- - \ref SU_ERROR_OUT_OF_RANGE if \p face_index references a face beyond the total
636
- face count of \p geom_input
637
- - \ref SU_ERROR_NULL_POINTER_INPUT if \p material_input is NULL
638
- - \ref SU_ERROR_INVALID_ARGUMENT is the material is owned by a layer or image
639
- */
640
- SU_RESULT SUGeometryInputFaceSetBackMaterialByPosition(
641
- SUGeometryInputRef geom_input, size_t face_index,
642
- const struct SUMaterialPositionInput* material_input);
643
-
644
- /**
645
- @brief Sets a flag in the geometry input that, when true, will create a hidden
646
- face.
647
- @since SketchUp 2017, API 5.0
648
- @param[in] geom_input The geometry input object.
649
- @param[in] face_index Index of the face to be hidden.
650
- @param[in] hidden The given hidden flag.
651
- @related SUGeometryInputRef
652
- @return
653
- - \ref SU_ERROR_NONE on success
654
- - \ref SU_ERROR_INVALID_INPUT if geom_input is not valid
655
- - \ref SU_ERROR_OUT_OF_RANGE if face_index references a face beyond the total
656
- face count of geom_input
657
- */
658
- SU_RESULT SUGeometryInputFaceSetHidden(
659
- SUGeometryInputRef geom_input, size_t face_index, bool hidden);
660
-
661
- /**
662
- @brief Returns all the various geometry counts.
663
- @since SketchUp 2018, API 6.0
664
- @param[in] geom_input The geometry input object.
665
- @param[out] vertices_count The total count of vertices.
666
- @param[out] faces_count The total count of faces.
667
- @param[out] edge_count The total count of edges.
668
- @param[out] curve_count The total count of curves.
669
- @param[out] arc_count The total count of arcs.
670
- @related SUGeometryInputRef
671
- @return
672
- - \ref SU_ERROR_NONE on success
673
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if vertices_count, faces_count,
674
- edge_count, curve_count, or arc_count is NULL
675
- */
676
- SU_RESULT SUGeometryInputGetCounts(
677
- SUGeometryInputRef geom_input, size_t* vertices_count, size_t* faces_count, size_t* edge_count,
678
- size_t* curve_count, size_t* arc_count);
679
-
680
- #ifdef __cplusplus
681
- } // extern "C"
682
- #endif
683
- #pragma pack(pop)
684
-
685
- #endif // SKETCHUP_MODEL_GEOMETRY_INPUT_H_