Weed 資料樹幾何
26 個節點
本頁內容 26
平均點
函數Computes the arithmetic point mean independently per nonempty branch.
平均點(點: Point3d 的 Cad Tree) -> Point3d 的 Cad Tree
CadTree<Point3d> AveragePoints(CadTree<Point3d> points)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
控制點曲線
函數Creates one clamped NURBS from each control-point branch; these are control vertices, not interpolated samples.
控制點曲線 -> Curve 的 Cad Tree
點: Point3d 的 Cad Tree
階數: 整數CadTree<Curve> ControlPointCurves(
CadTree<Point3d> points,
int degree = 3)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 階數 | 整數 | 3 |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
剔除曲線索引
函數Removes one curve item per branch, appending the culling operation's item path.
剔除曲線索引 -> Curve 的 Cad Tree
曲線: Curve 的 Cad Tree
索引: 整數CadTree<Curve> CullCurveIndex(
CadTree<Curve> curves,
int index = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — | |
| 索引 | 整數 | 0 |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
剔除重複點
函數Removes points closer than tolerance within each branch, preserving the first representative and its order.
剔除重複點 -> Point3d 的 Cad Tree
點: Point3d 的 Cad Tree
容差: 數字CadTree<Point3d> CullDuplicatePoints(
CadTree<Point3d> points,
double tolerance = 0.01)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 容差 | 數字 | 0.01 |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
展平曲線
函數Collects curves in numeric branch order for a subsequent explicit loft or other list operation.
展平曲線(曲線: Curve 的 Cad Tree) -> Curve 陣列
Curve[] FlattenCurves(CadTree<Curve> curves)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — |
返回
| 結果 | Curve 陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
展平點
函數Collects points in branch order.
展平點(點: Point3d 的 Cad Tree) -> Point3d 陣列
Point3d[] FlattenPoints(CadTree<Point3d> points)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — |
返回
| 結果 | Point3d 陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
移動曲線
函數Moves matched curves by vectors, returning owned geometry.
移動曲線 -> Curve 的 Cad Tree
曲線: Curve 的 Cad Tree
向量: Vector3d 的 Cad TreeCadTree<Curve> MoveCurves(
CadTree<Curve> curves,
CadTree<Vector3d> vectors)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — | |
| 向量 | Vector3d 的 Cad Tree | — |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
移動點
函數Moves matched points by vectors.
移動點 -> Point3d 的 Cad Tree
點: Point3d 的 Cad Tree
向量: Vector3d 的 Cad TreeCadTree<Point3d> MovePoints(
CadTree<Point3d> points,
CadTree<Vector3d> vectors)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 向量 | Vector3d 的 Cad Tree | — |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
平面
函數Constructs local frames from matched origins and X axes, with a shared independent Y direction.
平面 -> Plane 的 Cad Tree
原點: Point3d 的 Cad Tree
X 軸: Vector3d 的 Cad Tree
Y 軸: Vector3dCadTree<Plane> Planes(
CadTree<Point3d> origins,
CadTree<Vector3d> xAxes,
Vector3d yAxis)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 原點 | Point3d 的 Cad Tree | — | |
| X 軸 | Vector3d 的 Cad Tree | — | |
| Y 軸 | Vector3d | — |
返回
| 結果 | Plane 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
點分支數
函數Returns the number of point branches as one scalar.
點分支數(點: Point3d 的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> PointBranchCount(CadTree<Point3d> points)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — |
返回
| 結果 | 數字的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
點數
函數Returns the number of points in each branch.
點數(點: Point3d 的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> PointCounts(CadTree<Point3d> points)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — |
返回
| 結果 | 數字的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
點項
函數Selects one point from each branch, retaining branch order in the flattened output.
點項 -> Point3d 陣列
點: Point3d 的 Cad Tree
索引: 整數
環繞: 真否Point3d[] PointItems(
CadTree<Point3d> points,
int index = 0,
bool wrap = true)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 索引 | 整數 | 0 | |
| 環繞 | 真否 | True |
返回
| 結果 | Point3d 陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
點集
函數Constructs points with longest item and branch matching across coordinates.
點集 -> Point3d 的 Cad Tree
X: 數字的 Cad Tree
Y: 數字的 Cad Tree
Z: 數字的 Cad TreeCadTree<Point3d> Points(
CadTree<double> x,
CadTree<double> y,
CadTree<double> z)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| X | 數字的 Cad Tree | — | |
| Y | 數字的 Cad Tree | — | |
| Z | 數字的 Cad Tree | — |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
多段線
函數Creates a polyline per branch, optionally closing it with a final segment.
多段線(點: Point3d 的 Cad Tree, 閉合: 真否) -> Curve 的 Cad Tree
CadTree<Curve> Polylines(
CadTree<Point3d> points,
bool closed = false)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 閉合 | 真否 | False |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
新增字首點
函數Prepends a common ancestor index to every point-tree branch.
新增字首點 -> Point3d 的 Cad Tree
點: Point3d 的 Cad Tree
索引: 整數CadTree<Point3d> PrefixPoints(
CadTree<Point3d> points,
int index = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 索引 | 整數 | 0 |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
矩形
函數Constructs local rectangles on every frame.
矩形 -> Curve 的 Cad Tree
平面: Plane 的 Cad Tree
X: Interval
Y: IntervalCadTree<Curve> Rectangles(
CadTree<Plane> planes,
Interval x,
Interval y)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 平面 | Plane 的 Cad Tree | — | |
| X | Interval | — | |
| Y | Interval | — |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
旋轉曲線
函數Rotates matched curves within their local planes.
旋轉曲線 -> Curve 的 Cad Tree
曲線: Curve 的 Cad Tree
平面: Plane 的 Cad Tree
角度: 數字CadTree<Curve> RotateCurves(
CadTree<Curve> curves,
CadTree<Plane> planes,
double angle)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — | |
| 平面 | Plane 的 Cad Tree | — | |
| 角度 | 數字 | — |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
縮放曲線
函數Scales matched curves in local X and Y, keeping local Z unchanged.
縮放曲線 -> Curve 的 Cad Tree
曲線: Curve 的 Cad Tree
平面: Plane 的 Cad Tree
X: 數字的 Cad Tree
Y: 數字的 Cad TreeCadTree<Curve> ScaleCurves(
CadTree<Curve> curves,
CadTree<Plane> planes,
CadTree<double> x,
CadTree<double> y)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — | |
| 平面 | Plane 的 Cad Tree | — | |
| X | 數字的 Cad Tree | — | |
| Y | 數字的 Cad Tree | — |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
縮放點
函數Scales points along world axes about matched centers.
縮放點 -> Point3d 的 Cad Tree
點: Point3d 的 Cad Tree
中心點: Point3d 的 Cad Tree
X: 數字
Y: 數字
Z: 數字CadTree<Point3d> ScalePoints(
CadTree<Point3d> points,
CadTree<Point3d> centers,
double x = 1,
double y = 1,
double z = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 中心點 | Point3d 的 Cad Tree | — | |
| X | 數字 | 1 | |
| Y | 數字 | 1 | |
| Z | 數字 | 1 |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
簡化曲線
函數Removes common leading path indices from a curve tree.
簡化曲線(曲線: Curve 的 Cad Tree) -> Curve 的 Cad Tree
CadTree<Curve> SimplifyCurves(CadTree<Curve> curves)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
簡化向量
函數Removes common leading vector-path indices.
簡化向量(向量: Vector3d 的 Cad Tree) -> Vector3d 的 Cad Tree
CadTree<Vector3d> SimplifyVectors(CadTree<Vector3d> vectors)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 向量 | Vector3d 的 Cad Tree | — |
返回
| 結果 | Vector3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
點排序
函數Sorts point items by corresponding numeric keys independently in each matching branch.
點排序 -> Point3d 的 Cad Tree
點: Point3d 的 Cad Tree
鍵: 數字的 Cad Tree
降序: 真否CadTree<Point3d> SortPoints(
CadTree<Point3d> points,
CadTree<double> keys,
bool descending = false)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 鍵 | 數字的 Cad Tree | — | |
| 降序 | 真否 | False |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
X 單位向量
函數Scales the world X axis per factor, retaining branches.
X 單位向量(係數: 數字的 Cad Tree) -> Vector3d 的 Cad Tree
CadTree<Vector3d> UnitX(CadTree<double> factors)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 係數 | 數字的 Cad Tree | — |
返回
| 結果 | Vector3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
Y 單位向量
函數Scales the world Y axis per factor, retaining branches.
Y 單位向量(係數: 數字的 Cad Tree) -> Vector3d 的 Cad Tree
CadTree<Vector3d> UnitY(CadTree<double> factors)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 係數 | 數字的 Cad Tree | — |
返回
| 結果 | Vector3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
Z 單位向量
函數Scales the world Z axis per factor, retaining branches.
Z 單位向量(係數: 數字的 Cad Tree) -> Vector3d 的 Cad Tree
CadTree<Vector3d> UnitZ(CadTree<double> factors)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 係數 | 數字的 Cad Tree | — |
返回
| 結果 | Vector3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計
Y 座標
函數Extracts world Y coordinates without changing point-tree paths.
Y 座標(點: Point3d 的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> YCoordinates(CadTree<Point3d> points)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — |
返回
| 結果 | 數字的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 資料樹幾何
- 所屬包
- 電腦輔助設計