FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
ConvexHull.hpp
1#ifndef CONVEXHULL_HPP
2#define CONVEXHULL_HPP
3
4#include "fiberbaseopQDllApi.h"
5#include "../../field/MemArray.hpp"
6#include "../../field/Cell.hpp"
7
8
9namespace Fiber
10{
13
14template <typename T>
15static int sgn(T value)
16{
17 return (value > T(0)) - (value < T(0));
18}
19
20extern fiberbaseopQ_API
22 TriangularSurface__NormalVector(const TriangleCell&T,
23 const MultiArray<1, Eagle::PhysicalSpace::point>&Vertices);
24
25
26
27extern fiberbaseopQ_API RefPtr<MemArray<1,TriangleCell>> ConvexHull (const RefPtr<MemArray<1,Eagle::PhysicalSpace::point>>&InputVertices,
28 const double edge2D_max);
29
30
31} // namespace Fiber
32
33#endif // CONVEXHULL_HPP
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
StrongPtr< Object, ObjectBase > RefPtr