wblut.geom.WB_Sphere.WB_Sphere |
( |
| ) |
|
wblut.geom.WB_Sphere.WB_Sphere |
( |
final WB_Coordinate |
center, |
|
|
final double |
radius |
|
) |
| |
static WB_Sphere wblut.geom.WB_Sphere.eigenSphere |
( |
final WB_Point[] |
points, |
|
|
final int |
numPoints |
|
) |
| |
|
static |
Get Eigensphere enclosing points.
- Parameters
-
points | WB_Point[] |
numPoints | number of points |
- Returns
- sphere
boolean wblut.geom.WB_Sphere.equals |
( |
final Object |
o | ) |
|
static int [] wblut.geom.WB_Sphere.extremePointsAlongDirection |
( |
final WB_Point[] |
points, |
|
|
final int |
numPoints, |
|
|
final WB_Vector |
dir |
|
) |
| |
|
staticprivate |
Extreme points along direction.
- Parameters
-
points | the points |
numPoints | the num points |
dir | the dir |
- Returns
- the int[]
WB_Point wblut.geom.WB_Sphere.getCenter |
( |
| ) |
|
Gets the center.
- Returns
- the center
double wblut.geom.WB_Sphere.getRadius |
( |
| ) |
|
Gets the radius.
- Returns
- the radius
void wblut.geom.WB_Sphere.growSpherebyPoint |
( |
final WB_Point |
p | ) |
|
Grow sphere to include point.
- Parameters
-
int wblut.geom.WB_Sphere.hashCode |
( |
| ) |
|
int wblut.geom.WB_Sphere.hashCode |
( |
final double |
v | ) |
|
|
private |
Project point to sphere.
- Parameters
-
- Returns
- point projected to sphere
static WB_Sphere wblut.geom.WB_Sphere.ritterEigenSphere |
( |
final WB_Point[] |
points, |
|
|
final int |
numPoints |
|
) |
| |
|
static |
Get Ritter Eigensphere enclosing points.
- Parameters
-
points | WB_Point[] |
numPoints | number of points |
- Returns
- sphere
static WB_Sphere wblut.geom.WB_Sphere.ritterIterativeSphere |
( |
final WB_Point[] |
points, |
|
|
final int |
numPoints, |
|
|
final int |
iter |
|
) |
| |
|
static |
Get iterative Ritter sphere enclosing points.
- Parameters
-
points | WB_Point[] |
numPoints | number of points |
iter | number of iterations (8 should be fine) |
- Returns
- sphere
static WB_Sphere wblut.geom.WB_Sphere.ritterSphere |
( |
final WB_Point[] |
points, |
|
|
final int |
numPoints |
|
) |
| |
|
static |
Get Ritter sphere enclosing points.
- Parameters
-
points | WB_Point[] |
numPoints | number of points |
- Returns
- sphere
Sets the center.
- Parameters
-
void wblut.geom.WB_Sphere.setRadius |
( |
final double |
r | ) |
|
Sets the radius.
- Parameters
-
static WB_Sphere wblut.geom.WB_Sphere.sphereFromDistantPoints |
( |
final WB_Coordinate[] |
points, |
|
|
final int |
numPoints |
|
) |
| |
|
static |
Approximate sphere enclosing points, calculated from distant points.
- Parameters
-
points | WB_Point[] |
numPoints | number of points |
- Returns
- sphere
Initial value:= WB_GeometryFactory
.instance()
The documentation for this class was generated from the following file: