AnyLogic
Expand
Font size
All Superinterfaces:
Locatable2D, Locatable3D, Path2D
All Known Implementing Classes:
ShapeCurve, ShapeMultiplePoints, ShapePolyLine

public interface Path3D
extends Path2D, Locatable3D
This interface represents a sequence of (x, y, z) points
Coordinates of all the points (Path2D.getPointDx(int), Path2D.getPointDy(int), getPointDz(int)) are relative to the base coordinates (Path2D.getX(), Path2D.getY(), getZ())
Author:
AnyLogic North America, LLC https://anylogic.com

Method Summary

Modifier and TypeMethodDescription
doublegetPointDz(int i)
Returns the z coordinate of a particular point of the path relative to the start point.
doublegetZ()
Returns the base z coordinate of the path.

Methods inherited from interface com.anylogic.engine.Locatable3D

getZOffset

Methods inherited from interface com.anylogic.engine.Path2D

getNPoints, getPointDx, getPointDy, getX, getY

Method Details

getZ

double getZ()
Returns the base z coordinate of the path.
Specified by:
getZ in interface Locatable3D
Returns:
the base z coordinate of the path

getPointDz

double getPointDz(int i)
Returns the z coordinate of a particular point of the path relative to the start point.
Parameters:
i - the index of the point (starting from 0)
Returns:
the z coordinate of the point relative to the start point