Interface Point

All Known Subinterfaces:
Node
All Known Implementing Classes:
Node2D, Node3D, Point2D, Point3D, Vector2D, Vector3D

public interface Point
Interface representing a point in 2D or 3D space determined by Cartesian coordinates.

Work in progress...

Rudimentary implementation, taylored to the current needs. Could be made more useful/powerful.
Author:
Christoph Hauert
  • Method Summary

    Modifier and Type
    Method
    Description
    shake(double quake)
    Randomly shake the position of this point by an amount scaled by quake.
  • Method Details

    • shake

      Point shake(double quake)
      Randomly shake the position of this point by an amount scaled by quake.
      Parameters:
      quake - the amount to shake the point
      Returns:
      this point to enable chains of manipulations