morph_gyroid: Simulate morphology of guest molecules in gyroid pattern

View source: R/rapt_cluster-sim.R

morph_gyroidR Documentation

Simulate morphology of guest molecules in gyroid pattern

Description

Simulate morphology of guest molecules in gyroid pattern

Usage

morph_gyroid(
  lambda,
  frac,
  gyroid.scale,
  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.

gyroid.scale

Scale factor for the gyroid pattern. Larger = tighter spacing of the gyroid.

point.den

Point density within the volume of the guest volume.

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.


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