nearest.tri.lib
来自「su 的源代码库」· LIB 代码 · 共 32 行
LIB
32 行
NEAREST - NEAREST edge or vertex in triangulated modelnearestEdgeInModel Return pointer to edge in model nearest to specified (x,y) coordinatesnearestVertexInModel Return pointer to vertex in model nearest to specified (x,y) coordinatesFunction Prototypes:Vertex* nearestVertexInModel (Model *m, Vertex *start, float x, float y);Edge* nearestEdgeInModel (Model *m, Edge *start, float x, float y);nearestEdgeInModel:Input:m modelstart edge to look at first (NULL to begin looking anywhere)x x-coordinatey y-coordinateReturns: pointer to nearest EdgenearestVertexInModel:Input:m modelstart vertex to look at first (NULL to begin looking anywhere)x x-coordinatey y-coordinateReturns: pointer to nearest VertexAuthor: Dave Hale, Colorado School of Mines, Fall 1990
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?