Package com.anylogic.engine.markup
- Field Summary
- Constructor Summary
- Method Summary
- Methods inherited from class com.anylogic.engine.markup.AbstractShapedWall
- Methods inherited from class com.anylogic.engine.markup.AbstractWall
- Methods inherited from class com.anylogic.engine.markup.AbstractLevelMarkup
- Methods inherited from class com.anylogic.engine.markup.MarkupShape
- Methods inherited from class com.anylogic.engine.markup.AbstractMarkup
- Methods inherited from class java.lang.Object
- Methods inherited from interface com.anylogic.engine.markup.AbstractPositionalMarkup
- Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement
- Methods inherited from interface com.anylogic.engine.presentation.SVGElement
- Methods inherited from interface com.anylogic.engine.presentation.UsdElement
- Constructor Details
- Method Details
- All Implemented Interfaces:
AbstractPositionalMarkup
,AggregatableAnimationElement
,HasLevel
,LevelElement
,LevelMarkup
,SVGElement
,UsdElement
,Serializable
public class CircularWall extends AbstractShapedWall
- See Also:
- Serialized Form
Constructor | Description |
---|---|
CircularWall() | |
CircularWall |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
Modifier and Type | Method | Description |
---|---|---|
boolean | contains |
Test if the shape contains the point with the given coordinates (relative
to this shape's container, i.e.
|
BoundingRectangle | getBoundingRectangle() | |
double | getRadiusX() |
Returns the "horizontal" radius of the oval wall.
|
double | getRadiusY() |
Returns the "vertical" radius of the oval wall.
|
void | setRadius |
Sets both radiuses of the oval wall to the same given value,
i.e.
|
void | setRadius |
Sets radiuses of the oval wall to the given values
|
void | setRadiusX |
Sets the "horizontal" radius of the oval wall.
|
void | setRadiusY |
Sets the "vertical" radius of the oval wall.
|
getRotation, getX, getY, getZ, setPos, setRotation
getColor, getFillingType, getLineWidth, getTexture, getZHeight, setColor, setColor, setFillingType, setLineWidth, setZHeight
error, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner
discardOwner, executeUserAction, findSVGElement, getName, getOrGenerateUSDId, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties
public CircularWall()
@Deprecated public CircularWall(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double z, double radiusX, double radiusY, double rotation, double lineWidth, double zHeight, WallFillingType fillingType, Paint color)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
- Parameters:
owner
-drawMode
-isPublic
-x
-y
-z
-radiusX
-radiusY
-rotation
-lineWidth
-zHeight
-fillingType
-color
-
public void setRadiusX(double radiusX)
Sets the "horizontal" radius of the oval wall.
- Parameters:
radiusX
- the "horizontal" radius of the oval wall
public double getRadiusX()
Returns the "horizontal" radius of the oval wall.
- Returns:
- the "horizontal" radius of the oval wall
public void setRadiusY(double radiusY)
Sets the "vertical" radius of the oval wall.
- Parameters:
radiusY
- the "vertical" radius of the oval wall
public double getRadiusY()
Returns the "vertical" radius of the oval wall.
- Returns:
- the "vertical" radius of the oval wall
public void setRadius(double radius)
Sets both radiuses of the oval wall to the same given value,
i.e. makes it a circle.
- Parameters:
radius
- the circle radius
public void setRadius(double radiusX, double radiusY)
Sets radiuses of the oval wall to the given values
- Parameters:
radiusX
- the "horizontal" radius of the oval wallradiusY
- the "vertical" radius of the oval wall
public boolean contains(double px, double py)
Description copied from class:
MarkupShape
Test if the shape contains the point with the given coordinates (relative
to this shape's container, i.e. in the same system with the coordinates
of this shape, x and y)
- Overrides:
contains
in classAbstractWall
- Parameters:
px
- the x coordinate relative to this shape's containerpy
- the y coordinate relative to this shape's container- Returns:
true
if the shape contains the point with the given coordinates
@AnyLogicInternalAPI public BoundingRectangle getBoundingRectangle()