RandomMeshSampler3D

scalismo.numerics.RandomMeshSampler3D
case class RandomMeshSampler3D(mesh: TriangleMesh[_3D], numberOfPoints: Int, seed: Int)(implicit rand: Random) extends Sampler[_3D]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Sampler[_3D]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def sample(): IndexedSeq[(Point[_3D], Double)]

generates a sequence of numberOfPoints sample points (x_i, p(x_i)), i=1..n , where p is the probability density function according to which the points are sampled

generates a sequence of numberOfPoints sample points (x_i, p(x_i)), i=1..n , where p is the probability density function according to which the points are sampled

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def samplePoints(): IndexedSeq[Point[D]]

generates a sequence of numberOfPoints points.

generates a sequence of numberOfPoints points.

Attributes

Inherited from:
Sampler

Concrete fields

val p: Double
val volumeOfSampleRegion: Double