ProGAL.geom3d
Class PointWeighted
java.lang.Object
ProGAL.geomNd.Point
ProGAL.geom3d.Point
ProGAL.geom3d.PointWeighted
- All Implemented Interfaces:
- java.io.Serializable, Shape, Simplex
public class PointWeighted
- extends Point
- See Also:
- Serialized Form
Constructor Summary |
PointWeighted(double[] coords,
double w)
Construct a weighted point with the specified coordinates. |
PointWeighted(double x,
double y,
double z,
double w)
Construct a weighted point with the specified coordinates. |
PointWeighted(PointWeighted p)
Construct a weighted point that is a clone of p. |
PointWeighted(Sphere s)
Construct a weighted point with the center of the sphere as its coordinates and with
the square of its radius as weight. |
Methods inherited from class ProGAL.geom3d.Point |
add, addThis, addThis, clone, collinear, coplanar, distance, distanceSquared, dominates, dominates, dot, dot, equals, equals, getAngle, getBisector, getCenter, getCircumCenter, getCosDihedralAngle, getDihedralAngle, getDimension, getEquilateralPoint, getMidpoint, getPoint, getSteinerPoint, inSphere, main, orientation, orientation, polarAngleCosZ, polarAngleSinZ, reflectThroughOrigoThis, rotation, rotation, scaleThis, setX, setY, setZ, subtract, subtractThis, subtractThis, toConsole, toConsole, toScene, toString, toString, toVector, translateThis, vectorTo, x, y, z |
Methods inherited from class ProGAL.geomNd.Point |
addThis, distance, distance, distanceSquared, distanceSquared, distanceSquaredXY, distanceXY, dot, get, getCoord, getCoords, getDimensions, multiplyThis, polarAngleCosXY, polarAngleSinXY, polarAngleXY, set, set, setCoord, setCoord, vectorTo |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
PointWeighted
public PointWeighted(double x,
double y,
double z,
double w)
- Construct a weighted point with the specified coordinates.
PointWeighted
public PointWeighted(double[] coords,
double w)
- Construct a weighted point with the specified coordinates.
PointWeighted
public PointWeighted(PointWeighted p)
- Construct a weighted point that is a clone of p.
PointWeighted
public PointWeighted(Sphere s)
- Construct a weighted point with the center of the sphere as its coordinates and with
the square of its radius as weight.
getWeight
public double getWeight()