public final class Icosahedron extends Object
Based on https://github.com/caosdoar/spheres
| Modifier and Type | Method and Description |
|---|---|
static Mesh |
core() |
static BufferMesh |
refine(Mesh core)
Creates a new, finer icosahedron, based on the one specified, by
subdividing each triangle into 4 smaller triangle, with vertices still on
the icosahedron.
|
static BufferMesh |
sphere(RealLocalizable center,
double radius) |
static BufferMesh |
sphere(RealLocalizable center,
double radius,
int nSubdivisions) |
public static final Mesh core()
public static final BufferMesh refine(Mesh core)
core - the sphere to subdivide.public static BufferMesh sphere(RealLocalizable center, double radius)
public static BufferMesh sphere(RealLocalizable center, double radius, int nSubdivisions)
Copyright © 2016–2023 ImgLib2. All rights reserved.