AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.markup.Obstacle
All Implemented Interfaces:
java.io.Serializable

@AnyLogicInternalAPI
public final class Obstacle
extends java.lang.Object
implements java.io.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

Constructors 
Obstacle​(Point p1, Point p2)  
Obstacle​(Point p1, Point p2, AbstractMarkup parent)  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
AbstractMarkup getMarkup()
Currently used only for: Lift, OverheadCrane, JibCrane, PalletRack, Storage
Point getP1()  
Point getP2()  
double getX1()  
double getX2()  
double getY1()  
double getY2()  
void setP1​(Point p1)  
void setP2​(Point p2)  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

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

Constructor Detail

Obstacle

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

Obstacle

public Obstacle​(Point p1,
                Point p2)

Method Detail

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:
How can we improve this article?