Class Defl4thOrder
represents cubic deflection, all 6 dofs can be set
Defined in: raphaelsm.src.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Defl4thOrder(raphael, point1, point2, params)
4th order deflection
|
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
|
|
local x displacement of 1st point
|
|
local x displacement of 2nd point
|
|
local z displacement of 1st point
|
|
local z displacement of 2nd point
|
|
local z deflection from continuous load in the middle of the beam
|
Method Attributes | Method Name and Description |
---|---|
consts()
Sets function constants
|
|
<static> |
Defl4thOrder.create(raphael, point1, point2, params)
Creates new Defl4thOrder object, for parameters meaning see Defl4thOrder
|
setDspl(u1, w1, phi1, u2, w2, phi2, wMid)
Sets new values of all stored displacements and rotations + wMid
|
|
Sets svg path list
|
|
up()
Update
|
Class Detail
Defl4thOrder(raphael, point1, point2, params)
4th order deflection
- Parameters:
- {Raphael} raphael
- raphael instance
- {Point2d} point1
- 1st point
- {Point2d} point2
- 2nd point
- {Object} params
- parameters, see below
- {float} params.u1 Optional, Default: 0.
- local x deflection in the 1st point
- {float} params.w1 Optional, Default: 0.
- local z deflection in the 1st point
- {float} params.phi1 Optional, Default: 0.
- rotation of the 1st point
- {float} params.u2 Optional, Default: 0.
- local x deflection in the 2nd point
- {float} params.w2 Optional, Default: 0.
- local z deflection in the 2nd point
- {float} params.phi2 Optional, Default: 0.
- rotation of the 2nd point
- {float} params.wMid Optional, Default: 0.
- local z deflection from continuous load in the middle of the beam
- {float} params.realLen Optional, Default: 1.
- real length (in units of u and w) of beam
- {float} params.scale Optional, Default: 1.
- scale parameter for the deflection line
- {bool} params.closedBegin Optional, Default: true
- the line conecting 1st point with 1st nodal value
- {bool} params.closedEnd Optional, Default: true
- the line conecting 2nd point with 2nd nodal value
- {bool} params.closedBase Optional, Default: true
- the line conecting 1st and 2nd point
- {int} params.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
{float}
wMid
local z deflection from continuous load in the middle of the beam
Method Detail
consts()
Sets function constants
<static>
{Defl4thOrder}
Defl4thOrder.create(raphael, point1, point2, params)
Creates new Defl4thOrder object, for parameters meaning see Defl4thOrder
- Parameters:
- raphael
- point1
- point2
- params
- Returns:
- {Defl4thOrder} new Defl4thOrder object
setDspl(u1, w1, phi1, u2, w2, phi2, wMid)
Sets new values of all stored displacements and rotations + wMid
- 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
- {float} wMid
- local z deflection from continuous load in the middle of the beam
setPathList()
Sets svg path list
up()
Update