Packages

  • package root
    Definition Classes
    root
  • package scalation

    The scalation package specifies system-wide constants for directory paths.

    The scalation package specifies system-wide constants for directory paths. Sub-packages may wish to define 'BASE-DIR = DATA_DIR + ⁄ + <package>' in their own 'package.scala' files. For maintainability, directory paths should only be specified in 'package.scala' files.

    Definition Classes
    root
  • package activity

    The activity package contains classes, traits and objects for activity-oriented simulation models (for example, Petri Nets).

    The activity package contains classes, traits and objects for activity-oriented simulation models (for example, Petri Nets).

    Definition Classes
    scalation
  • package analytics

    The analytics package contains classes, traits and objects for analytics including clustering and prediction.

    The analytics package contains classes, traits and objects for analytics including clustering and prediction.

    Definition Classes
    scalation
  • package animation

    The animation package contains classes, traits and objects for 2D animation of simulation objects.

    The animation package contains classes, traits and objects for 2D animation of simulation objects.

    Definition Classes
    scalation
  • package calculus

    The calculus package contains classes with methods for computing derivatives, gradient vectors, Jacobian matrices, integrals and basic operators in Functional Analysis.

    The calculus package contains classes with methods for computing derivatives, gradient vectors, Jacobian matrices, integrals and basic operators in Functional Analysis.

    Definition Classes
    scalation
  • package dynamics

    The dynamics package contains classes, traits and objects for system dynamics simulations using Ordinary Differential Equations (ODEs).

    The dynamics package contains classes, traits and objects for system dynamics simulations using Ordinary Differential Equations (ODEs).

    Definition Classes
    scalation
  • package dynamics_pde

    The dynamics_pde package contains classes, traits and objects for system dynamics simulations using Partial Differential Equations 'PDE's.

    The dynamics_pde package contains classes, traits and objects for system dynamics simulations using Partial Differential Equations 'PDE's.

    Definition Classes
    scalation
  • package event

    The event package contains classes, traits and objects for event oriented simulation models (for example, event scheduling or event graphs).

    The event package contains classes, traits and objects for event oriented simulation models (for example, event scheduling or event graphs).

    Definition Classes
    scalation
  • package graphalytics

    The graphalytics package contains classes, traits and objects for graph analytics on Trees, 'DAG's and Directed Graphs.

    The graphalytics package contains classes, traits and objects for graph analytics on Trees, 'DAG's and Directed Graphs. It provides an implicit conversion when needed for converting doubles to vectors.

    Definition Classes
    scalation
  • package linalgebra

    The linalgebra package contains classes, traits and objects for linear algebra, including vectors and matrices for real and complex numbers.

    The linalgebra package contains classes, traits and objects for linear algebra, including vectors and matrices for real and complex numbers.

    Definition Classes
    scalation
  • package math

    The math package contains classes, traits and objects for common mathematical operations.

    The math package contains classes, traits and objects for common mathematical operations. Its package object defines exponentiation, logarithmic, trigonometric, etc. operators and functions.

    Definition Classes
    scalation
  • package maxima

    The maxima package contains classes, traits and objects for optimization to find maxima.

    The maxima package contains classes, traits and objects for optimization to find maxima.

    Definition Classes
    scalation
  • package minima

    The minima package contains classes, traits and objects for optimization to find minima.

    The minima package contains classes, traits and objects for optimization to find minima.

    Definition Classes
    scalation
  • package model

    The model package contains a trait giving a template for models to follow.

    The model package contains a trait giving a template for models to follow.

    Definition Classes
    scalation
  • package moleculesampleapp
    Definition Classes
    scalation
  • package plot

    The plot package contains classes, traits and objects for simple plotting of x-y data.

    The plot package contains classes, traits and objects for simple plotting of x-y data.

    Definition Classes
    scalation
  • package process

    The process package contains classes, traits and objects for process-oriented simulation models (for example, process-interaction).

    The process package contains classes, traits and objects for process-oriented simulation models (for example, process-interaction).

    Definition Classes
    scalation
  • package queueingnet

    The queueingnet package contains classes, traits and objects for solving simple queueing network problems.

    The queueingnet package contains classes, traits and objects for solving simple queueing network problems.

    Definition Classes
    scalation
  • package random

    The random package contains classes, traits and objects for the generation of random numbers.

    The random package contains classes, traits and objects for the generation of random numbers.

    Definition Classes
    scalation
  • package relalgebra

    The relalgebra package contains classes, traits and objects for columnar relational algebra, where columns are vectors from the linalgebra package.

    The relalgebra package contains classes, traits and objects for columnar relational algebra, where columns are vectors from the linalgebra package.

    Definition Classes
    scalation
  • package scala2d

    The scala2d package contains classes, traits and objects for for simple 2D graphics in scala, based upon java.swing, java.awt and java_awt_geom.

    The scala2d package contains classes, traits and objects for for simple 2D graphics in scala, based upon java.swing, java.awt and java_awt_geom.

    Definition Classes
    scalation
  • Arc
  • Arrow
  • ArrowTest
  • Colors
  • ColorsTest
  • Constants
  • CurvilinearShape
  • Ellipse
  • Frame
  • Hexagon
  • Line
  • Octagon
  • Panel
  • Path
  • Pentagon
  • Polygon
  • PolygonTest
  • QArrow
  • QArrowTest
  • QCurve
  • QCurveTest
  • QCurveTest2
  • Quad
  • R2
  • Rectangle
  • RoundRectangle
  • ScrollPane
  • Shapes
  • Table
  • Transform
  • Triangle
  • VizFrame
  • package scala3d

    The scala3d package contains classes, traits and objects for for simple 3D graphics in scala, based upon javafx.

    The scala3d package contains classes, traits and objects for for simple 3D graphics in scala, based upon javafx. Its package object contains type aliases for 'javafx.geometry.Point3D' and all subclasses of 'javafx.scene.shape.Shape3D'.

    Definition Classes
    scalation
  • package stat

    The stat package contains classes, traits and objects for basic statistical functions and analyses.

    The stat package contains classes, traits and objects for basic statistical functions and analyses. The package object itself defines an implicit conversion from scalation.linalgebra.VectorD to StatVector.

    Definition Classes
    scalation
  • package state

    The state package contains classes, traits and objects for state-oriented simulation models (for example, Markov Chains).

    The state package contains classes, traits and objects for state-oriented simulation models (for example, Markov Chains).

    Definition Classes
    scalation
  • package tableau

    The tableau package contains classes for tableau oriented simulation models (similar to spreadsheet simulations).

    The tableau package contains classes for tableau oriented simulation models (similar to spreadsheet simulations).

    Definition Classes
    scalation
  • package util

    The util package contains classes, traits and objects for basic utility functions.

    The util package contains classes, traits and objects for basic utility functions.

    Definition Classes
    scalation
