Appearance
Documentation / @geoverse/editor-libre / moveVertex
Function: moveVertex()
ts
function moveVertex(
geometry,
ref,
to): Geometry;Defined in: editor-libre/src/geo.ts:9
移动单个顶点,返回新几何(不可变)。镜像 editor-core MoveVertexCommand 的环闭合语义。
Parameters
geometry
Geometry
ref
Pick<VertexRef, "ringIndex" | "index">
to
Position
Returns
Geometry
