Class: ParabolicCurve

ParabolicCurve

represents parabolic curve

new ParabolicCurve(point1, point2, params)

Parabolic curve (e.g. bending moment line)
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
val1 number <optional>
=0.] value in 1st point
valMid number <optional>
=0.] value in the middle of 1st and 2nd point
val2 number <optional>
=0.] value in 2nd point
sclale number <optional>
=1.] scale factor
closedBegin boolean <optional>
=true] the line conecting 1st point with 1st nodal value
closedEnd boolean <optional>
=true] the line conecting 2nd point with 2nd nodal value
closedBase boolean <optional>
=true] the line conecting 1st and 2nd point
nSeg number <optional>
=5] number of interpolating points
Properties:
Name Type Description
val1 number value in 1st point
val2 number value in 2nd point
valMid number value in the middle
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 846

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, valMid)

Sets values of receiver
Parameters:
Name Type Description
val1 number value in 1st point
val2 number value in 2nd point
valMid number value in the middle
Source:
  • /var/www/html/software/raphaelsm/raphaelsm.src.js, line 892

update()

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