Class: DeflCurve

DeflCurve

represents generic class for deflection curve

new DeflCurve(point1, point2, params)

Generic class for 3rd and 4th order curves (used for deflection)
This:
Parameters:
Name Type Argument Description
point1 RaphaelTools.Point2d 1st point
point2 RaphaelTools.Point2d 2nd point
params Object <optional>
parameters, see below
Properties
Name Type Argument Description
u1 number <optional>
=0.] local x deflection in the 1st point
w1 number <optional>
=0.] local y deflection in the 1st point
phi1 number <optional>
=0.] rotation of the 1st point
u2 number <optional>
=0.] local x deflection in the 2nd point
w2 number <optional>
=0.] local y deflection in the 2nd point
phi2 number <optional>
=0.] rotation of the 2nd point
wMid number <optional>
=0.] local y deflection from continuous load in the middle of the beam
realLen number <optional>
=1.] real length (in units of u and w) of beam
scale number <optional>
=1.] scale parameter for the deflection line
closedBegin boolean <optional>
=true] the line conecting 1st point with 1st nodal value
closedEnd boolean <optional>
=true] the line conecting 2nd point with 2nd nodal value
closedBase boolean <optional>
=true] the line conecting 1st and 2nd point
nSeg number <optional>
=5] number of interpolation points
Properties:
Name Type Description
u1 number local x displacement of 1st point
w1 number local y displacement of 1st point
phi1 number rotation of 1st point
u2 number local x displacement of 2nd point
w2 number local y displacement of 2nd point
phi2 number rotation of 2nd point
wMid number local y deflection from continuous load in the middle of the beam
realLen number real length (in units of u and w) of beam
scale number parameter for the deflection line
nSeg number number of interpolation points
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 946

Extends

Methods

consts()

Sets function constants
Inherited From:
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 649

setDsplFull(u1, w1, phi1, u2, w2, phi2, wMid)

Sets new values of all stored displacements and rotations
Parameters:
Name Type Description
u1 number local x deflection in the 1st point
w1 number local y deflection in the 1st point
phi1 number rotation of the 1st point
u2 number local x deflection in the 2nd point
w2 number local y deflection in the 2nd point
phi2 number rotation of the 2nd point
wMid number local y deflection from continuous load in the middle of the beam
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 1008

setGeom()

Sets geometric parameters according to stored attributes
Inherited From:
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 657

setPathList()

Sets svg path list
Inherited From:
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 653

update()

Update
Inherited From:
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 676