p

scalation

scala2d

package scala2d

The scala2d package contains classes, traits and objects for for simple 2D graphics in scala, based upon java.swing, java.awt and java_awt_geom.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scala2d
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Arc () extends Double with Product with Serializable

    Arc is a convenience case class for Arc2D (a subclass of RectangularShape).

  2. case class Arrow (p1: R2 = R2 (0.0, 0.0), p2: R2 = R2 (0.0, 0.0), len: Int = 10) extends Double with Product with Serializable

    The Arrow class uses Java's Path2D class to create a line with an arrowhead on the far end.

    The Arrow class uses Java's Path2D class to create a line with an arrowhead on the far end. The main line is defined by points 'p1' and 'p2'. Points 'p3' and 'p4' are the corners of the triangular arrowhead.

    p1

    the starting point for the line/arrow

    p2

    the ending point for the line/arrow

    len

    the length of the arrowhead on the line/arrow

  3. trait CurvilinearShape extends Shape with Error

    The CurvilinearShape trait provides a general type for line and curves.

    The CurvilinearShape trait provides a general type for line and curves. It is analogous to RectangularShape.

  4. case class Ellipse () extends Double with Product with Serializable

    Ellipse is a convenience case class for Ellipse2D (a subclass of RectangularShape).

  5. class Frame extends JFrame

    Frame is a convenience class for JFrame.

  6. case class Hexagon (vertex: Array[R2]) extends Double with Product with Serializable

    The Hexagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a hexagon given its vertices.

    The Hexagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a hexagon given its vertices.

    vertex

    the six corner points of the hexagon

  7. case class Line (p1: R2 = R2 (0.0, 0.0), p2: R2 = R2 (0.0, 0.0)) extends Double with Product with Serializable

    Line is a convenience case class for Line2D (a subclass of RectangularShape).

  8. case class Octagon (vertex: Array[R2]) extends Double with Product with Serializable

    The Octagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building an octagon given its vertices.

    The Octagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building an octagon given its vertices.

    vertex

    the eight corner points of the octagon

  9. class Panel extends JPanel

    Panel is a convenience class for JPanel.

  10. case class Path () extends Double with Product with Serializable

    Path is a convenience case class for Path2D. Its subtypes (case class Polygon, etc.) are defined in other files in the scala2d package.

  11. case class Pentagon (vertex: Array[R2]) extends Double with Product with Serializable

    The Pentagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a pentagon given its vertices.

    The Pentagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a pentagon given its vertices.

    vertex

    the five corner points of the pentagon

  12. case class Polygon (vertex: Array[R2]) extends Double with Product with Serializable

    The Polygon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a polygon given its vertices.

    The Polygon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a polygon given its vertices.

    vertex

    the n >= 3 corner points of the polygon

  13. case class QArrow (p1: R2 = R2 (0.0, 0.0), pc: R2 = R2 (0.0, 0.0), p2: R2 = R2 (0.0, 0.0), len: Int = 10) extends Double with Product with Serializable

    The QArrow class uses Java's Path2D class to create a quad curve with an arrowhead on the far end.

    The QArrow class uses Java's Path2D class to create a quad curve with an arrowhead on the far end. The main curve is defined by points 'p1' and 'p2' along with a control point 'pc'. Points 'p3' and 'p4' are the corners of the triangular arrowhead.

    p1

    the starting point for the curve/arc

    pc

    the control point for the curve/arc

    p2

    the ending point for the curve/arc

    len

    the length of the arrowhead on the curve/arc

  14. case class QCurve (p1: R2 = R2 (0.0, 0.0), pc: R2 = R2 (0.0, 0.0), p2: R2 = R2 (0.0, 0.0), straight: Boolean = true) extends Double with CurvilinearShape with Product with Serializable

    The QCurve class enhances the QuadCurve.Double class (from the java.awt.geom package) by allowing entities to move along such quadratic curves as well as lines.

    The QCurve class enhances the QuadCurve.Double class (from the java.awt.geom package) by allowing entities to move along such quadratic curves as well as lines. Although the curve could be developed as a quadratic function where 'y = ax2 + bx + c'. The following quadratic bezier formulation is used:
    p(t) = (x(t), y(t)) = [(1-t)
    2 * p1] + [2 * (1-t) * t * pc] + [t^2 * p2].

    p1

    the starting point for the quad curve

    pc

    the control point for the quad curve

    p2

    the ending point for the quad curve

    straight

    whether the quad curve is straight (i.e., a line)

  15. case class Quad (vertex: Array[R2]) extends Double with Product with Serializable

    The Quad class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a quadrilateral given its vertices.

    The Quad class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a quadrilateral given its vertices.

    vertex

    the four corner points of the quadrilateral

  16. case class R2 (xx: Double, yy: Double) extends Double with Product with Serializable

    R2 is a convenience case class for Point2D.

  17. case class Rectangle () extends Double with Product with Serializable

    Rectangle is a convenience case class for Rectangle2D (a subclass of RectangularShape).

  18. case class RoundRectangle () extends Double with Product with Serializable

    RoundRectangle is a convenience case class for RoundRectangle2D (a subclass of RectangularShape).

  19. class ScrollPane extends JScrollPane

    ScrollPane is a convenience class for JScrollPane.

  20. class Table extends JTable

    Table is a convenience class for JTable.

  21. trait Transform extends AnyRef

    The Transform trait provides a simple technique for transforming (translation, scaling and rotation) rectangular shapes.

  22. case class Triangle (vertex: Array[R2]) extends Double with Product with Serializable

    The Triangle class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a triangle given its vertices.

    The Triangle class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a triangle given its vertices.

    vertex

    the three corner points of the triangle

  23. class VizFrame extends Frame

    The VizFrame class puts the canvas in the visualization/drawing frame.

Value Members

  1. object ArrowTest extends App

    The ArrowTest object is used to test the Arrow class.

  2. object Colors

    The Colors convenience object defines numerous common colors.

    The Colors convenience object defines numerous common colors. Source of colors:

    See also

    www.webmoments.com/colorchart.htm

  3. object ColorsTest extends App

    The ColorsTest object is used to test the Colors object.

  4. object Constants

    Useful constants.

  5. object PolygonTest extends App

    The PolygonTest object tests the Polygon, Triangle, Quad, Hexagon and Octagon classes.

  6. object QArrowTest extends App

    The QArrowTest object is used to test the QArrow class.

  7. object QCurve extends Serializable

    The QCurve companion object provides formulas used by the QCurve class.

  8. object QCurveTest extends App

    The QCurveTest object tests the QCurve classes' quad curves.

  9. object QCurveTest2 extends App

    The QCurveTest2 object tests traversal of QCurve's (quad curves).

  10. object Shapes

    The Shapes object Scala provides type aliases for basic Java2D types.

Inherited from AnyRef

Inherited from Any

Ungrouped