Package one.empty3.library.core.physics
Class Bille
- java.lang.Object
-
- one.empty3.library.Representable
-
- one.empty3.library.Point3D
-
- one.empty3.library.core.physics.Bille
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
public class Bille extends Point3D
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description double
amortissement
double
attraction
java.awt.Color
color
double
masse
java.lang.String
nom
Point3D
position
double
repulsion
Point3D
vitesse
-
Fields inherited from class one.empty3.library.Representable
CFAST, classPainters, DEFAULT_TEXTURE, defaultHashMapData, DISPLAY_ALL, materiau, NFAST, parent, PATH_ELEM_DOUBLE_VALUES, PATH_ELEM_REPRESENTABLE, PATH_ELEM_STRUCTURE_MATRIX, render, rotation, SCALE1, scene, SURFACE_DISPLAY_COL_QUADS, SURFACE_DISPLAY_COL_TRI, SURFACE_DISPLAY_LINES, SURFACE_DISPLAY_POINTS, SURFACE_DISPLAY_TEXT_QUADS, T, texture, vectors
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAmortissement()
double
getAttraction()
java.awt.Color
getColor()
double
getMasse()
Point3D
getPosition()
double
getRepulsion()
Point3D
getVitesse()
void
setAmortissement(double amortissement)
void
setAttraction(double attraction)
void
setColor(java.awt.Color color)
void
setMasse(double masse)
void
setPosition(Point3D position)
void
setRepulsion(double repulsion)
void
setVitesse(Point3D vitesse)
-
Methods inherited from class one.empty3.library.Point3D
calculerPoint0dT, changeTo, clone, declareProperties, distance, dot, drawStructureDrawFast, end, equals, fromColor, get, get2D, getCoordArr, getDoubleArray, getLength, getNormale, getTempx, getTempy, getTempz, getX, getY, getZ, intersects, isAnyNaN, ISdrawStructureDrawFastIMPLEMENTED, moins, mult, mult, mult, multDot, n, n, n, normalize, norme, norme1, NormeCarree, plus, plus, prodScalaire, prodVect, r, random, random, random2, rotate, set, setCoordArr, setNormale, setTempx, setTempy, setTempz, setX, setY, setZ, start, textureIndex, to2DwoZ, toArray1d, toColor, toLongString, toString
-
Methods inherited from class one.empty3.library.Representable
become, calculerCurveT, calculerPointT, calculerSurfaceT, compareTo, computeCubic, computeSpherical, copy, declarations, draw, getCFAST, getDeclaredDataStructure, getDeclaredLists, getDeclaredProperty, getDisplayType, getDisplayTypes, getOrientedPoint, getOrig, getPainter, getPath, getProperty, getPropertyType, getRotation, getTexture, getVectX, getVectY, getVectZ, id, id, informer, intersects, paint, refPoint, replace, rotate, setAxes, setCFAST, setDisplayType, setOrig, setPainter, setPaintingAct, setPaintingActForClass, setProperty, setRotation, setTexture, setVectX, setVectY, setVectZ, supporteTexture, T, texture, texture, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation, xmlRepresentation
-
-
-
-
Method Detail
-
getColor
public java.awt.Color getColor()
-
setColor
public void setColor(java.awt.Color color)
-
getPosition
public Point3D getPosition()
-
setPosition
public void setPosition(Point3D position)
- Overrides:
setPosition
in classRepresentable
-
getVitesse
public Point3D getVitesse()
-
setVitesse
public void setVitesse(Point3D vitesse)
-
getAttraction
public double getAttraction()
-
setAttraction
public void setAttraction(double attraction)
-
getRepulsion
public double getRepulsion()
-
setRepulsion
public void setRepulsion(double repulsion)
-
getMasse
public double getMasse()
-
setMasse
public void setMasse(double masse)
-
getAmortissement
public double getAmortissement()
-
setAmortissement
public void setAmortissement(double amortissement)
-
-