| 
 |  | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.algart.model3d.common.movement.model.PhysicalMedium
public final class PhysicalMedium extends java.lang.Object implements Item
Physical medium: an item which acts to any other item, which have a velocity,
 by PhysicalMediumResistanceRule interaction.
 It is supposed that the physical medium slows down the movement of any item, namely, acts to it
 with the resistance force F=−σvd, where d is some size of that item
 and σ is the parameter of this object: resistance coefficient.
This class is not thread-safe, but is thread-compatible and can be synchronized manually if multithread access is necessary.
AlgART Laboratory 2010
| Constructor and Description | 
|---|
| PhysicalMedium(double resistanceCoefficient)Creates new physical medium with the specified resistance coefficient σ=resistanceCoefficient. | 
| Modifier and Type | Method and Description | 
|---|---|
|  double | getResistanceCoefficient()Returns the resistance coefficient σ. | 
|  void | setResistanceCoefficient(double resistanceCoefficient)Sets the resistance coefficient σ. | 
|  java.lang.String | toString()Returns a brief string description of this object. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public PhysicalMedium(double resistanceCoefficient)
resistanceCoefficient - resistance coefficient σ.| Method Detail | 
|---|
public double getResistanceCoefficient()
public void setResistanceCoefficient(double resistanceCoefficient)
resistanceCoefficient - new resistance coefficient σ.public java.lang.String toString()
The result of this method may depend on implementation.
toString in class java.lang.Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||