HE_Mesh2014
2.0.11
|
Public Member Functions | |
WB_Sphere () | |
WB_Sphere (final WB_Coord center, final double radius) | |
boolean | equals (final Object o) |
int | hashCode () |
WB_GeometryType | getType () |
WB_Sphere | apply (final WB_Transform T) |
WB_Sphere | get () |
WB_Point | getCenter () |
void | setCenter (final WB_Coord c) |
double | getRadius () |
void | setRadius (final double r) |
void | growSpherebyPoint (final WB_Coord p) |
WB_Point | projectToSphere (final WB_Coord v) |
![]() | |
WB_Geometry | apply (WB_Transform T) |
Static Public Member Functions | |
static WB_Sphere | getBoundingSphere (WB_Coord[] points) |
static WB_Sphere | getBoundingSphere (Collection<?extends WB_Coord > points) |
Static Public Attributes | |
static final WB_GeometryFactory | geometryfactory = WB_GeometryFactory.instance() |
![]() | |
static final WB_GeometryFactory | geometryfactory |
Private Member Functions | |
int | hashCode (final double v) |
wblut.geom.WB_Sphere.WB_Sphere | ( | ) |
wblut.geom.WB_Sphere.WB_Sphere | ( | final WB_Coord | center, |
final double | radius | ||
) |
Instantiates a new WB_Circle.
center | |
radius |
WB_Sphere wblut.geom.WB_Sphere.apply | ( | final WB_Transform | T | ) |
boolean wblut.geom.WB_Sphere.equals | ( | final Object | o | ) |
WB_Sphere wblut.geom.WB_Sphere.get | ( | ) |
Get copy.
points |
|
static |
points |
WB_Point wblut.geom.WB_Sphere.getCenter | ( | ) |
Gets the center.
double wblut.geom.WB_Sphere.getRadius | ( | ) |
Gets the radius.
WB_GeometryType wblut.geom.WB_Sphere.getType | ( | ) |
Implements wblut.geom.WB_Geometry.
void wblut.geom.WB_Sphere.growSpherebyPoint | ( | final WB_Coord | p | ) |
Grow sphere to include point.
p | point to include |
int wblut.geom.WB_Sphere.hashCode | ( | ) |
|
private |
v |
Project point to sphere.
v | the v |
void wblut.geom.WB_Sphere.setCenter | ( | final WB_Coord | c | ) |
Sets the center.
c | the new center |
void wblut.geom.WB_Sphere.setRadius | ( | final double | r | ) |
Sets the radius.
r | the new radius |
|
static |