com.xj.anylogic.engine
Interface Path3D

All Superinterfaces:
Locatable2D, Locatable3D, Path2D
All Known Implementing Classes:
Shape3DPolyLine

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:
XJ Technologies Company Ltd. www.anylogic.com

Method Summary
 double getPointDz(int i)
          Returns the z coordinate of a particular point of the path relative to the start point.
 double getZ()
          Returns the base z coordinate of the path.
 
Methods inherited from interface com.xj.anylogic.engine.Path2D
getNPoints, getPointDx, getPointDy, getX, getY
 
Methods inherited from interface com.xj.anylogic.engine.Locatable3D
getZOffset
 

Method Detail

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


Copyright © 1991-2008 XJ Technlogies. All Rights Reserved.