@snaptrude/plugin-core 0.3.0 → 0.6.0
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.
- package/AGENTS.md +130 -48
- package/CHANGELOG.md +163 -0
- package/api-manifest.full.json +5600 -0
- package/api-manifest.json +5502 -0
- package/dist/api/analysis/heatmaps.d.ts +234 -0
- package/dist/api/analysis/heatmaps.d.ts.map +1 -0
- package/dist/api/analysis/illuminance.d.ts +145 -0
- package/dist/api/analysis/illuminance.d.ts.map +1 -0
- package/dist/api/analysis/index.d.ts +44 -0
- package/dist/api/analysis/index.d.ts.map +1 -0
- package/dist/api/analysis/shadows.d.ts +165 -0
- package/dist/api/analysis/shadows.d.ts.map +1 -0
- package/dist/api/analysis/sunlightHours.d.ts +208 -0
- package/dist/api/analysis/sunlightHours.d.ts.map +1 -0
- package/dist/api/analysis/sunpath.d.ts +80 -0
- package/dist/api/analysis/sunpath.d.ts.map +1 -0
- package/dist/api/core/buildings.d.ts +427 -0
- package/dist/api/core/buildings.d.ts.map +1 -0
- package/dist/api/core/comment/index.d.ts +230 -0
- package/dist/api/core/comment/index.d.ts.map +1 -0
- package/dist/api/core/geom/create/index.d.ts +247 -0
- package/dist/api/core/geom/create/index.d.ts.map +1 -0
- package/dist/api/core/geom/delete/index.d.ts +72 -0
- package/dist/api/core/geom/delete/index.d.ts.map +1 -0
- package/dist/api/core/geom/index.d.ts +24 -23
- package/dist/api/core/geom/index.d.ts.map +1 -1
- package/dist/api/core/geom/query/arc.d.ts +169 -0
- package/dist/api/core/geom/query/arc.d.ts.map +1 -0
- package/dist/api/core/geom/query/brep.d.ts +402 -0
- package/dist/api/core/geom/query/brep.d.ts.map +1 -0
- package/dist/api/core/geom/query/circle.d.ts +378 -0
- package/dist/api/core/geom/query/circle.d.ts.map +1 -0
- package/dist/api/core/geom/query/contour.d.ts +450 -0
- package/dist/api/core/geom/query/contour.d.ts.map +1 -0
- package/dist/api/core/geom/query/curve.d.ts +918 -0
- package/dist/api/core/geom/query/curve.d.ts.map +1 -0
- package/dist/api/core/geom/query/edge.d.ts +128 -0
- package/dist/api/core/geom/query/edge.d.ts.map +1 -0
- package/dist/api/core/geom/query/face.d.ts +363 -0
- package/dist/api/core/geom/query/face.d.ts.map +1 -0
- package/dist/api/core/geom/query/halfedge.d.ts +206 -0
- package/dist/api/core/geom/query/halfedge.d.ts.map +1 -0
- package/dist/api/core/geom/query/index.d.ts +61 -0
- package/dist/api/core/geom/query/index.d.ts.map +1 -0
- package/dist/api/core/geom/query/profile.d.ts +410 -0
- package/dist/api/core/geom/query/profile.d.ts.map +1 -0
- package/dist/api/core/geom/query/vertex.d.ts +187 -0
- package/dist/api/core/geom/query/vertex.d.ts.map +1 -0
- package/dist/api/core/geom/update/contour.d.ts +272 -0
- package/dist/api/core/geom/update/contour.d.ts.map +1 -0
- package/dist/api/core/geom/update/curve.d.ts +180 -0
- package/dist/api/core/geom/update/curve.d.ts.map +1 -0
- package/dist/api/core/geom/update/index.d.ts +27 -0
- package/dist/api/core/geom/update/index.d.ts.map +1 -0
- package/dist/api/core/geom/update/profile.d.ts +329 -0
- package/dist/api/core/geom/update/profile.d.ts.map +1 -0
- package/dist/api/core/groups.d.ts +485 -0
- package/dist/api/core/groups.d.ts.map +1 -0
- package/dist/api/core/history/index.d.ts +78 -0
- package/dist/api/core/history/index.d.ts.map +1 -0
- package/dist/api/core/index.d.ts +51 -1
- package/dist/api/core/index.d.ts.map +1 -1
- package/dist/api/core/io/import/index.d.ts +392 -0
- package/dist/api/core/io/import/index.d.ts.map +1 -0
- package/dist/api/core/io/index.d.ts +35 -0
- package/dist/api/core/io/index.d.ts.map +1 -0
- package/dist/api/core/io/job/index.d.ts +139 -0
- package/dist/api/core/io/job/index.d.ts.map +1 -0
- package/dist/api/core/io/query/index.d.ts +74 -0
- package/dist/api/core/io/query/index.d.ts.map +1 -0
- package/dist/api/core/io/terrain/index.d.ts +206 -0
- package/dist/api/core/io/terrain/index.d.ts.map +1 -0
- package/dist/api/core/io/underlay/index.d.ts +286 -0
- package/dist/api/core/io/underlay/index.d.ts.map +1 -0
- package/dist/api/core/layers.d.ts +402 -0
- package/dist/api/core/layers.d.ts.map +1 -0
- package/dist/api/core/math/quat.d.ts +111 -128
- package/dist/api/core/math/quat.d.ts.map +1 -1
- package/dist/api/core/math/vec3.d.ts +120 -102
- package/dist/api/core/math/vec3.d.ts.map +1 -1
- package/dist/api/core/project/index.d.ts +399 -0
- package/dist/api/core/project/index.d.ts.map +1 -0
- package/dist/api/core/tags.d.ts +755 -0
- package/dist/api/core/tags.d.ts.map +1 -0
- package/dist/api/core/units/index.d.ts +175 -0
- package/dist/api/core/units/index.d.ts.map +1 -0
- package/dist/api/core/zoom/index.d.ts +45 -0
- package/dist/api/core/zoom/index.d.ts.map +1 -0
- package/dist/api/design/boolean/index.d.ts +168 -0
- package/dist/api/design/boolean/index.d.ts.map +1 -0
- package/dist/api/design/create/index.d.ts +837 -0
- package/dist/api/design/create/index.d.ts.map +1 -0
- package/dist/api/design/delete/index.d.ts +63 -0
- package/dist/api/design/delete/index.d.ts.map +1 -0
- package/dist/api/design/doors/index.d.ts +268 -0
- package/dist/api/design/doors/index.d.ts.map +1 -0
- package/dist/api/design/edit/index.d.ts +49 -0
- package/dist/api/design/edit/index.d.ts.map +1 -0
- package/dist/api/design/erase/index.d.ts +160 -0
- package/dist/api/design/erase/index.d.ts.map +1 -0
- package/dist/api/design/furniture/index.d.ts +123 -0
- package/dist/api/design/furniture/index.d.ts.map +1 -0
- package/dist/api/design/index.d.ts +153 -0
- package/dist/api/design/index.d.ts.map +1 -0
- package/dist/api/design/lock.d.ts +41 -0
- package/dist/api/design/lock.d.ts.map +1 -0
- package/dist/api/design/materials/index.d.ts +297 -0
- package/dist/api/design/materials/index.d.ts.map +1 -0
- package/dist/api/design/query/geometry/index.d.ts +140 -0
- package/dist/api/design/query/geometry/index.d.ts.map +1 -0
- package/dist/api/design/query/index.d.ts +1011 -0
- package/dist/api/design/query/index.d.ts.map +1 -0
- package/dist/api/design/query/spaces.d.ts +221 -0
- package/dist/api/design/query/spaces.d.ts.map +1 -0
- package/dist/api/design/selection/index.d.ts +282 -0
- package/dist/api/design/selection/index.d.ts.map +1 -0
- package/dist/api/design/shared.d.ts +38 -0
- package/dist/api/design/shared.d.ts.map +1 -0
- package/dist/api/design/transform/index.d.ts +87 -0
- package/dist/api/design/transform/index.d.ts.map +1 -0
- package/dist/api/design/update/index.d.ts +178 -0
- package/dist/api/design/update/index.d.ts.map +1 -0
- package/dist/api/design/windows/index.d.ts +189 -0
- package/dist/api/design/windows/index.d.ts.map +1 -0
- package/dist/api/entity/buildableEnvelope.d.ts +261 -0
- package/dist/api/entity/buildableEnvelope.d.ts.map +1 -0
- package/dist/api/entity/department.d.ts +0 -98
- package/dist/api/entity/department.d.ts.map +1 -1
- package/dist/api/entity/index.d.ts +9 -9
- package/dist/api/entity/index.d.ts.map +1 -1
- package/dist/api/entity/referenceLine.d.ts +49 -106
- package/dist/api/entity/referenceLine.d.ts.map +1 -1
- package/dist/api/entity/space.d.ts +484 -251
- package/dist/api/entity/space.d.ts.map +1 -1
- package/dist/api/entity/story.d.ts +49 -39
- package/dist/api/entity/story.d.ts.map +1 -1
- package/dist/api/index.d.ts +22 -12
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/presentation/aiInspiration.d.ts +440 -0
- package/dist/api/presentation/aiInspiration.d.ts.map +1 -0
- package/dist/api/presentation/diagrams.d.ts +81 -0
- package/dist/api/presentation/diagrams.d.ts.map +1 -0
- package/dist/api/presentation/import.d.ts +113 -0
- package/dist/api/presentation/import.d.ts.map +1 -0
- package/dist/api/presentation/index.d.ts +46 -0
- package/dist/api/presentation/index.d.ts.map +1 -0
- package/dist/api/presentation/sheets.d.ts +176 -0
- package/dist/api/presentation/sheets.d.ts.map +1 -0
- package/dist/api/presentation/views.d.ts +296 -0
- package/dist/api/presentation/views.d.ts.map +1 -0
- package/dist/api/program/adjacency.d.ts +155 -0
- package/dist/api/program/adjacency.d.ts.map +1 -0
- package/dist/api/program/areas.d.ts +360 -0
- package/dist/api/program/areas.d.ts.map +1 -0
- package/dist/api/program/classification.d.ts +135 -0
- package/dist/api/program/classification.d.ts.map +1 -0
- package/dist/api/program/cores.d.ts +174 -0
- package/dist/api/program/cores.d.ts.map +1 -0
- package/dist/api/program/departments.d.ts +431 -0
- package/dist/api/program/departments.d.ts.map +1 -0
- package/dist/api/program/index.d.ts +69 -0
- package/dist/api/program/index.d.ts.map +1 -0
- package/dist/api/program/layout.d.ts +63 -0
- package/dist/api/program/layout.d.ts.map +1 -0
- package/dist/api/program/metrics.d.ts +108 -0
- package/dist/api/program/metrics.d.ts.map +1 -0
- package/dist/api/program/site.d.ts +451 -0
- package/dist/api/program/site.d.ts.map +1 -0
- package/dist/api/program/spreadsheet.d.ts +2041 -0
- package/dist/api/program/spreadsheet.d.ts.map +1 -0
- package/dist/handles.d.ts +171 -0
- package/dist/handles.d.ts.map +1 -0
- package/dist/host-utils.d.ts +7 -5
- package/dist/host-utils.d.ts.map +1 -1
- package/dist/index.cjs +4344 -899
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3682 -865
- package/dist/index.js.map +1 -1
- package/package.json +6 -2
- package/scripts/generate-manifest.mjs +193 -0
- package/scripts/generate-manifest.test.mjs +215 -0
- package/src/api/analysis/heatmaps.ts +256 -0
- package/src/api/analysis/illuminance.ts +155 -0
- package/src/api/analysis/index.ts +46 -0
- package/src/api/analysis/shadows.ts +183 -0
- package/src/api/analysis/sunlightHours.ts +211 -0
- package/src/api/analysis/sunpath.ts +83 -0
- package/src/api/core/buildings.ts +485 -0
- package/src/api/core/comment/index.ts +258 -0
- package/src/api/core/geom/create/index.ts +293 -0
- package/src/api/core/geom/delete/index.ts +78 -0
- package/src/api/core/geom/index.ts +24 -23
- package/src/api/core/geom/query/arc.ts +169 -0
- package/src/api/core/geom/query/brep.ts +444 -0
- package/src/api/core/geom/query/circle.ts +404 -0
- package/src/api/core/geom/query/contour.ts +540 -0
- package/src/api/core/geom/query/curve.ts +1078 -0
- package/src/api/core/geom/query/edge.ts +130 -0
- package/src/api/core/geom/query/face.ts +403 -0
- package/src/api/core/geom/query/halfedge.ts +210 -0
- package/src/api/core/geom/query/index.ts +63 -0
- package/src/api/core/geom/query/profile.ts +473 -0
- package/src/api/core/geom/query/vertex.ts +205 -0
- package/src/api/core/geom/update/contour.ts +315 -0
- package/src/api/core/geom/update/curve.ts +209 -0
- package/src/api/core/geom/update/index.ts +29 -0
- package/src/api/core/geom/update/profile.ts +377 -0
- package/src/api/core/groups.ts +521 -0
- package/src/api/core/history/index.ts +84 -0
- package/src/api/core/index.ts +51 -1
- package/src/api/core/io/import/index.ts +432 -0
- package/src/api/core/io/index.ts +37 -0
- package/src/api/core/io/job/index.ts +140 -0
- package/src/api/core/io/query/index.ts +71 -0
- package/src/api/core/io/terrain/index.ts +214 -0
- package/src/api/core/io/underlay/index.ts +295 -0
- package/src/api/core/layers.ts +333 -0
- package/src/api/core/math/quat.ts +112 -235
- package/src/api/core/math/vec3.ts +124 -159
- package/src/api/core/project/index.ts +418 -0
- package/src/api/core/tags.ts +808 -0
- package/src/api/core/units/index.ts +164 -0
- package/src/api/core/zoom/index.ts +47 -0
- package/src/api/design/boolean/index.ts +179 -0
- package/src/api/design/create/index.ts +895 -0
- package/src/api/design/delete/index.ts +67 -0
- package/src/api/design/doors/index.ts +285 -0
- package/src/api/design/edit/index.ts +54 -0
- package/src/api/design/erase/index.ts +151 -0
- package/src/api/design/furniture/index.ts +130 -0
- package/src/api/design/index.ts +162 -0
- package/src/api/design/lock.ts +42 -0
- package/src/api/design/materials/index.ts +301 -0
- package/src/api/design/query/geometry/index.ts +166 -0
- package/src/api/design/query/index.ts +937 -0
- package/src/api/design/query/spaces.ts +132 -0
- package/src/api/design/selection/index.ts +273 -0
- package/src/api/design/shared.ts +40 -0
- package/src/api/design/transform/index.ts +93 -0
- package/src/api/design/update/index.ts +117 -0
- package/src/api/design/windows/index.ts +207 -0
- package/src/api/entity/buildableEnvelope.ts +318 -0
- package/src/api/entity/department.ts +0 -113
- package/src/api/entity/index.ts +9 -9
- package/src/api/entity/referenceLine.ts +50 -38
- package/src/api/entity/space.ts +285 -226
- package/src/api/entity/story.ts +53 -42
- package/src/api/index.ts +22 -12
- package/src/api/presentation/aiInspiration.ts +362 -0
- package/src/api/presentation/diagrams.ts +84 -0
- package/src/api/presentation/import.ts +112 -0
- package/src/api/presentation/index.ts +48 -0
- package/src/api/presentation/sheets.ts +198 -0
- package/src/api/presentation/views.ts +303 -0
- package/src/api/program/adjacency.ts +164 -0
- package/src/api/program/areas.ts +335 -0
- package/src/api/program/classification.ts +138 -0
- package/src/api/program/cores.ts +171 -0
- package/src/api/program/departments.ts +465 -0
- package/src/api/program/index.ts +71 -0
- package/src/api/program/layout.ts +68 -0
- package/src/api/program/metrics.ts +120 -0
- package/src/api/program/site.ts +419 -0
- package/src/api/program/spreadsheet.ts +2075 -0
- package/src/handles.ts +194 -0
- package/src/host-utils.ts +10 -6
- package/src/index.ts +1 -0
- package/dist/api/core/geom/arc.d.ts +0 -81
- package/dist/api/core/geom/arc.d.ts.map +0 -1
- package/dist/api/core/geom/curve.d.ts +0 -70
- package/dist/api/core/geom/curve.d.ts.map +0 -1
- package/dist/api/core/geom/line.d.ts +0 -56
- package/dist/api/core/geom/line.d.ts.map +0 -1
- package/dist/api/core/geom/profile.d.ts +0 -121
- package/dist/api/core/geom/profile.d.ts.map +0 -1
- package/dist/api/tools/copy.d.ts +0 -59
- package/dist/api/tools/copy.d.ts.map +0 -1
- package/dist/api/tools/index.d.ts +0 -33
- package/dist/api/tools/index.d.ts.map +0 -1
- package/dist/api/tools/material.d.ts +0 -51
- package/dist/api/tools/material.d.ts.map +0 -1
- package/dist/api/tools/offset.d.ts +0 -43
- package/dist/api/tools/offset.d.ts.map +0 -1
- package/dist/api/tools/selection.d.ts +0 -48
- package/dist/api/tools/selection.d.ts.map +0 -1
- package/dist/api/tools/transform.d.ts +0 -114
- package/dist/api/tools/transform.d.ts.map +0 -1
- package/dist/api/units/index.d.ts +0 -163
- package/dist/api/units/index.d.ts.map +0 -1
- package/src/api/core/geom/arc.ts +0 -70
- package/src/api/core/geom/curve.ts +0 -41
- package/src/api/core/geom/line.ts +0 -53
- package/src/api/core/geom/profile.ts +0 -94
- package/src/api/tools/copy.ts +0 -55
- package/src/api/tools/index.ts +0 -39
- package/src/api/tools/material.ts +0 -49
- package/src/api/tools/offset.ts +0 -43
- package/src/api/tools/selection.ts +0 -51
- package/src/api/tools/transform.ts +0 -117
- package/src/api/units/index.ts +0 -163
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { PluginApiReturn } from "../../../../types";
|
|
3
|
+
import { CircleHandle, Vec3Handle, Vec3Components } from "../../../../handles";
|
|
4
|
+
/**
|
|
5
|
+
* Circle-specific geometry queries — read closed-circle properties as plain values
|
|
6
|
+
* (all-handle model, §11). A circle is a closed curve with its own namespace
|
|
7
|
+
* (mirroring {@linkcode PluginGeomQueryArcApi}); it is NOT part of the shared
|
|
8
|
+
* {@linkcode CurveHandle} line/arc surface.
|
|
9
|
+
*
|
|
10
|
+
* Every method takes an opaque {@linkcode CircleHandle} (plus a point handle where
|
|
11
|
+
* relevant) and returns plain values — numbers, {@linkcode Vec3Components},
|
|
12
|
+
* predicates as `boolean`. No query mutates its inputs.
|
|
13
|
+
*
|
|
14
|
+
* Accessed via `snaptrude.core.geom.query.circle`.
|
|
15
|
+
*/
|
|
16
|
+
export declare abstract class PluginGeomQueryCircleApi {
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* Read the radius of a circle.
|
|
20
|
+
* @param circle The circle to query
|
|
21
|
+
* @returns The radius as a `number`
|
|
22
|
+
*
|
|
23
|
+
* @examplePrompt What is the radius of this circle?
|
|
24
|
+
* @examplePrompt Measure the radius of the circular column grid
|
|
25
|
+
*
|
|
26
|
+
* # Example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
29
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
30
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
31
|
+
* const radius = await snaptrude.core.geom.query.circle.getRadius(circle)
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
abstract getRadius(circle: CircleHandle): PluginApiReturn<number>;
|
|
35
|
+
/**
|
|
36
|
+
* Read the centre point of a circle.
|
|
37
|
+
* @param circle The circle to query
|
|
38
|
+
* @returns The centre as {@linkcode Vec3Components}
|
|
39
|
+
*
|
|
40
|
+
* @examplePrompt Where is the centre of this circle?
|
|
41
|
+
* @examplePrompt Find the center point of the circular courtyard outline
|
|
42
|
+
*
|
|
43
|
+
* # Example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
46
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
47
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
48
|
+
* const centre = await snaptrude.core.geom.query.circle.getCentre(circle)
|
|
49
|
+
* console.log(centre.x, centre.y, centre.z)
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
abstract getCentre(circle: CircleHandle): PluginApiReturn<Vec3Components>;
|
|
53
|
+
/**
|
|
54
|
+
* Read the axis (plane normal) of a circle.
|
|
55
|
+
* @param circle The circle to query
|
|
56
|
+
* @returns The axis as {@linkcode Vec3Components}
|
|
57
|
+
*
|
|
58
|
+
* # Example
|
|
59
|
+
* ```ts
|
|
60
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
61
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
62
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
63
|
+
* const axis = await snaptrude.core.geom.query.circle.getAxis(circle)
|
|
64
|
+
* console.log(axis.x, axis.y, axis.z)
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
abstract getAxis(circle: CircleHandle): PluginApiReturn<Vec3Components>;
|
|
68
|
+
/**
|
|
69
|
+
* Read the length (circumference, `2πr`) of a circle.
|
|
70
|
+
* @param circle The circle to query
|
|
71
|
+
* @returns The circumference as a `number`
|
|
72
|
+
*
|
|
73
|
+
* @examplePrompt What is the circumference of this circle?
|
|
74
|
+
* @examplePrompt How long is the circular path around the courtyard?
|
|
75
|
+
*
|
|
76
|
+
* # Example
|
|
77
|
+
* ```ts
|
|
78
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
79
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
80
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
81
|
+
* const circumference = await snaptrude.core.geom.query.circle.getLength(circle)
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
abstract getLength(circle: CircleHandle): PluginApiReturn<number>;
|
|
85
|
+
/**
|
|
86
|
+
* Check whether a circle is geometrically valid (non-degenerate axis + positive radius).
|
|
87
|
+
* @param circle The circle to query
|
|
88
|
+
* @returns `true` if the circle is valid, otherwise `false`
|
|
89
|
+
*
|
|
90
|
+
* # Example
|
|
91
|
+
* ```ts
|
|
92
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
93
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
94
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
95
|
+
* const ok = await snaptrude.core.geom.query.circle.isValid(circle)
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
abstract isValid(circle: CircleHandle): PluginApiReturn<boolean>;
|
|
99
|
+
/**
|
|
100
|
+
* Get the point on a circle nearest to an arbitrary point.
|
|
101
|
+
* @param circle The circle to query
|
|
102
|
+
* @param point The reference point
|
|
103
|
+
* @returns The nearest point as {@linkcode Vec3Components}
|
|
104
|
+
*
|
|
105
|
+
* @examplePrompt Find the point on the circle closest to this column
|
|
106
|
+
*
|
|
107
|
+
* # Example
|
|
108
|
+
* ```ts
|
|
109
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
110
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
111
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
112
|
+
* const target = await snaptrude.core.math.vec3.new(8, 0, 2)
|
|
113
|
+
* const nearest = await snaptrude.core.geom.query.circle.getNearestPoint(circle, target)
|
|
114
|
+
* console.log(nearest.x, nearest.y, nearest.z)
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
abstract getNearestPoint(circle: CircleHandle, point: Vec3Handle): PluginApiReturn<Vec3Components>;
|
|
118
|
+
/**
|
|
119
|
+
* Test whether a point lies on a circle.
|
|
120
|
+
* @param circle The circle to query
|
|
121
|
+
* @param point The point to test
|
|
122
|
+
* @returns `true` if the point is on the circle, otherwise `false`
|
|
123
|
+
*
|
|
124
|
+
* @examplePrompt Check whether this point sits on the circle
|
|
125
|
+
*
|
|
126
|
+
* # Example
|
|
127
|
+
* ```ts
|
|
128
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
129
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
130
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
131
|
+
* const pt = await snaptrude.core.math.vec3.new(5, 0, 0)
|
|
132
|
+
* const onCircle = await snaptrude.core.geom.query.circle.hasPoint(circle, pt)
|
|
133
|
+
* ```
|
|
134
|
+
*/
|
|
135
|
+
abstract hasPoint(circle: CircleHandle, point: Vec3Handle): PluginApiReturn<boolean>;
|
|
136
|
+
/**
|
|
137
|
+
* Get the tangent direction of a circle at a point on it.
|
|
138
|
+
* @param circle The circle to query
|
|
139
|
+
* @param point A point on the circle
|
|
140
|
+
* @returns The tangent as {@linkcode Vec3Components}
|
|
141
|
+
*
|
|
142
|
+
* # Example
|
|
143
|
+
* ```ts
|
|
144
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
145
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
146
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
147
|
+
* const pt = await snaptrude.core.math.vec3.new(5, 0, 0)
|
|
148
|
+
* const tangent = await snaptrude.core.geom.query.circle.getTangent(circle, pt)
|
|
149
|
+
* console.log(tangent.x, tangent.y, tangent.z)
|
|
150
|
+
* ```
|
|
151
|
+
*/
|
|
152
|
+
abstract getTangent(circle: CircleHandle, point: Vec3Handle): PluginApiReturn<Vec3Components>;
|
|
153
|
+
/**
|
|
154
|
+
* Get the (in-plane, radial) normal direction of a circle at a point on it.
|
|
155
|
+
* @param circle The circle to query
|
|
156
|
+
* @param point A point on the circle
|
|
157
|
+
* @returns The radial normal as {@linkcode Vec3Components}
|
|
158
|
+
*
|
|
159
|
+
* # Example
|
|
160
|
+
* ```ts
|
|
161
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
162
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
163
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
164
|
+
* const pt = await snaptrude.core.math.vec3.new(5, 0, 0)
|
|
165
|
+
* const normal = await snaptrude.core.geom.query.circle.getNormal(circle, pt)
|
|
166
|
+
* console.log(normal.x, normal.y, normal.z)
|
|
167
|
+
* ```
|
|
168
|
+
*/
|
|
169
|
+
abstract getNormal(circle: CircleHandle, point: Vec3Handle): PluginApiReturn<Vec3Components>;
|
|
170
|
+
/**
|
|
171
|
+
* Get the point reached by travelling a signed arc-distance along the circle from
|
|
172
|
+
* a reference point that lies on it.
|
|
173
|
+
* @param circle The circle to query
|
|
174
|
+
* @param referencePoint A point on the circle to travel from
|
|
175
|
+
* @param distance Arc distance to travel
|
|
176
|
+
* @param forward Travel direction (optional; default forward)
|
|
177
|
+
* @returns The resulting point as {@linkcode Vec3Components}
|
|
178
|
+
*
|
|
179
|
+
* @examplePrompt Mark a point 2 metres along the circle from this point
|
|
180
|
+
*
|
|
181
|
+
* # Example
|
|
182
|
+
* ```ts
|
|
183
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
184
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
185
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
186
|
+
* const ref = await snaptrude.core.math.vec3.new(5, 0, 0)
|
|
187
|
+
* const ahead = await snaptrude.core.geom.query.circle.getPointAtDistance(circle, ref, 2)
|
|
188
|
+
* const behind = await snaptrude.core.geom.query.circle.getPointAtDistance(circle, ref, 2, false)
|
|
189
|
+
* ```
|
|
190
|
+
*/
|
|
191
|
+
abstract getPointAtDistance(circle: CircleHandle, referencePoint: Vec3Handle, distance: number, forward?: boolean): PluginApiReturn<Vec3Components>;
|
|
192
|
+
/**
|
|
193
|
+
* Test whether two circles are geometrically equal.
|
|
194
|
+
* @param circleA First circle
|
|
195
|
+
* @param circleB Second circle
|
|
196
|
+
* @returns `true` if the circles are equal, otherwise `false`
|
|
197
|
+
*
|
|
198
|
+
* # Example
|
|
199
|
+
* ```ts
|
|
200
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
201
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
202
|
+
* const a = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
203
|
+
* const b = await snaptrude.core.geom.create.circle(origin, up, 3)
|
|
204
|
+
* const same = await snaptrude.core.geom.query.circle.isEqual(a, b)
|
|
205
|
+
* ```
|
|
206
|
+
*/
|
|
207
|
+
abstract isEqual(circleA: CircleHandle, circleB: CircleHandle): PluginApiReturn<boolean>;
|
|
208
|
+
/**
|
|
209
|
+
* Sample a circle into an ordered list of points.
|
|
210
|
+
* @param circle The circle to query
|
|
211
|
+
* @param resolution Number of segments to sample (optional)
|
|
212
|
+
* @returns The sampled points as {@linkcode Vec3Components}`[]`
|
|
213
|
+
*
|
|
214
|
+
* @examplePrompt Divide this circle into 12 equal points
|
|
215
|
+
* @examplePrompt Get evenly spaced points around the circle to place columns
|
|
216
|
+
*
|
|
217
|
+
* # Example
|
|
218
|
+
* ```ts
|
|
219
|
+
* const origin = await snaptrude.core.math.vec3.new(0, 0, 0)
|
|
220
|
+
* const up = await snaptrude.core.math.vec3.new(0, 1, 0)
|
|
221
|
+
* const circle = await snaptrude.core.geom.create.circle(origin, up, 5)
|
|
222
|
+
* const points = await snaptrude.core.geom.query.circle.listPoints(circle, 12)
|
|
223
|
+
* for (const p of points) console.log(p.x, p.y, p.z)
|
|
224
|
+
* ```
|
|
225
|
+
*/
|
|
226
|
+
abstract listPoints(circle: CircleHandle, resolution?: number): PluginApiReturn<Vec3Components[]>;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.getRadius}.
|
|
230
|
+
*
|
|
231
|
+
* | Property | Type | Description |
|
|
232
|
+
* |---|---|---|
|
|
233
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
234
|
+
*/
|
|
235
|
+
export declare const PluginGeomQueryCircleGetRadiusArgs: z.ZodObject<{
|
|
236
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
237
|
+
}, z.core.$strip>;
|
|
238
|
+
export type PluginGeomQueryCircleGetRadiusArgs = z.infer<typeof PluginGeomQueryCircleGetRadiusArgs>;
|
|
239
|
+
/**
|
|
240
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.getCentre}.
|
|
241
|
+
*
|
|
242
|
+
* | Property | Type | Description |
|
|
243
|
+
* |---|---|---|
|
|
244
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
245
|
+
*/
|
|
246
|
+
export declare const PluginGeomQueryCircleGetCentreArgs: z.ZodObject<{
|
|
247
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
export type PluginGeomQueryCircleGetCentreArgs = z.infer<typeof PluginGeomQueryCircleGetCentreArgs>;
|
|
250
|
+
/**
|
|
251
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.getAxis}.
|
|
252
|
+
*
|
|
253
|
+
* | Property | Type | Description |
|
|
254
|
+
* |---|---|---|
|
|
255
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
256
|
+
*/
|
|
257
|
+
export declare const PluginGeomQueryCircleGetAxisArgs: z.ZodObject<{
|
|
258
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
export type PluginGeomQueryCircleGetAxisArgs = z.infer<typeof PluginGeomQueryCircleGetAxisArgs>;
|
|
261
|
+
/**
|
|
262
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.getLength}.
|
|
263
|
+
*
|
|
264
|
+
* | Property | Type | Description |
|
|
265
|
+
* |---|---|---|
|
|
266
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
267
|
+
*/
|
|
268
|
+
export declare const PluginGeomQueryCircleGetLengthArgs: z.ZodObject<{
|
|
269
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
270
|
+
}, z.core.$strip>;
|
|
271
|
+
export type PluginGeomQueryCircleGetLengthArgs = z.infer<typeof PluginGeomQueryCircleGetLengthArgs>;
|
|
272
|
+
/**
|
|
273
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.isValid}.
|
|
274
|
+
*
|
|
275
|
+
* | Property | Type | Description |
|
|
276
|
+
* |---|---|---|
|
|
277
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
278
|
+
*/
|
|
279
|
+
export declare const PluginGeomQueryCircleIsValidArgs: z.ZodObject<{
|
|
280
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
281
|
+
}, z.core.$strip>;
|
|
282
|
+
export type PluginGeomQueryCircleIsValidArgs = z.infer<typeof PluginGeomQueryCircleIsValidArgs>;
|
|
283
|
+
/**
|
|
284
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.getNearestPoint}.
|
|
285
|
+
*
|
|
286
|
+
* | Property | Type | Description |
|
|
287
|
+
* |---|---|---|
|
|
288
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
289
|
+
* | `point` | {@linkcode Vec3Handle} | The reference point |
|
|
290
|
+
*/
|
|
291
|
+
export declare const PluginGeomQueryCircleGetNearestPointArgs: z.ZodObject<{
|
|
292
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
293
|
+
point: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
294
|
+
}, z.core.$strip>;
|
|
295
|
+
export type PluginGeomQueryCircleGetNearestPointArgs = z.infer<typeof PluginGeomQueryCircleGetNearestPointArgs>;
|
|
296
|
+
/**
|
|
297
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.hasPoint}.
|
|
298
|
+
*
|
|
299
|
+
* | Property | Type | Description |
|
|
300
|
+
* |---|---|---|
|
|
301
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
302
|
+
* | `point` | {@linkcode Vec3Handle} | The point to test |
|
|
303
|
+
*/
|
|
304
|
+
export declare const PluginGeomQueryCircleHasPointArgs: z.ZodObject<{
|
|
305
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
306
|
+
point: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
307
|
+
}, z.core.$strip>;
|
|
308
|
+
export type PluginGeomQueryCircleHasPointArgs = z.infer<typeof PluginGeomQueryCircleHasPointArgs>;
|
|
309
|
+
/**
|
|
310
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.getTangent}.
|
|
311
|
+
*
|
|
312
|
+
* | Property | Type | Description |
|
|
313
|
+
* |---|---|---|
|
|
314
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
315
|
+
* | `point` | {@linkcode Vec3Handle} | A point on the circle |
|
|
316
|
+
*/
|
|
317
|
+
export declare const PluginGeomQueryCircleGetTangentArgs: z.ZodObject<{
|
|
318
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
319
|
+
point: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
320
|
+
}, z.core.$strip>;
|
|
321
|
+
export type PluginGeomQueryCircleGetTangentArgs = z.infer<typeof PluginGeomQueryCircleGetTangentArgs>;
|
|
322
|
+
/**
|
|
323
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.getNormal}.
|
|
324
|
+
*
|
|
325
|
+
* | Property | Type | Description |
|
|
326
|
+
* |---|---|---|
|
|
327
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
328
|
+
* | `point` | {@linkcode Vec3Handle} | A point on the circle |
|
|
329
|
+
*/
|
|
330
|
+
export declare const PluginGeomQueryCircleGetNormalArgs: z.ZodObject<{
|
|
331
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
332
|
+
point: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
333
|
+
}, z.core.$strip>;
|
|
334
|
+
export type PluginGeomQueryCircleGetNormalArgs = z.infer<typeof PluginGeomQueryCircleGetNormalArgs>;
|
|
335
|
+
/**
|
|
336
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.getPointAtDistance}.
|
|
337
|
+
*
|
|
338
|
+
* | Property | Type | Description |
|
|
339
|
+
* |---|---|---|
|
|
340
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
341
|
+
* | `referencePoint` | {@linkcode Vec3Handle} | A point on the circle to travel from |
|
|
342
|
+
* | `distance` | `number` | Arc distance to travel |
|
|
343
|
+
* | `forward` | `boolean` | Travel direction (optional; default forward) |
|
|
344
|
+
*/
|
|
345
|
+
export declare const PluginGeomQueryCircleGetPointAtDistanceArgs: z.ZodObject<{
|
|
346
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
347
|
+
referencePoint: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"vec3">, string>>;
|
|
348
|
+
distance: z.ZodNumber;
|
|
349
|
+
forward: z.ZodOptional<z.ZodBoolean>;
|
|
350
|
+
}, z.core.$strip>;
|
|
351
|
+
export type PluginGeomQueryCircleGetPointAtDistanceArgs = z.infer<typeof PluginGeomQueryCircleGetPointAtDistanceArgs>;
|
|
352
|
+
/**
|
|
353
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.isEqual}.
|
|
354
|
+
*
|
|
355
|
+
* | Property | Type | Description |
|
|
356
|
+
* |---|---|---|
|
|
357
|
+
* | `circleA` | {@linkcode CircleHandle} | First circle |
|
|
358
|
+
* | `circleB` | {@linkcode CircleHandle} | Second circle |
|
|
359
|
+
*/
|
|
360
|
+
export declare const PluginGeomQueryCircleIsEqualArgs: z.ZodObject<{
|
|
361
|
+
circleA: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
362
|
+
circleB: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
export type PluginGeomQueryCircleIsEqualArgs = z.infer<typeof PluginGeomQueryCircleIsEqualArgs>;
|
|
365
|
+
/**
|
|
366
|
+
* Arguments for {@linkcode PluginGeomQueryCircleApi.listPoints}.
|
|
367
|
+
*
|
|
368
|
+
* | Property | Type | Description |
|
|
369
|
+
* |---|---|---|
|
|
370
|
+
* | `circle` | {@linkcode CircleHandle} | The circle to query |
|
|
371
|
+
* | `resolution` | `number` | Number of segments to sample (optional) |
|
|
372
|
+
*/
|
|
373
|
+
export declare const PluginGeomQueryCircleListPointsArgs: z.ZodObject<{
|
|
374
|
+
circle: z.ZodPipe<z.ZodString, z.ZodTransform<import("../../../..").Handle<"circle">, string>>;
|
|
375
|
+
resolution: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
export type PluginGeomQueryCircleListPointsArgs = z.infer<typeof PluginGeomQueryCircleListPointsArgs>;
|
|
378
|
+
//# sourceMappingURL=circle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle.d.ts","sourceRoot":"","sources":["../../../../../src/api/core/geom/query/circle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAE9E;;;;;;;;;;;GAWG;AACH,8BAAsB,wBAAwB;;IAG5C;;;;;;;;;;;;;;;OAeG;aACa,SAAS,CAAC,MAAM,EAAE,YAAY,GAAG,eAAe,CAAC,MAAM,CAAC;IAExE;;;;;;;;;;;;;;;;OAgBG;aACa,SAAS,CAAC,MAAM,EAAE,YAAY,GAAG,eAAe,CAAC,cAAc,CAAC;IAEhF;;;;;;;;;;;;;OAaG;aACa,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,eAAe,CAAC,cAAc,CAAC;IAE9E;;;;;;;;;;;;;;;OAeG;aACa,SAAS,CAAC,MAAM,EAAE,YAAY,GAAG,eAAe,CAAC,MAAM,CAAC;I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