# 3.8.3: 多维最近点 (Closest Points Multi-dimensional)

![图3.8.3.1：在5-D设置中连接到其最近点的单位体积中的随机点](/files/-M9XuVmwnJETcoJBKrmj)

最近点的搜索可以被概况为任意数量的维度。如果超过三个，则使&#x7528;**“Closest Point Multi-Dimensional（最近多维点）”**&#x8FD0;算器。图3.8.3.1显示了一个五个维度的范例：第一至第三维度表示空间。第四维度是每个点与粗红色基准线之间的最短距离。基准线在与其最短距离的线相交点处的曲线参数为五个维度。每个随机生成的点都与其最近的点相连接。从图3.8.3.1可以看出，所得的线段以某种方式与基准曲线对齐。

组件上有三个输入端口：

|         |                                                                                                                                   |
| ------- | --------------------------------------------------------------------------------------------------------------------------------- |
| **"P"** | 需要一个数据树，其中每个分支包含n个值，这些值是点的坐标。 **“P”**&#x8F93;入可以定义与最近点连接可以开始的点。                                                                   |
| **"C"** | &#x4E0E;**“P”**&#x76F8;同类型的输入。它包含与最近点连接可以终止的点。                                                                                    |
| **"N"** | &#x5728;**“P”**&#x4E2D;每个点可以生成的最近点连接数量。**“Multi-dimensional Nearest Neighbors （多维最近点）”**&#x8FD0;算器的输&#x51FA;**“i”**&#x662F;连接性图解。 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual-1-3.karamba3d.com/chinese_1_3_3/3-in-depth-component-reference/3.8-utilities/3.8.3-closest-points-multi-dimensional.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
