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).
|
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.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 |
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.
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