Class CircuitNode

java.lang.Object
org.episteme.natural.physics.classical.waves.electromagnetism.circuit.CircuitNode

public class CircuitNode extends Object
Represents a node (connection point) in an electrical circuit. Nodes are the points where circuit elements connect. Each node is assigned a voltage during simulation.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Whether this is an internal node (not an external terminal)
    Links to circuit elements connected to this node
    int
    X coordinate (for topological purposes, not physics)
    int
    Y coordinate (for topological purposes, not physics)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new circuit node at the origin.
    CircuitNode(int x, int y)
    Creates a new circuit node at the specified coordinates.
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public int x
      X coordinate (for topological purposes, not physics)
    • y

      public int y
      Y coordinate (for topological purposes, not physics)
    • internal

      public boolean internal
      Whether this is an internal node (not an external terminal)
  • Constructor Details

    • CircuitNode

      public CircuitNode()
      Creates a new circuit node at the origin.
    • CircuitNode

      public CircuitNode(int x, int y)
      Creates a new circuit node at the specified coordinates.
      Parameters:
      x - X coordinate
      y - Y coordinate