Class Index | File Index

Classes


Class Node2d

represents nodes in 2d zx plane
Defined in: raphaeltools.src.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Node2d(x, z)
2d xz plane node implementation.
Field Summary
Field Attributes Field Name and Description
 
array of copies of itself
 
horizontal and verical shifts of copies from receiver
 
x
x coordinate
 
z
z coordinate
Method Summary
Method Attributes Method Name and Description
<static>  
Node2d.copy(shifts)
Copy receiver to given positions
<static>  
Node2d.setX(x)
Set new x coordinate to receiver * @param x x coordinate of new position
<static>  
Node2d.setXZ(x, z)
Sets new position to receiver
<static>  
Node2d.setZ(z)
Set new z coordinate to receiver * @param z z coordinate of new position
<static>  
Node2d.toString()
String representation * @returns {String} string representation
<static>  
Node2d.translate(dx, dz)
Change position of receiver by given values
<static>  
Node2d.translateX(dx)
Change horizontal position of receiver by given values * @param {float} dx length of translation in x direction
<static>  
Node2d.translateZ(dz)
Change vertical position of receiver by given values * @param {float} dz length of translation in x direction
<static>  
Node2d.up()
Update receiver (change positions of stored copies so as stored shifts between receiver and its copies remain constant
Class Detail
Node2d(x, z)
2d xz plane node implementation. The meaning of current implementation is only geometric, because DOFs itself are stored in beams (for both computational and graphic postprocessing part)
Parameters:
{float} x
x coordinate of node
{float} z
z coordinate of node
Field Detail
{[Nodes]} copies
array of copies of itself

{[[float|float]]} copiesShifts
horizontal and verical shifts of copies from receiver

{float} x
x coordinate

{float} z
z coordinate
Method Detail
<static> Node2d.copy(shifts)
Copy receiver to given positions
n = Node2d(100,150);
shifts=[[100,200],[200,200],[100,300],[200,300]]
Parameters:
{[[float|float]]} shifts
vertical and horizontal shifts of copied nodes

<static> Node2d.setX(x)
Set new x coordinate to receiver * @param x x coordinate of new position
Parameters:
x

<static> Node2d.setXZ(x, z)
Sets new position to receiver
Parameters:
{float} x
x coordinate of new position
{float} z
z coordinate of new position

<static> Node2d.setZ(z)
Set new z coordinate to receiver * @param z z coordinate of new position
Parameters:
z

<static> Node2d.toString()
String representation * @returns {String} string representation

<static> Node2d.translate(dx, dz)
Change position of receiver by given values
Parameters:
{float} dx
length of translation in x direction
{float} dz
length of translation in z direction

<static> Node2d.translateX(dx)
Change horizontal position of receiver by given values * @param {float} dx length of translation in x direction
Parameters:
dx

<static> Node2d.translateZ(dz)
Change vertical position of receiver by given values * @param {float} dz length of translation in x direction
Parameters:
dz

<static> Node2d.up()
Update receiver (change positions of stored copies so as stored shifts between receiver and its copies remain constant

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Jul 30 2011 12:43:59 GMT+0200 (CEST)