Class Index | File Index

Classes


Class DeflCubic

represents cubic deflection, all 6 dofs can be set
Defined in: raphaelsm.src.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
DeflCubic(raphael, point1, point2, u1, w1, phi1, u2, w2, phi2, realLen, scale, closedBegin, closedEnd, closedBase, nSeg)
Cubic deflection (all 6 dofs can be set)
Field Summary
Field Attributes Field Name and Description
 
number of interpolation points
 
rotation of 1st point
 
rotation of 2nd point
 
real length (in units of u and w) of beam
 
u1
local x displacement of 1st point
 
u2
local x displacement of 2nd point
 
w1
local z displacement of 1st point
 
w2
local z displacement of 2nd point
Method Summary
Method Attributes Method Name and Description
 
Sets function constants
<static>  
DeflCubic.create(raphael, point1, point2, params)
Creates new DeflCubic object, for parameters meaning see DeflCubic
 
setDspl(u1, w1, phi1, u2, w2, phi2)
Sets new values of all stored displacements and rotations
 
Sets svg path list
 
up()
Update
Class Detail
DeflCubic(raphael, point1, point2, u1, w1, phi1, u2, w2, phi2, realLen, scale, closedBegin, closedEnd, closedBase, nSeg)
Cubic deflection (all 6 dofs can be set)
Parameters:
{Raphael} raphael
raphael instance
{Point2d} point1
1st point
{Point2d} point2
2nd point
{float} u1 Optional, Default: 0.
local x deflection in the 1st point
{float} w1 Optional, Default: 0.
local z deflection in the 1st point
{float} phi1 Optional, Default: 0.
rotation of the 1st point
{float} u2 Optional, Default: 0.
local x deflection in the 2nd point
{float} w2 Optional, Default: 0.
local z deflection in the 2nd point
{float} phi2 Optional, Default: 0.
rotation of the 2nd point
{float} realLen Optional, Default: 1.
real length (in units of u and w) of beam
{float} scale Optional, Default: 1.
scale parameter for the deflection line
{bool} closedBegin Optional, Default: true
the line conecting 1st point with 1st nodal value
{bool} closedEnd Optional, Default: true
the line conecting 2nd point with 2nd nodal value
{bool} closedBase Optional, Default: true
the line conecting 1st and 2nd point
{int} nSeg Optional, Default: 5
number of interpolation points
Field Detail
{int} nSeg
number of interpolation points

{float} phi1
rotation of 1st point

{float} phi2
rotation of 2nd point

{float} realLen
real length (in units of u and w) of beam

{float} u1
local x displacement of 1st point

{float} u2
local x displacement of 2nd point

{float} w1
local z displacement of 1st point

{float} w2
local z displacement of 2nd point
Method Detail
consts()
Sets function constants

<static> {DeflCubic} DeflCubic.create(raphael, point1, point2, params)
Creates new DeflCubic object, for parameters meaning see DeflCubic
Parameters:
raphael
point1
point2
params
Returns:
{DeflCubic} new DeflCubic object

setDspl(u1, w1, phi1, u2, w2, phi2)
Sets new values of all stored displacements and rotations
Parameters:
{float} u1
local x deflection in the 1st point
{float} w1
local z deflection in the 1st point
{float} phi1
rotation of the 1st point
{float} u2
local x deflection in the 2nd point
{float} w2
local z deflection in the 2nd point
{float} phi2
rotation of the 2nd point

setPathList()
Sets svg path list

up()
Update

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Oct 23 2011 11:05:55 GMT+0200 (CEST)