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,244 +0,0 @@
1
- // Copyright 2013 Trimble Inc. All Rights Reserved.
2
-
3
- /**
4
- * @file
5
- * @brief Interfaces for SUGroupRef.
6
- */
7
- #ifndef SKETCHUP_MODEL_GROUP_H_
8
- #define SKETCHUP_MODEL_GROUP_H_
9
-
10
- #include <SketchUpAPI/common.h>
11
- #include <SketchUpAPI/unicodestring.h>
12
- #include <SketchUpAPI/transformation.h>
13
- #include <SketchUpAPI/model/defs.h>
14
-
15
- #ifdef __cplusplus
16
- extern "C" {
17
- #endif
18
-
19
- /**
20
- @struct SUGroupRef
21
- @extends SUComponentInstanceRef
22
- @brief References a group object.
23
- */
24
-
25
- /**
26
- @brief Converts from an \ref SUGroupRef to an \ref SUEntityRef.
27
- This is essentially an upcast operation.
28
- @param[in] group The given group reference.
29
- @related SUGroupRef
30
- @return
31
- - The converted \ref SUEntityRef if group is a valid group
32
- - If not, the returned reference will be invalid
33
- */
34
- SU_EXPORT SUEntityRef SUGroupToEntity(SUGroupRef group);
35
-
36
- /**
37
- @brief Converts from an \ref SUEntityRef to an \ref SUGroupRef.
38
- This is essentially a downcast operation so the given entity must be
39
- convertible to an SUGroupRef.
40
- @param[in] entity The given entity reference.
41
- @related SUGroupRef
42
- @return
43
- - The converted \ref SUGroupRef if the downcast operation succeeds
44
- - If not, the returned reference will be invalid
45
- */
46
- SU_EXPORT SUGroupRef SUGroupFromEntity(SUEntityRef entity);
47
-
48
- /**
49
- @brief Converts from an \ref SUGroupRef to an \ref SUDrawingElementRef.
50
- This is essentially an upcast operation.
51
- @param[in] group The given group reference.
52
- @related SUGroupRef
53
- @return
54
- - The converted \ref SUDrawingElementRef if group is a valid group
55
- - If not, the returned reference will be invalid
56
- */
57
- SU_EXPORT SUDrawingElementRef SUGroupToDrawingElement(SUGroupRef group);
58
-
59
- /**
60
- @brief Converts from an \ref SUDrawingElementRef to an \ref SUGroupRef.
61
- This is essentially a downcast operation so the given element must be
62
- convertible to an SUGroupRef.
63
- @param[in] drawing_elem The given element reference.
64
- @related SUGroupRef
65
- @return
66
- - The converted \ref SUGroupRef if the downcast operation succeeds
67
- - If not, the returned reference will be invalid
68
- */
69
- SU_EXPORT SUGroupRef SUGroupFromDrawingElement(SUDrawingElementRef drawing_elem);
70
-
71
- /**
72
- @brief Converts from an \ref SUGroupRef to an \ref SUComponentInstanceRef.
73
- This is essentially an upcast operation.
74
- @since SketchUp 2016, API 4.0
75
- @param[in] group The given group reference.
76
- @related SUGroupRef
77
- @return
78
- - The converted \ref SUComponentInstanceRef if group is a valid group
79
- - If not, the returned reference will be invalid
80
- */
81
- SU_EXPORT SUComponentInstanceRef SUGroupToComponentInstance(SUGroupRef group);
82
-
83
- /**
84
- @brief Converts from an \ref SUComponentInstanceRef to an \ref SUGroupRef. This
85
- is essentially a downcast operation so the given element must be
86
- convertible to an SUGroupRef.
87
- @since SketchUp 2016, API 4.0
88
- @param[in] component_inst The given component instance reference.
89
- @related SUGroupRef
90
- @return
91
- - The converted \ref SUGroupRef if the downcast operation succeeds
92
- - If not, the returned reference will be invalid
93
- */
94
- SU_EXPORT SUGroupRef SUGroupFromComponentInstance(SUComponentInstanceRef component_inst);
95
-
96
- /**
97
- @brief Creates a new group object.
98
-
99
- The created group must be subsequently added to the Entities of a model,
100
- component definition or a group. Use SUModelRemoveComponentDefinitions() to
101
- remove the group from a model.
102
- @param[out] group The group object created.
103
- @related SUGroupRef
104
- @return
105
- - \ref SU_ERROR_NONE on success
106
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if group is NULL
107
- */
108
- SU_RESULT SUGroupCreate(SUGroupRef* group);
109
-
110
- /**
111
- @brief Sets the name of a group object.
112
- @param[in] group The group object.
113
- @param[in] name The name string to set the group object.
114
- Assumed to be UTF-8 encoded.
115
- @related SUGroupRef
116
- @return
117
- - \ref SU_ERROR_NONE on success
118
- - \ref SU_ERROR_INVALID_INPUT if group is not a valid object
119
- - \ref SU_ERROR_NULL_POINTER_INPUT if name is NULL
120
- */
121
- SU_RESULT SUGroupSetName(SUGroupRef group, const char* name);
122
-
123
- /**
124
- @brief Retrieves the name of a group object.
125
- @param[in] group The group object.
126
- @param[out] name The name retrieved.
127
- @related SUGroupRef
128
- @return
129
- - \ref SU_ERROR_NONE on success
130
- - \ref SU_ERROR_INVALID_INPUT if group is not a valid object
131
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if name is NULL
132
- - \ref SU_ERROR_INVALID_OUTPUT if name does not point to a valid \ref
133
- SUStringRef object
134
- */
135
- SU_RESULT SUGroupGetName(SUGroupRef group, SUStringRef* name);
136
-
137
- /**
138
- @brief Retrieves the globally unique identifier (guid) string of a group object.
139
- @since SketchUp 2015, API 3.0
140
- @param[in] group The group object.
141
- @param[out] guid The guid retrieved.
142
- @related SUGroupRef
143
- @return
144
- - \ref SU_ERROR_NONE on success
145
- - \ref SU_ERROR_INVALID_INPUT if group is not a valid object
146
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if guid is NULL
147
- - \ref SU_ERROR_INVALID_OUTPUT if guid does not point to a valid \ref
148
- SUStringRef object
149
- */
150
- SU_RESULT SUGroupGetGuid(SUGroupRef group, SUStringRef* guid);
151
-
152
- /**
153
- @brief Sets the globally unique identifier (guid) string of a group object.
154
- @since SketchUp 2015, API 3.0
155
- @param[in] group The group object.
156
- @param[in] guid_str The utf-8 formatted guid string.
157
- @related SUGroupRef
158
- @return
159
- - \ref SU_ERROR_NONE on success
160
- - \ref SU_ERROR_INVALID_INPUT if group is not a valid object
161
- - \ref SU_ERROR_INVALID_INPUT if guid is NULL or invalid
162
- */
163
- SU_RESULT SUGroupSetGuid(SUGroupRef group, const char* guid_str);
164
-
165
- /**
166
- @brief Sets the transform of a group object.
167
-
168
- The transform is relative to the parent component. If the parent component is
169
- the root component of a model, then the transform is relative to absolute
170
- coordinates.
171
- @param[in] group The group object.
172
- @param[in] transform The affine transform to set.
173
- @related SUGroupRef
174
- @return
175
- - \ref SU_ERROR_NONE on success
176
- - \ref SU_ERROR_INVALID_INPUT if group is not a valid object.
177
- - \ref SU_ERROR_NULL_POINTER_INPUT if transform is NULL.
178
- */
179
- SU_RESULT SUGroupSetTransform(SUGroupRef group, const struct SUTransformation* transform);
180
-
181
- /**
182
- @brief Retrieves the transform of a group object.
183
-
184
- See description of SUGroupSetTransform for a discussion of group transforms.
185
- @param[in] group The group object.
186
- @param[out] transform The transform retrieved.
187
- @related SUGroupRef
188
- @return
189
- - \ref SU_ERROR_NONE on success
190
- - \ref SU_ERROR_INVALID_INPUT if group is not a valid object
191
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if transform is NULL
192
- */
193
- SU_RESULT SUGroupGetTransform(SUGroupRef group, struct SUTransformation* transform);
194
-
195
- /**
196
- @brief Retrieves the entities of the group object.
197
- @param[in] group The group object.
198
- @param[out] entities The entities retrieved.
199
- @related SUGroupRef
200
- @return
201
- - \ref SU_ERROR_NONE on success
202
- - \ref SU_ERROR_INVALID_INPUT if group is not a valid object
203
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if entities is NULL
204
- - \ref SU_ERROR_OVERWRITE_VALID if entities reference object is valid
205
- */
206
- SU_RESULT SUGroupGetEntities(SUGroupRef group, SUEntitiesRef* entities);
207
-
208
- /**
209
- @brief Retrieves the component definition of a group object.
210
- @since SketchUp 2014, API 2.0
211
- @param[in] group The group object.
212
- @param[out] component The component definition retrieved.
213
- @related SUGroupRef
214
- @return
215
- - \ref SU_ERROR_NONE on success
216
- - \ref SU_ERROR_INVALID_INPUT if \p group is not a valid object
217
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if \p component is NULL
218
- - \ref SU_ERROR_OVERWRITE_VALID if \p component already refers to a valid object
219
- */
220
- SU_RESULT SUGroupGetDefinition(SUGroupRef group, SUComponentDefinitionRef* component);
221
-
222
- /* The cond/endcond block will ensure that any code or comment keywords will be
223
- ignored by the Doxygen parser and will not appear in any documentation */
224
- ///**@cond
225
- //@brief Explodes a group into separate entities.
226
- //@since SketchUp 2016, API 4.0
227
- //@param[in] group The group object.
228
- //@param[out] entities Array of entity pointers returned
229
- //@related SUGroupRef
230
- //@return
231
- //- \ref SU_ERROR_NONE on success
232
- //- \ref SU_ERROR_INVALID_INPUT if group is invalid
233
- //- \ref SU_ERROR_NULL_POINTER_OUTPUT if is_locked is NULL
234
- // SUStringRef object
235
- //*/
236
- // SU_RESULT SUGroupExplode(SUGroupRef group, bool* is_locked);
237
-
238
- /** @endcond */
239
-
240
- #ifdef __cplusplus
241
- } // extern "C"
242
- #endif
243
-
244
- #endif // SKETCHUP_MODEL_GROUP_H_
@@ -1,155 +0,0 @@
1
- // Copyright 2014 Trimble Inc. All Rights Reserved.
2
-
3
- /**
4
- * @file
5
- * @brief Interfaces for SUGuideLineRef.
6
- */
7
- #ifndef SKETCHUP_MODEL_GUIDE_LINE_H_
8
- #define SKETCHUP_MODEL_GUIDE_LINE_H_
9
-
10
- #include <SketchUpAPI/common.h>
11
- #include <SketchUpAPI/geometry.h>
12
- #include <SketchUpAPI/model/defs.h>
13
-
14
- #ifdef __cplusplus
15
- extern "C" {
16
- #endif
17
-
18
- /**
19
- @struct SUGuideLineRef
20
- @extends SUDrawingElementRef
21
- @brief A guide line that has a start and end position.
22
- @since SketchUp 2016, API 4.0
23
- */
24
-
25
- /**
26
- @brief Converts from an \ref SUGuideLineRef to an \ref SUEntityRef. This is
27
- essentially an upcast operation.
28
- @since SketchUp 2016, API 4.0
29
- @param[in] guide_line The guide line object.
30
- @related SUGuideLineRef
31
- @return
32
- - The converted \ref SUEntityRef if guide_line is a valid object
33
- - If not, the returned reference will be invalid
34
- */
35
- SU_EXPORT SUEntityRef SUGuideLineToEntity(SUGuideLineRef guide_line);
36
-
37
- /**
38
- @brief Converts from an \ref SUEntityRef to an \ref SUGuideLineRef.
39
- This is essentially a downcast operation so the given \ref SUEntityRef
40
- must be convertible to an \ref SUGuideLineRef.
41
- @since SketchUp 2016, API 4.0
42
- @param[in] entity The entity object.
43
- @related SUGuideLineRef
44
- @return
45
- - The converted \ref SUGuideLineRef if the downcast operation succeeds
46
- - If the downcast operation fails, the returned reference will be invalid
47
- */
48
- SU_EXPORT SUGuideLineRef SUGuideLineFromEntity(SUEntityRef entity);
49
-
50
- /**
51
- @brief Converts from an \ref SUGuideLineRef to an \ref SUDrawingElementRef.
52
- This is essentially an upcast operation.
53
- @since SketchUp 2016, API 4.0
54
- @param[in] guide_line The given guide line reference.
55
- @related SUGuideLineRef
56
- @return
57
- - The converted \ref SUEntityRef if guide_line is a valid guide line
58
- - If not, the returned reference will be invalid
59
- */
60
- SU_EXPORT SUDrawingElementRef SUGuideLineToDrawingElement(SUGuideLineRef guide_line);
61
-
62
- /**
63
- @brief Converts from an \ref SUDrawingElementRef to an \ref SUGuideLineRef.
64
- This is essentially a downcast operation so the given element must be
65
- convertible to an \ref SUGuideLineRef.
66
- @since SketchUp 2016, API 4.0
67
- @param[in] drawing_elem The given element reference.
68
- @related SUGuideLineRef
69
- @return
70
- - The converted \ref SUGuideLineRef if the downcast operation succeeds
71
- - If not, the returned reference will be invalid.
72
- */
73
- SU_EXPORT SUGuideLineRef SUGuideLineFromDrawingElement(SUDrawingElementRef drawing_elem);
74
-
75
- /**
76
- @brief Creates a finite guide line object. The guide line object must be
77
- subsequently deallocated with \ref SUGuideLineRelease() unless it is
78
- associated with a parent object. The generated line will be a segment
79
- with start and end points. The end point can be obtained by adding the
80
- direction vector to the start point.
81
- @since SketchUp 2016, API 4.0
82
- @param[in] guide_line The guide line object.
83
- @param[out] start The guide line start position.
84
- @param[out] end The guide line end position.
85
- @related SUGuideLineRef
86
- @return
87
- - \ref SU_ERROR_NONE on success
88
- - \ref SU_ERROR_NULL_POINTER_INPUT if guide_line is NULL
89
- - \ref SU_ERROR_OVERWRITE_VALID if guide_line references a valid object
90
- - \ref SU_ERROR_NULL_POINTER_INPUT if start or end is NULL
91
- */
92
- SU_RESULT SUGuideLineCreateFinite(
93
- SUGuideLineRef* guide_line, const struct SUPoint3D* start, const struct SUPoint3D* end);
94
-
95
- /**
96
- @brief Creates a infinite guide line object. The guide line object must be
97
- subsequently deallocated with \ref SUGuideLineRelease() unless it is
98
- associated with a parent object. The generated line will be infinite.
99
- Defined with a point along the line and a direction vector.
100
- @since SketchUp 2016, API 4.0
101
- @param[in] guide_line The guide line object.
102
- @param[out] point A point on the guide line.
103
- @param[out] direction The guide line direction vector.
104
- @related SUGuideLineRef
105
- @return
106
- - \ref SU_ERROR_NONE on success
107
- - \ref SU_ERROR_NULL_POINTER_INPUT if guide_line is NULL
108
- - \ref SU_ERROR_OVERWRITE_VALID if guide_line references a valid object
109
- - \ref SU_ERROR_NULL_POINTER_INPUT if start or end is NULL
110
- */
111
- SU_RESULT SUGuideLineCreateInfinite(
112
- SUGuideLineRef* guide_line, const struct SUPoint3D* point, const struct SUVector3D* direction);
113
-
114
- /**
115
- @brief Releases a guide line object. The guide line object must have been
116
- created with \ref SUGuideLineCreateFinite() or \ref
117
- SUGuideLineCreateInfinite and not subsequently associated with a parent
118
- object (e.g. \ref SUEntitiesRef).
119
- @since SketchUp 2016, API 4.0
120
- @param[in] guide_line The guide line object.
121
- @related SUGuideLineRef
122
- @return
123
- - \ref SU_ERROR_NONE on success
124
- - \ref SU_ERROR_NULL_POINTER_INPUT if guide_line is NULL
125
- - \ref SU_ERROR_INVALID_INPUT if guide_line does not reference a valid object
126
- */
127
- SU_RESULT SUGuideLineRelease(SUGuideLineRef* guide_line);
128
-
129
- /**
130
- @brief Retrieves the data defining the line (a point, a direction vector, and a
131
- boolean flagging if the line is infinite). For finite lines \p start
132
- is the start point, and the end point can be obtained by adding
133
- the direction vector (\p direction) to the start point (\p start).
134
- For infinite lines \p start is simply a point on the guide line, and
135
- \p direction is always a unit vector.
136
- @since SketchUp 2016, API 4.0
137
- @param[in] guide_line The guide line object.
138
- @param[out] start A point on the guide line.
139
- @param[out] direction The guide line direction.
140
- @param[out] isinfinite returns true if infinite otherwise returns false
141
- @related SUGuideLineRef
142
- @return
143
- - \ref SU_ERROR_NONE on success
144
- - \ref SU_ERROR_INVALID_INPUT if guide line is an invalid object
145
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if start, direction, or isinfinite is NULL
146
- */
147
- SU_RESULT SUGuideLineGetData(
148
- SUGuideLineRef guide_line, struct SUPoint3D* start, struct SUVector3D* direction,
149
- bool* isinfinite);
150
-
151
- #ifdef __cplusplus
152
- } // extern "C"
153
- #endif
154
-
155
- #endif // SKETCHUP_MODEL_GUIDE_LINE_H_
@@ -1,153 +0,0 @@
1
- // Copyright 2014 Trimble Inc. All Rights Reserved.
2
-
3
- /**
4
- * @file
5
- * @brief Interfaces for SUGuidePointRef.
6
- */
7
- #ifndef SKETCHUP_MODEL_GUIDE_POINT_H_
8
- #define SKETCHUP_MODEL_GUIDE_POINT_H_
9
-
10
- #include <SketchUpAPI/common.h>
11
- #include <SketchUpAPI/geometry.h>
12
- #include <SketchUpAPI/model/defs.h>
13
-
14
- #ifdef __cplusplus
15
- extern "C" {
16
- #endif
17
-
18
- /**
19
- @struct SUGuidePointRef
20
- @extends SUDrawingElementRef
21
- @brief A guide point that has a position.
22
- @since SketchUp 2014 M1, API 2.1
23
- */
24
-
25
- /**
26
- @brief Converts from an \ref SUGuidePointRef to an \ref SUEntityRef. This is
27
- essentially an upcast operation.
28
- @since SketchUp 2014 M1, API 2.1
29
- @param[in] guide_point The guide point object.
30
- @related SUGuidePointRef
31
- @return
32
- - The converted \ref SUEntityRef if guide_point is a valid object
33
- - If not, the returned reference will be invalid
34
- */
35
- SU_EXPORT SUEntityRef SUGuidePointToEntity(SUGuidePointRef guide_point);
36
-
37
- /**
38
- @brief Converts from an \ref SUEntityRef to an \ref SUGuidePointRef.
39
- This is essentially a downcast operation so the given \ref SUEntityRef
40
- must be convertible to an \ref SUGuidePointRef.
41
- @since SketchUp 2014 M1, API 2.1
42
- @param[in] entity The entity object.
43
- @related SUGuidePointRef
44
- @return
45
- - The converted \ref SUGuidePointRef if the downcast operation succeeds
46
- - If the downcast operation fails, the returned reference will be invalid
47
- */
48
- SU_EXPORT SUGuidePointRef SUGuidePointFromEntity(SUEntityRef entity);
49
-
50
- /**
51
- @brief Converts from an \ref SUGuidePointRef to an \ref SUDrawingElementRef.
52
- This is essentially an upcast operation.
53
- @since SketchUp 2015 M0, API 3.0
54
- @param[in] guide_point The given guide point reference.
55
- @related SUGuidePointRef
56
- @return
57
- - The converted \ref SUEntityRef if guide_point is a valid guide point.
58
- - If not, the returned reference will be invalid.
59
- */
60
- SU_EXPORT SUDrawingElementRef SUGuidePointToDrawingElement(SUGuidePointRef guide_point);
61
-
62
- /**
63
- @brief Converts from an \ref SUDrawingElementRef to an \ref SUGuidePointRef.
64
- This is essentially a downcast operation so the given element must be
65
- convertible to an SUGuidePointRef.
66
- @since SketchUp 2015 M0, API 3.0
67
- @param[in] drawing_elem The given element reference.
68
- @related SUGuidePointRef
69
- @return
70
- - The converted \ref SUGuidePointRef if the downcast operation succeeds
71
- - If not, the returned reference will be invalid
72
- */
73
- SU_EXPORT SUGuidePointRef SUGuidePointFromDrawingElement(SUDrawingElementRef drawing_elem);
74
-
75
- /**
76
- @brief Creates a guide point object. The guide point object must be subsequently
77
- deallocated with \ref SUGuidePointRelease() unless it is associated with
78
- a parent object.
79
- @since SketchUp 2014 M1, API 2.1
80
- @param[in] guide_point The guide point object.
81
- @param[out] position The guide point position.
82
- @related SUGuidePointRef
83
- @return
84
- - \ref SU_ERROR_NONE on success
85
- - \ref SU_ERROR_NULL_POINTER_INPUT if guide_point is NULL
86
- - \ref SU_ERROR_OVERWRITE_VALID if guide_point references a valid object
87
- - \ref SU_ERROR_NULL_POINTER_INPUT if position is NULL
88
- */
89
- SU_RESULT SUGuidePointCreate(SUGuidePointRef* guide_point, const struct SUPoint3D* position);
90
-
91
- /**
92
- @brief Releases a guide point object. The guide point object must have been
93
- created with SUGuidePointCreate() and not subsequently associated
94
- with a parent object (e.g. SUEntitiesAddGuidePoints()).
95
- @since SketchUp 2014 M1, API 2.1
96
- @param[in] guide_point The guide point object.
97
- @related SUGuidePointRef
98
- @return
99
- - \ref SU_ERROR_NONE on success
100
- - \ref SU_ERROR_NULL_POINTER_INPUT if guide_point is NULL
101
- - \ref SU_ERROR_INVALID_INPUT if guide_point does not reference a valid object
102
- */
103
- SU_RESULT SUGuidePointRelease(SUGuidePointRef* guide_point);
104
-
105
- /**
106
- @brief Retrieves the position of a guide point object.
107
- @since SketchUp 2014 M1, API 2.1
108
- @param[in] guide_point The guide point object.
109
- @param[out] position The guide point position.
110
- @related SUGuidePointRef
111
- @return
112
- - \ref SU_ERROR_NONE on success
113
- - \ref SU_ERROR_INVALID_INPUT if guide point is an invalid object
114
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if position is NULL
115
- */
116
- SU_RESULT SUGuidePointGetPosition(SUGuidePointRef guide_point, struct SUPoint3D* position);
117
-
118
- /**
119
- @brief Retrieves the anchor position of a guide point object. If the point was
120
- created in SketchUp then the anchor is the position that was first
121
- clicked during the point creation. If the point was created with \ref
122
- SUGuidePointCreate the anchor is the origin.
123
- @since SketchUp 2016, API 4.0
124
- @param[in] guide_point The guide point object.
125
- @param[out] position The guide point anchor position.
126
- @related SUGuidePointRef
127
- @return
128
- - \ref SU_ERROR_NONE on success
129
- - \ref SU_ERROR_INVALID_INPUT if guide point is an invalid object
130
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if position is NULL
131
- */
132
- SU_RESULT SUGuidePointGetFromPosition(SUGuidePointRef guide_point, struct SUPoint3D* position);
133
-
134
- /**
135
- @brief Retrieves the boolean indicating if the point should be displayed as a
136
- line.
137
- @since SketchUp 2016, API 4.0
138
- @param[in] guide_point The guide point object.
139
- @param[out] as_line Return true if the point is set to be displayed as a
140
- line.
141
- @related SUGuidePointRef
142
- @return
143
- - \ref SU_ERROR_NONE on success
144
- - \ref SU_ERROR_INVALID_INPUT if guide point is an invalid object
145
- - \ref SU_ERROR_NULL_POINTER_OUTPUT if as_line is NULL
146
- */
147
- SU_RESULT SUGuidePointGetDisplayAsLine(SUGuidePointRef guide_point, bool* as_line);
148
-
149
- #ifdef __cplusplus
150
- } // extern "C"
151
- #endif
152
-
153
- #endif // SKETCHUP_MODEL_GUIDE_POINT_H_