artisynth.core.mfreemodels
Class MaterialPoint

java.lang.Object
  extended by maspack.matrix.VectorBase
      extended by maspack.matrix.Vector3d
          extended by maspack.matrix.Point3d
              extended by artisynth.core.mfreemodels.MaterialPoint
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Vector, Clonable

public class MaterialPoint
extends Point3d

See Also:
Serialized Form

Field Summary
 
Fields inherited from class maspack.matrix.Point3d
NEGATIVE_INFINITY, POSITIVE_INFINITY, ZERO
 
Fields inherited from class maspack.matrix.Vector3d
NEG_X_UNIT, NEG_Y_UNIT, NEG_Z_UNIT, x, X_UNIT, y, Y_UNIT, z, Z_UNIT
 
Constructor Summary
MaterialPoint(double x, double y, double z, double r)
           
MaterialPoint(Point3d pos, double r, double m)
          Point for describing material
 
Method Summary
 double getMass()
           
 double getRadius()
           
 void setMass(double m)
           
 void setRadius(double r)
           
 
Methods inherited from class maspack.matrix.Point3d
inverseTransform, inverseTransform, transform, transform
 
Methods inherited from class maspack.matrix.Vector3d
absolute, absolute, add, add, add, angle, angleWeightedCross, angleWeightedCrossAdd, clone, combine, cross, cross, crossAdd, distance, distanceSquared, dot, epsilonEquals, equals, get, get, get, get, get, greater, greaterEquals, hermiteInterpolate, hermiteVelocity, infinityNorm, interpolate, interpolate, inverseTransform, inverseTransform, main, max, maxAbsIndex, maxElement, min, minAbsIndex, minElement, mul, mulAdd, mulTranspose, mulTransposeAdd, negate, negate, norm, normalize, normalize, normSquared, oneNorm, perpendicular, scale, scale, scale, scaledAdd, scaledAdd, scan, set, set, set, set, set, set, setFromHomogeneous, setRandom, setRandom, setRandom, setZero, size, sort, sort, sortAbsolute, sub, sub, transform, transform, triangleArea, updateBounds, write
 
Methods inherited from class maspack.matrix.VectorBase
containsNaN, copy, copyAndAdd, copyAndNegate, copyAndScale, copyAndSub, copyAndSubLeft, dot, epsilonEquals, equals, get, getDefaultFormat, hasNaN, isColumnVectorStringsVertical, isFixedSize, isRowVector, set, set, setColumnVectorStringsVertical, setDefaultFormat, setRowVector, setSize, toString, toString, toString, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaterialPoint

public MaterialPoint(Point3d pos,
                     double r,
                     double m)
Point for describing material

Parameters:
pos - Position
r - Radius
m - Mass

MaterialPoint

public MaterialPoint(double x,
                     double y,
                     double z,
                     double r)
Method Detail

setRadius

public void setRadius(double r)

getRadius

public double getRadius()

setMass

public void setMass(double m)

getMass

public double getMass()