Usage
vcgSample(mesh, SampleNum = 100, type = c("km", "pd", "mc"), MCsamp = 20,
geodes = TRUE, strict = FALSE)Arguments
mesh
triangular mesh of class 'mesh3d'
SampleNum
integer: number of sampled points (see details below)
type
character: seclect sampling type ("mc"=MonteCarlo Sampling, "pd"=PoissonDisk Sampling,"km"=kmean clustering)
MCsamp
integer: MonteCarlo sample iterations used in PoissonDisk sampling.
geodes
logical: maximise geodesic distance between sample points (only for Poisson Disk sampling)
strict
logical: if type="pd" and the amount of coordinates exceeds SampleNum, the resulting coordinates will be subsampled again by kmean clustering to reach the requested number.