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:
Serializable
,Comparable
,TemporalComputedObject3D
,MatrixPropertiesObject
,XmlRepresentable
- See Also:
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
double
double
double
Fields inherited from class one.empty3.library.Representable
CFAST, classPainters, DEFAULT_TEXTURE, defaultHashMapData, DISPLAY_ALL, 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
getColor()
double
getMasse()
double
void
setAmortissement
(double amortissement) void
setAttraction
(double attraction) void
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, circle, 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, sphere, 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, getVectors, 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
-
Field Details
-
color
-
nom
-
position
-
vitesse
-
attraction
public double attraction -
repulsion
public double repulsion -
masse
public double masse -
amortissement
public double amortissement
-
-
Constructor Details
-
Bille
-
Bille
-
Bille
public Bille()
-
-
Method Details
-
getColor
-
setColor
-
getPosition
-
setPosition
- Overrides:
setPosition
in classRepresentable
-
getVitesse
-
setVitesse
-
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)
-