Go to the source code of this file.
|
| #define | API __declspec(dllexport) |
| |
|
| int | clamp (int x, int minV, int maxV) |
| |
| float | computeMaxDist (float3 minVal, float3 maxVal, float maxAtomRad) |
| |
| int3 | spaceToGrid (float3 pos3D, float3 originGrid, float dx) |
| |
| float3 | gridToSpace (int3 cellPos, float3 originGrid, float dx) |
| |
| int | flatten3DTo1D (int3 id3d, int3 gridDim) |
| |
| int3 | unflatten1DTo3D (int index, int3 gridDim) |
| |
| float | sqr_distance (float3 p1, float3 p2) |
| |
| void | getMinMax (float3 *pos, float *radii, unsigned int N, float3 *minVal, float3 *maxVal, float *maxAtom) |
| |
| API void | initGridNeighbor (float3 *atomPos, float *radii, int N) |
| |
| API int | findClosestAtom (float3 p) |
| |
| API int * | findAtomsInRadius (float3 p, float rad, int *resSize) |
| |
| API void | freeMem () |
| |
◆ API
| #define API __declspec(dllexport) |
◆ clamp()
| int clamp |
( |
int |
x, |
|
|
int |
minV, |
|
|
int |
maxV |
|
) |
| |
◆ computeMaxDist()
| float computeMaxDist |
( |
float3 |
minVal, |
|
|
float3 |
maxVal, |
|
|
float |
maxAtomRad |
|
) |
| |
◆ findAtomsInRadius()
| API int* findAtomsInRadius |
( |
float3 |
p, |
|
|
float |
rad, |
|
|
int * |
resSize |
|
) |
| |
◆ findClosestAtom()
◆ flatten3DTo1D()
| int flatten3DTo1D |
( |
int3 |
id3d, |
|
|
int3 |
gridDim |
|
) |
| |
◆ freeMem()
◆ getMinMax()
| void getMinMax |
( |
float3 * |
pos, |
|
|
float * |
radii, |
|
|
unsigned int |
N, |
|
|
float3 * |
minVal, |
|
|
float3 * |
maxVal, |
|
|
float * |
maxAtom |
|
) |
| |
◆ gridToSpace()
◆ initGridNeighbor()
| API void initGridNeighbor |
( |
float3 * |
atomPos, |
|
|
float * |
radii, |
|
|
int |
N |
|
) |
| |
◆ spaceToGrid()
◆ sqr_distance()
◆ unflatten1DTo3D()
| int3 unflatten1DTo3D |
( |
int |
index, |
|
|
int3 |
gridDim |
|
) |
| |