Class: Vertices

Assessor.Value. Vertices

new Vertices

Counts the number of vertices of a polygon.
Parameters:
Name Type Description
p String
Source:
  • value.js, line 403

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

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

polygon :String

A polygon.
Source:
  • value.js, line 410

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