com.swfm.mica.mpoints
Class MiConnectionPointRule
java.lang.Object
com.swfm.mica.mpoints.MiConnectionPointRule
- All Implemented Interfaces:
- MiiManagedPointRule, MiiTypes
- public class MiConnectionPointRule
- extends java.lang.Object
- implements MiiManagedPointRule, MiiTypes
- Version:
- %I% %G%
- Author:
- Michael L. Davis
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mi_FORK_CONN_FAN_STYLE
public static final int Mi_FORK_CONN_FAN_STYLE
- See Also:
- Constant Field Values
Mi_STRAIGHT_LINE_CONN_FAN_STYLE
public static final int Mi_STRAIGHT_LINE_CONN_FAN_STYLE
- See Also:
- Constant Field Values
Mi_RIGHT_ANGLE_CONN_FAN_STYLE
public static final int Mi_RIGHT_ANGLE_CONN_FAN_STYLE
- See Also:
- Constant Field Values
Mi_STRAIGHT_THEN_FLAIR_CONN_FAN_STYLE
public static final int Mi_STRAIGHT_THEN_FLAIR_CONN_FAN_STYLE
- See Also:
- Constant Field Values
Mi_FLAIR_THEN_STRAIGHT_CONN_FAN_STYLE
public static final int Mi_FLAIR_THEN_STRAIGHT_CONN_FAN_STYLE
- See Also:
- Constant Field Values
MiConnectionPointRule
public MiConnectionPointRule()
setPrototypeConnection
public void setPrototypeConnection(MiConnection conn)
getPrototypeConnection
public MiConnection getPrototypeConnection()
setShuntPointDistance
public void setShuntPointDistance(double distance)
getShuntPointDistance
public double getShuntPointDistance()
setValidExitDirections
public void setValidExitDirections(int directions)
getValidExitDirections
public int getValidExitDirections()
getShuntPointLocation
public MiPoint getShuntPointLocation(MiManagedPoint managedPoint,
MiPart part,
int positionNumber,
MiPoint point)
getShuntPointLocation
public MiPoint getShuntPointLocation(MiManagedPoint managedPoint,
MiPart part,
int positionNumber,
MiPoint point,
double shuntPointDistance)
getValidExitDirections
public int getValidExitDirections(int positionNumber)
copy
public MiiManagedPointRule copy()
- Specified by:
copy in interface MiiManagedPointRule