com.xj.anylogic.engine
Interface Segment3D

All Superinterfaces:
Locatable2D, Locatable3D, Segment2D
All Known Implementing Classes:
Shape3DLine

public interface Segment3D
extends Segment2D, Locatable3D

This interface represents a segment: (x, y, z) - (x+dx, y+dy, z+dz)

Author:
XJ Technologies Company Ltd. www.anylogic.com

Method Summary
 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.
 
Methods inherited from interface com.xj.anylogic.engine.Segment2D
getDx, getDy, getEndX, getEndY, getX, getY
 
Methods inherited from interface com.xj.anylogic.engine.Locatable3D
getZOffset
 

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


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