Class: ConstantCurve

ConstantCurve

represents constant curve

new ConstantCurve(point1, point2, params)

Constant 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.val number <optional>
=0.] value
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
Properties:
Name Type Description
val number value in 1st point
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 723

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

setVal(val)

Sets value of receiver
Parameters:
Name Type Description
val number value in 1st point
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 743

update()

Update
Inherited From:
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 676