Class ContinuousLoad
represents continuous load
Defined in: raphaelsm.src.js.
Constructor Attributes | Constructor Name and Description |
---|---|
ContinuousLoad(raphael, point1, point2, valx, valz, nArrows)
Continuous 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, nArrows)
Constructor, see ContinuousLoad for parameters description
|
|
<static> |
ContinuousLoad.create(raphael, point1, point2, valx, valz, nArrows)
Creates new ContinuousLoad object, for parameters meaning see ContinuousLoad
|
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
ContinuousLoad(raphael, point1, point2, valx, valz, nArrows)
Continuous 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} nArrows Optional, Default: 4
- numer of arrows
Field Detail
{int}
nArrows
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, nArrows)
Constructor, see ContinuousLoad for parameters description
- Parameters:
- raphael
- point1
- point2
- valx
- valz
- nArrows
<static>
{ContinuousLoad}
ContinuousLoad.create(raphael, point1, point2, valx, valz, nArrows)
Creates new ContinuousLoad object, for parameters meaning see ContinuousLoad
- Parameters:
- raphael
- point1
- point2
- valx
- valz
- nArrows
- Returns:
- {ContinuousLoad} new ContinuousLoad object
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)