Class: SlopeY

Assessor.Value. SlopeY

new SlopeY

Determine the slope or y intersect of a line.
Parameters:
Name Type Argument Default Description
l String
what String <optional>
'y' Accepts slope and y. If another value is given or this parameter is not given at all it falls back to y.
Source:
  • value.js, line 354

Extends

Members

class :String

Classname of the object the current instance is created from.
Source:
  • assessor.js, line 37

expanded :Boolean

A flag to indicate this is an actual instance.
Default Value:
  • true
Source:
  • assessor.js, line 28

line :String

An identifier for a line
Source:
  • value.js, line 361

namespace :String

The namespace the class is in or null if the class is defined directly in the main namespace.
Source:
  • assessor.js, line 35

parameters :String

JSON string representing the constructor parameters as elements of an array.
Source:
  • assessor.js, line 49

what :String

y or slope.
Source:
  • value.js, line 367

Methods

choose

Returns a list of possible fixtures for elements that are not fixed yet within the given fixtures.
Parameters:
Name Type Description
elements Assessor.ElementList
fixtures Assessor.FixtureList
Source:
  • value.js, line 40
Returns:
Type
Array

evaluate

Evaluates this value.
Parameters:
Name Type Description
elements Assessor.ElementList
fixtures Assessor.FixtureList
Source:
  • value.js, line 30
Returns:
Type
Number

toJSON

Generates a JSON representation of this object that can be used to restore it.
Source:
  • assessor.js, line 57
Returns:
Type
String