com.tensegrity.graphics
Class Anchor

java.lang.Object
  extended bycom.tensegrity.graphics.Anchor

public class Anchor
extends java.lang.Object


Field Summary
static int ANCHOR_X1
           
static int ANCHOR_X2
           
static int ANCHOR_XCENTER
           
static int ANCHOR_Y1
           
static int ANCHOR_Y2
           
static int ANCHOR_YCENTER
           
static int ANCHOR_Z1
           
static int ANCHOR_Z2
           
static int ANCHOR_ZCENTER
           
 int[] components
           
static int X_COMPONENT
           
static int Y_COMPONENT
           
static int Z_COMPONENT
           
 
Constructor Summary
Anchor(Anchor anchor)
           
Anchor(int componentcount)
           
Anchor(int xComponent, int yComponent)
           
 
Method Summary
static Coordinate computeLocation(Anchor anchor, Coordinate origin, Size size)
           
static Coordinate computeLocation(Anchor anchor, Coordinate origin, Size size, Size sizeObject)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ANCHOR_X1

public static final int ANCHOR_X1
See Also:
Constant Field Values

ANCHOR_X2

public static final int ANCHOR_X2
See Also:
Constant Field Values

ANCHOR_XCENTER

public static final int ANCHOR_XCENTER
See Also:
Constant Field Values

ANCHOR_Y1

public static final int ANCHOR_Y1
See Also:
Constant Field Values

ANCHOR_Y2

public static final int ANCHOR_Y2
See Also:
Constant Field Values

ANCHOR_YCENTER

public static final int ANCHOR_YCENTER
See Also:
Constant Field Values

ANCHOR_Z1

public static final int ANCHOR_Z1
See Also:
Constant Field Values

ANCHOR_Z2

public static final int ANCHOR_Z2
See Also:
Constant Field Values

ANCHOR_ZCENTER

public static final int ANCHOR_ZCENTER
See Also:
Constant Field Values

X_COMPONENT

public static final int X_COMPONENT
See Also:
Constant Field Values

Y_COMPONENT

public static final int Y_COMPONENT
See Also:
Constant Field Values

Z_COMPONENT

public static final int Z_COMPONENT
See Also:
Constant Field Values

components

public final int[] components
Constructor Detail

Anchor

public Anchor(int componentcount)

Anchor

public Anchor(int xComponent,
              int yComponent)

Anchor

public Anchor(Anchor anchor)
Method Detail

equals

public boolean equals(java.lang.Object obj)

toString

public java.lang.String toString()

getDescription

public java.lang.String getDescription()

computeLocation

public static final Coordinate computeLocation(Anchor anchor,
                                               Coordinate origin,
                                               Size size)

computeLocation

public static final Coordinate computeLocation(Anchor anchor,
                                               Coordinate origin,
                                               Size size,
                                               Size sizeObject)


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.