AnyLogic
Expand
Font size
All Superinterfaces:
Locatable2D, Locatable3D, Segment2D
All Known Implementing Classes:
ShapeArrowLine, ShapeLine

public interface Segment3D
extends Segment2D, Locatable3D
This interface represents a segment: (x, y, z) - (x+dx, y+dy, z+dz)
Author:
AnyLogic North America, LLC https://anylogic.com

Method Summary

Modifier and TypeMethodDescription
doublegetDz()
Returns the z-offset of the end segment point relative to the start one (the difference of z coordinates of the segment end and start points).
doublegetEndZ()
Returns the z coordinate of the segment end point.
doublegetZ()
Returns the z coordinate of the start segment point.

Methods inherited from interface com.anylogic.engine.Locatable3D

getZOffset

Methods inherited from interface com.anylogic.engine.Segment2D

getDx, getDy, getEndX, getEndY, getX, getY

Method Details

getZ

double getZ()
Returns the z coordinate of the start segment point.
Specified by:
getZ in interface Locatable3D
Returns:
the z coordinate of the start segment point

getDz

double getDz()
Returns the z-offset of the end segment point relative to the start one (the difference of z coordinates of the segment end and start points).
Returns:
the z-offset of the end segment point relative to the start one

getEndZ

double getEndZ()
Returns the z coordinate of the segment end point.
Returns:
the z coordinate of the segment end