Class LinearLoad
represents continuous load
Defined in: raphaelsm.src.js.
Constructor Attributes | Constructor Name and Description |
---|---|
LinearLoad(raphael, point1, point2, valx, valz, num)
Linear load
|
Field Attributes | Field Name and Description |
---|---|
number of displayed arrows
|
|
pointer to actual raphael object
|
|
1st point
|
|
2nd point
|
|
raphael instance
|
|
value in global x direction
|
|
value in global z direction
|
Method Attributes | Method Name and Description |
---|---|
constructorLine(raphael, point1, point2, valx, valz, num)
Constructor, see LinearLoad for parameters description
|
|
setGeom()
Sets geometry proprties of receiver according to stored attributes
|
|
Sets svg path of receiver
|
|
setVals(valx, valz)
Sets new values to receiver
|
|
up()
Update receiver (set this.pathList for given internal variables)
|
Class Detail
LinearLoad(raphael, point1, point2, valx, valz, num)
Linear load
- Parameters:
- {Raphael} raphael
- raphael instance
- {Point2d} point1
- 1st point
- {Point2d} point2
- 2nd point
- {float} valx Optional, Default: 0.
- value of load in x direction (global)
- {float} valz Optional, Default: 0.
- value of load in z direction (global)
- {int} num Optional, Default: 4
- numer of arrows
Field Detail
{int}
num
number of displayed arrows
{Raphael.el}
obj
pointer to actual raphael object
{Point2d}
point1
1st point
{Point2d}
point2
2nd point
{Raphael}
raphael
raphael instance
{float}
valx
value in global x direction
{float}
valz
value in global z direction
Method Detail
constructorLine(raphael, point1, point2, valx, valz, num)
Constructor, see LinearLoad for parameters description
- Parameters:
- raphael
- point1
- point2
- valx
- valz
- num
setGeom()
Sets geometry proprties of receiver according to stored attributes
setPathList()
Sets svg path of receiver
setVals(valx, valz)
Sets new values to receiver
- Parameters:
- {float} valx Optional, Default: 0.
- value in global x direction
- {float} valz Optional, Default: 0.
- value in global z direction
up()
Update receiver (set this.pathList for given internal variables)