new LinearCurve(point1, point2, params)
Linear curve (e.g. shear force line)
This:
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
point1 |
RaphaelTools.Point2d | 1st point | |
point2 |
RaphaelTools.Point2d | 2nd point | |
params |
Object |
<optional> |
parameters, see below |
param.val1 |
number |
<optional> |
=0.] value in 1st point |
param.val2 |
number |
<optional> |
=0.] value in 2nd point |
param.scale |
number |
<optional> |
=1.] scale factor |
param.closedBegin |
boolean |
<optional> |
=true] the line conecting 1st point with 1st nodal value |
param.closedEnd |
boolean |
<optional> |
=true] the line conecting 2nd point with 2nd nodal value |
param.closedBase |
boolean |
<optional> |
=true] the line conecting 1st and 2nd point |
- Source:
- /var/www/html/software/raphaelsm/raphaelsm.src.js, line 781
Properties:
Name | Type | Description |
---|---|---|
val1 |
number | value in 1st point |
val2 |
number | value in 2nd point |
Extends
Methods
-
consts()
-
Sets function constants
- Inherited From:
- Source:
- /var/www/html/software/raphaelsm/raphaelsm.src.js, line 649
-
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
-
setVals(val1, val2)
-
Sets values of receiver
Parameters:
Name Type Description val1
number value in 1st point val2
number value in 2nd point - Source:
- /var/www/html/software/raphaelsm/raphaelsm.src.js, line 803
-
update()
-
Update
- Inherited From:
- Source:
- /var/www/html/software/raphaelsm/raphaelsm.src.js, line 676