public class SpherePerformance extends Object
Sphere class.| Modifier and Type | Class and Description |
|---|---|
static class |
SpherePerformance.RandomSphere
Benchmark input providing a source of random
Sphere instances. |
static class |
SpherePerformance.ToTreeInput
Class defining input values to the
Sphere.toTree(int) method. |
static class |
SpherePerformance.ToTreeInstance
Input class providing a pre-computed bsp tree sphere approximation.
|
| Constructor and Description |
|---|
SpherePerformance() |
| Modifier and Type | Method and Description |
|---|---|
RegionBSPTree3D |
toTreeCreation(SpherePerformance.RandomSphere randomSphere,
SpherePerformance.ToTreeInput toTreeInput)
Benchmark testing the performance of the
Sphere.toTree(int) method. |
double |
toTreeSize(SpherePerformance.ToTreeInstance toTreeInstance)
Benchmark testing the performance of the computation of the size of the bsp trees
created by the
Sphere.toTree(int) method. |
public RegionBSPTree3D toTreeCreation(SpherePerformance.RandomSphere randomSphere, SpherePerformance.ToTreeInput toTreeInput)
Sphere.toTree(int) method.randomSphere - sphere inputtoTreeInput - toTree input parameterspublic double toTreeSize(SpherePerformance.ToTreeInstance toTreeInstance)
Sphere.toTree(int) method.toTreeInstance - bsp tree sphere approximation instanceCopyright © 2016–2020 The Apache Software Foundation. All rights reserved.