Overture
Version 25
|
#include "Inverse.h"
#include "BoundingBox.h"
#include "TriangleClass.h"
#include "display.h"
#include <list>
Macros | |
#define | STENCIL_DEBUG(x) |
#define | STENCIL_DEBUG2(x) |
#define | numberOfStencilDirections2D(dir1, dir2) numberOfStencilDir2D[(dir1)+1+3*((dir2)+1)] |
#define | stencilDirection2D1(dir, dir1, dir2) stencilDir2D1[(dir)+8*((dir1)+1+3*((dir2)+1))] |
#define | stencilDirection2D2(dir, dir1, dir2) stencilDir2D2[(dir)+8*((dir1)+1+3*((dir2)+1))] |
#define | numberOfStencilDirections3D(dir1, dir2, dir3) numberOfStencilDir3D[(dir1)+1+3*((dir2)+1+3*((dir3)+1))] |
#define | stencilDirection3D1(dir, dir1, dir2, dir3) stencilDir3D1[(dir)+27*((dir1)+1+3*((dir2)+1+3*((dir3)+1)))] |
#define | stencilDirection3D2(dir, dir1, dir2, dir3) stencilDir3D2[(dir)+27*((dir1)+1+3*((dir2)+1+3*((dir3)+1)))] |
#define | stencilDirection3D3(dir, dir1, dir2, dir3) stencilDir3D3[(dir)+27*((dir1)+1+3*((dir2)+1+3*((dir3)+1)))] |
#define | DISTANCE_L2_1(xv, i1, i2, i3) fabs(xv[0]-GRID1(i1,0)) |
#define | DISTANCE_L2_2(xv, i1, i2, i3) SQR(xv[0]-GRID2(i1,i2,0))+SQR(xv[1]-GRID2(i1,i2,1)) |
#define | DISTANCE_L2_3(xv, i1, i2, i3) SQR(xv[0]-GRID3(i1,i2,i3,0))+SQR(xv[1]-GRID3(i1,i2,i3,1))+SQR(xv[2]-GRID3(i1,i2,i3,2)) |
#define | GET_DISTANCE1(d, i1) |
#define | indexRange(side, axis) index[(side)+2*(axis)] |
#define | gid(side, axis) pgid[(side)+2*(axis)] |
#define | GRID1(i1, axis) gridp1[i1+gDim0*(axis)] |
#define | GRID2(i1, i2, axis) gridp2[i1+gDim0*(i2+gDim1*(axis))] |
#define | GRID3(i1, i2, i3, axis) gridp3[i1+gDim0*(i2+gDim1*(i3+gDim2*(axis)))] |
#define | indexRange(side, axis) index[(side)+2*(axis)] |
#define | GRID1(i1, axis) gridp1[i1+gDim0*(axis)] |
#define | GRID2(i1, i2, axis) gridp2[i1+gDim0*(i2+gDim1*(axis))] |
#define | GRID3(i1, i2, i3, axis) gridp3[i1+gDim0*(i2+gDim1*(i3+gDim2*(axis)))] |
#define | GET_NDIST(ia, ib, ic, distance) |
#define | GET_TRIANGLE_COORDS(r, s) |
#define | GRID(i1, i2, i3, axis) gridp2[i1+gDim0*(i2+gDim1*(axis))] |
#define | GRID(i1, i2, i3, axis) gridp3[i1+gDim0*(i2+gDim1*(i3+gDim2*(axis)))] |
Functions | |
OV_USINGNAMESPACE (std) | |
real | distancel2 (real xv[3], RealArray &grid, const int i1, const int i2, const int i3, const int rangeDimension) |
Referenced by ApproximateGlobalInverse::findNearestGridPoint().
#define DISTANCE_L2_3 | ( | xv, | |
i1, | |||
i2, | |||
i3 | |||
) | SQR(xv[0]-GRID3(i1,i2,i3,0))+SQR(xv[1]-GRID3(i1,i2,i3,1))+SQR(xv[2]-GRID3(i1,i2,i3,2)) |
Referenced by ApproximateGlobalInverse::findNearestGridPoint().
#define GET_DISTANCE1 | ( | d, | |
i1 | |||
) |
Referenced by ApproximateGlobalInverse::findNearestGridPoint().
#define GET_NDIST | ( | ia, | |
ib, | |||
ic, | |||
distance | |||
) |
Referenced by ApproximateGlobalInverse::distanceToCell().
Referenced by ApproximateGlobalInverse::distanceToCell().
#define gid | ( | side, | |
axis | |||
) | pgid[(side)+2*(axis)] |
#define GRID1 | ( | i1, | |
axis | |||
) | gridp1[i1+gDim0*(axis)] |
#define GRID1 | ( | i1, | |
axis | |||
) | gridp1[i1+gDim0*(axis)] |
#define indexRange | ( | side, | |
axis | |||
) | index[(side)+2*(axis)] |
#define indexRange | ( | side, | |
axis | |||
) | index[(side)+2*(axis)] |
#define numberOfStencilDirections2D | ( | dir1, | |
dir2 | |||
) | numberOfStencilDir2D[(dir1)+1+3*((dir2)+1)] |
#define numberOfStencilDirections3D | ( | dir1, | |
dir2, | |||
dir3 | |||
) | numberOfStencilDir3D[(dir1)+1+3*((dir2)+1+3*((dir3)+1))] |
#define STENCIL_DEBUG | ( | x | ) |
Referenced by ApproximateGlobalInverse::binarySearchOverBoundary().
#define STENCIL_DEBUG2 | ( | x | ) |
Referenced by ApproximateGlobalInverse::findNearestGridPoint().
#define stencilDirection2D1 | ( | dir, | |
dir1, | |||
dir2 | |||
) | stencilDir2D1[(dir)+8*((dir1)+1+3*((dir2)+1))] |
#define stencilDirection2D2 | ( | dir, | |
dir1, | |||
dir2 | |||
) | stencilDir2D2[(dir)+8*((dir1)+1+3*((dir2)+1))] |
#define stencilDirection3D1 | ( | dir, | |
dir1, | |||
dir2, | |||
dir3 | |||
) | stencilDir3D1[(dir)+27*((dir1)+1+3*((dir2)+1+3*((dir3)+1)))] |
#define stencilDirection3D2 | ( | dir, | |
dir1, | |||
dir2, | |||
dir3 | |||
) | stencilDir3D2[(dir)+27*((dir1)+1+3*((dir2)+1+3*((dir3)+1)))] |
#define stencilDirection3D3 | ( | dir, | |
dir1, | |||
dir2, | |||
dir3 | |||
) | stencilDir3D3[(dir)+27*((dir1)+1+3*((dir2)+1+3*((dir3)+1)))] |
|
inline |
References SQR.
Referenced by ApproximateGlobalInverse::findNearestGridPoint().
OV_USINGNAMESPACE | ( | std | ) |