AnyLogic
Expand
Font size
All Implemented Interfaces:
Serializable

@AnyLogicInternalAPI
public final class Obstacle
extends Object
implements Serializable
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
See Also:
Serialized Form

Constructor Summary

ConstructorDescription
Obstacle(Point p1, Point p2) 
Obstacle(Point p1, Point p2, AbstractMarkup parent) 

Method Summary

Modifier and TypeMethodDescription
AbstractMarkupgetMarkup()
Currently used only for: Lift, OverheadCrane, JibCrane, PalletRack, Storage
PointgetP1() 
PointgetP2() 
doublegetX1() 
doublegetX2() 
doublegetY1() 
doublegetY2() 
voidsetP1(Point p1) 
voidsetP2(Point p2) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

Obstacle

public Obstacle(Point p1,
 Point p2,
 AbstractMarkup parent)

Obstacle

public Obstacle(Point p1,
 Point p2)

Method Details

getP1

public Point getP1()

setP1

public void setP1(Point p1)

getP2

public Point getP2()

setP2

public void setP2(Point p2)

getX1

public double getX1()

getY1

public double getY1()

getX2

public double getX2()

getY2

public double getY2()

getMarkup

public AbstractMarkup getMarkup()
Currently used only for: Lift, OverheadCrane, JibCrane, PalletRack, Storage
Returns: