Package com.anylogic.engine.markup
- Field Summary
- Constructor Summary
- Method Summary
- 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
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkup
- com.anylogic.engine.markup.MarkupShape
- com.anylogic.engine.markup.AbstractLevelMarkup
- com.anylogic.engine.markup.AbstractWall
- com.anylogic.engine.markup.AbstractShapedWall
- All Implemented Interfaces:
AbstractPositionalMarkup,AggregatableAnimationElement,HasLevel,LevelElement,LevelMarkup,SVGElement,UsdElement,Serializable
- Direct Known Subclasses:
CircularWall,RectangularWall
public abstract class AbstractShapedWall extends AbstractWall implements AbstractPositionalMarkup
- See Also:
- Serialized Form
| Constructor | Description |
|---|---|
AbstractShapedWall() | |
AbstractShapedWall |
| Modifier and Type | Method | Description |
|---|---|---|
double | getRotation() |
Returns the rotation of the shape.
|
double | getX() |
Returns the x coordinate of the shape.
|
double | getY() |
Returns the y coordinate of the shape.
|
double | getZ() |
Returns the z coordinate of the shape.
|
void | setPos |
Sets coordinates of the shape
|
void | setRotation |
Sets the rotation of the shape.
|
contains, getColor, getFillingType, getLineWidth, getTexture, getZHeight, setColor, setColor, setFillingType, setLineWidth, setZHeighterror, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isOnly3D, isPublic, onClick, remove, setDrawMode, setOwnerdiscardOwner, executeUserAction, findSVGElement, getGroupOrOwner, getInspect, getInspectionWindowString, getName, getOrGenerateUSDId, getSVGComponent, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setInspect, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGPropertiesexecuteUserAction, findSVGElement, getGroupOrOwner, getPresentable, getSVGComponent, getSVGId, isOnly3D, removeSVGFromOwner, resetSVGState, updateSVGPropertiespublic AbstractShapedWall()
public AbstractShapedWall(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double z, double rotation, double lineWidth, double zHeight, WallFillingType fillingType, Paint color)
public double getX()
Returns the x coordinate of the shape.
- Specified by:
getXin interfaceAbstractPositionalMarkup- Returns:
- the x coordinate of the shape
public double getY()
Returns the y coordinate of the shape.
- Specified by:
getYin interfaceAbstractPositionalMarkup- Returns:
- the y coordinate of the shape
public double getZ()
Returns the z coordinate of the shape.
- Specified by:
getZin interfaceAbstractPositionalMarkup- Returns:
- the z coordinate of the shape
public void setPos(double x, double y, double z)
Sets coordinates of the shape
- Parameters:
x- the new value of x coordinatey- the new value of y coordinatez- the new value of z coordinate
public void setRotation(double rotation)
Sets the rotation of the shape.
- Parameters:
r- the new value of rotation in radians
public double getRotation()
Returns the rotation of the shape.
- Specified by:
getRotationin interfaceAbstractPositionalMarkup- Returns:
- the rotation of the shape in radians, clockwise