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
|
- Source:
- /var/www/html/software/raphaelsm/raphaelsm.src.js, line 946
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 |
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