nl.kun.Engine3D
Class TSpiral3D

java.lang.Object
  |
  +--nl.kun.Engine3D.TVector3D
        |
        +--nl.kun.Engine3D.TCoordSys3D
              |
              +--nl.kun.Engine3D.TEntity3D
                    |
                    +--nl.kun.Engine3D.TEntityList3D
                          |
                          +--nl.kun.Engine3D.TSpiral3D

public class TSpiral3D
extends TEntityList3D

This class is inherited from TEntityList3D and contains in it's objectList a number of TLine3D objects to create a spiral (spring).


Fields inherited from class nl.kun.Engine3D.TEntityList3D
depth, index, MaxBuf, MAXOBJECTS, ObjectList, size
 
Fields inherited from class nl.kun.Engine3D.TEntity3D
color, GlobalCords, ParentGlobalCords, Vissible
 
Fields inherited from class nl.kun.Engine3D.TCoordSys3D
Xaxis, Yaxis, Zaxis
 
Fields inherited from class nl.kun.Engine3D.TVector3D
DBSCIENTIFIC, DBSTANDARD, x, y, z
 
Constructor Summary
TSpiral3D()
          Empty constructor.
TSpiral3D(double _x1, double _y1, double _z1, double _x2, double _y2, double _z2, double _radius, int _loops, int _division, java.awt.Color _color)
          The standard constructor.
TSpiral3D(TVector3D _beginPoint, TVector3D _endPoint, double _radius, int _loops, int _division, java.awt.Color _color)
          Constructor.
 
Method Summary
 void setBeginNEndPoint(double _x1, double _y1, double _z1, double _x2, double _y2, double _z2)
          Used to reset the begin and endpoint of the spiral with doubles.
 void setBeginNEndPoint(TVector3D _beginPoint, TVector3D _endPoint)
          Used to reset the begin and endpoint of the spiral with TVector3D's
 
Methods inherited from class nl.kun.Engine3D.TEntityList3D
Append, Clear, Depth, Draw, InheritGlobalCords, Insert, Remove, Remove, Rotate, Sort, Translate, Translate
 
Methods inherited from class nl.kun.Engine3D.TEntity3D
Vector3D, Vector3D
 
Methods inherited from class nl.kun.Engine3D.TCoordSys3D
CoordSys3D, CoordSys3D, CoordSys3D, Global2Local, Global2Local, Global2Local, Local2Global, Local2Global, Local2Global, toString
 
Methods inherited from class nl.kun.Engine3D.TVector3D
Angle, Double2String, Double2String, Modulus, Modulus, Negate, Negate, Normalize, Normalize, NulVec, StdXaxis, StdYaxis, StdZaxis, String2Double, VAdd, VCrossProduct, VCrossProduct, VDotProduct, Vector3D, VPerpendicular, VPerpendicular, VScalarProduct, VScalarProduct, VScalarProduct, VSubstract, VSubstract
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TSpiral3D

public TSpiral3D(double _x1,
                 double _y1,
                 double _z1,
                 double _x2,
                 double _y2,
                 double _z2,
                 double _radius,
                 int _loops,
                 int _division,
                 java.awt.Color _color)
The standard constructor.
Parameters:
_x1 - x component of the begin point of the spiral
_y1 - y component of the begin point of the spiral
_z1 - z component of the begin point of the spiral
_x2 - x component of the end point of the spiral
_y2 - y component of the end point of the spiral
_z2 - z component of the end point of the spiral
_radius - The radius of the spiral
_loops - The number of loops in the spiral
_division - The number of lines for one loop
_color - The color of the spiral

TSpiral3D

public TSpiral3D(TVector3D _beginPoint,
                 TVector3D _endPoint,
                 double _radius,
                 int _loops,
                 int _division,
                 java.awt.Color _color)
Constructor.
Parameters:
_beginPoint - Begin point of the spiral
_endPoint - End point of the spiral
_radius - The radius of the spiral
_loops - The number of loops in the spiral
_division - The number of lines for one loop
_color - The color of the spiral

TSpiral3D

public TSpiral3D()
Empty constructor. Constructs a black spiral with beginpoint (0,0,0) and endpoint (1,0,0) with Radius 1, number of loops 5 and number of divisions 5.
Method Detail

setBeginNEndPoint

public void setBeginNEndPoint(double _x1,
                              double _y1,
                              double _z1,
                              double _x2,
                              double _y2,
                              double _z2)
Used to reset the begin and endpoint of the spiral with doubles.

setBeginNEndPoint

public void setBeginNEndPoint(TVector3D _beginPoint,
                              TVector3D _endPoint)
Used to reset the begin and endpoint of the spiral with TVector3D's