Class: DistributedLoad

DistributedLoad

represents distributed load

new DistributedLoad(point1, point2, params)

Distributed load [Raphael.path]
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
valx number <optional>
=0.] value of load in x direction (global)
valy number <optional>
=0.] value of load in y direction (global)
nArrows number <optional>
=4] number of arrows
style number <optional>
=0] style of the arrow head: 0 (default) = similar to svg arrow, 1 = simple
cloased boolean <optional>
=false] if the beam line is present or not
Properties:
Name Type Description
point1 Point2d 1st point
point2 Point2d 2nd point
valx number value in global x direction
valy number value in global y direction
nArrows number number of displayed arrows
style number
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 502

Extends

  • Raphael.fn

Methods

setPathList()

Sets svg path of receiver
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 526

setVals(valx, valy)

Sets new values to receiver
Parameters:
Name Type Argument Description
valx number <optional>
=0.] value in global x direction
valy number <optional>
=0.] value in global y direction
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 518

update()

Update receiver (set this.pathList for given internal variables)
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 603