morph_lamellar: Simulate lamellar morphology for mixed guest-host system.

View source: R/rapt_cluster-sim.R

morph_lamellarR Documentation

Simulate lamellar morphology for mixed guest-host system.

Description

Simulate lamellar morphology for mixed guest-host system.

Usage

morph_lamellar(
  lambda,
  frac,
  plane.norm = c(1, 0, 0),
  plane.den,
  point.den = 1,
  toplot = FALSE,
  win = box3(c(0, 1), c(0, 1), c(0, 1))
)

Arguments

lambda

Intensity for the background Poisson process.

frac

Fraction of points to select as guest points. Between zero and one.

plane.norm

Vector you wish to define normal of the planes with. Doesn't need to be normalized. Positive values only

plane.den

Linear plane density.

point.den

Point density within the plane volumes.

toplot

TRUE or FALSE. Plot results or not.

win

The simulation window.

Value

A list of: [1] a pp3 object contining the guest points. [2] A pp3 object containing the entire background underlying point pattern.

See Also

Other simulation functions: clustersim(), lattice(), makecluster(), morph_rods(), nmers(), read.rcp(), scaleRCP(), stitch.size()

Other morphology generators: morph_rods()


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.