t3.hrd.state
Class Link
java.lang.Object
t3.hrd.state.OrderedElement
t3.hrd.state.Link
public class Link
- extends OrderedElement
A Link represents a link between two rectangles in DESK space.
Create new Links by calling the appropriate method on the a StateManager object.
Threading notes: this class is not thread-safe. You must use some kind of locking scheme
if you use it in a multithreaded environment.
- Author:
- pjt40
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
color
public final java.awt.Color color
displayType
public final int displayType
DISPLAYTYPE_NORMAL
public static final int DISPLAYTYPE_NORMAL
- See Also:
- Constant Field Values
opSetAff
public void opSetAff(ScaRotTraTransformImmutable tStandardRectToDESKrectA,
ScaRotTraTransformImmutable tStandardRectToDESKrectB)
- Sets the positions, dimensions and orientations in DESK space of the two rectangles
linked by the link. They are specified as scale, rotation and translations of the standard
rectangle which has width 1, height 1 and bottom left corner at the origin.
- Parameters:
tStandardRectToDESKrectA
- tStandardRectToDESKrectB
-
isDestroyed
public boolean isDestroyed()
getTstandardRectToDESKrectA
public ScaRotTraTransformImmutable getTstandardRectToDESKrectA()
getTstandardRectToDESKrectB
public ScaRotTraTransformImmutable getTstandardRectToDESKrectB()
getrDESKboundingBox
public java.awt.geom.Rectangle2D getrDESKboundingBox()
getmDESKpolyPoints
public java.util.List<java.util.List<Jama.Matrix>> getmDESKpolyPoints()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object