Convex Hull
Use the following to compute the convex hull of the VoronoiNodes xs:
cv = ConvexHull(xs,"computing convex hull: "; nthreads=Threads.nthreads(), method = RCOriginal)- Note that only the following methods are available: RCOriginal,RCNonGeneral. Again,RCOriginalis faster and for nodes in general position (that means there are only $d$ points in $\mathbb{R}^d$ that generate one surface element) whileRCNonGeneralcan be used for nodes in non-general position.
- nthreadswill be initialized with- Threads.nthreads()by default. If you want less threads, provide a positive- Int64. You can set the string to- ""in order to have only a progress bar.
- length(cv)will give you the number of surface elements
- cv[i]will then give you- (sig,r,u)where- sigis a list of generating nodes,- ris a point on the plane equidistant to all- sigand- uis the outer normal of that plane.