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

All Methods Instance Methods Abstract Methods 
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).
double getEndZ()
Returns the z coordinate of the segment end point.
double getZ()
Returns the z coordinate of the start segment point.
Modifier and Type Method Description

Methods inherited from interface com.anylogic.engine.Locatable3D

getZOffset

Methods inherited from interface com.anylogic.engine.Segment2D

getDx, getDy, getEndX, getEndY, getX, getY

Method Detail

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