API 文档 > Geometry items > Object ProGeomitem > Function ProGeometryAtPointFind
Function ProGeometryAtPointFind
Description
Determines the surfaces or edges on which the specified point is located. If a point lies on an edge, the function does not return the neighboring surfaces.
Replacement in Object TOOLKIT:
Synopsis
#include <ProGeomitem.h>
ProGeometryAtPointFind
(
ProPart part
/* (In)
The part handle.
*/
Pro3dPnt point
/* (In)
A three-dimensional point, in the coordinates of the part.
*/
ProSelection** p_sel_arr
/* (Out)
An array of ProSelection, which has information about surfaces or edges on which the point is located. The function allocates space for this array; free it using ProSelectionarrayFree().
*/
int* p_count
/* (Out)
The number of items on which the point lies.
*/
)
Returns
The function successfully evaluated the point.
One or more of the input arguments are invalid.
The surface or edge was not found.
Sample Code References
这对您有帮助吗?