View source: R/getIntersectionLinesHyperplanes.R
evalDomainVolume | R Documentation |
This function returns the volume of a polyhedron by calling the function
evalInter
in order to find the shared volume between this polyhedron and a standard
polyhedron which dimension is known.
evalDomainVolume( A, nbPoints = 50000, seed = 123456, assessment_range = c(-15000, 15000), direction = NULL )
A |
|
nbPoints |
|
seed |
|
assessment_range |
The range in which the points for the volume assessment should be drawn. This range should cover the entire domain described by A |
direction |
|
The volume of polyhedron A
## Not run: library(data.table) polyhedra <- readRDS(system.file("testdata/polyhedra.rds", package = "fbAntares")) A <- polyhedra[Date == "2019-02-14"] nbPoints <- 50000 evalDomainVolume(A = A, nbPoints = nbPoints) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.