com.mancrd.ahah.model.circuit.driver
Class Triangle

java.lang.Object
  extended by com.mancrd.ahah.model.circuit.driver.Driver
      extended by com.mancrd.ahah.model.circuit.driver.Triangle

public class Triangle
extends Driver

Author:
timmolter

Field Summary
 
Fields inherited from class com.mancrd.ahah.model.circuit.driver.Driver
amplitude, dcOffset, frequency, id, phase
 
Constructor Summary
Triangle(String name, double dcOffset, double phase, double amplitude, double frequency)
          Constructor
 
Method Summary
 double getSignal(double time)
           
 
Methods inherited from class com.mancrd.ahah.model.circuit.driver.Driver
getAmplitude, getDcOffset, getFrequency, getId, getPhase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Triangle

public Triangle(String name,
                double dcOffset,
                double phase,
                double amplitude,
                double frequency)
Constructor

Parameters:
name -
dcOffset -
phase -
amplitude -
frequency -
Method Detail

getSignal

public double getSignal(double time)
Specified by:
getSignal in class Driver


Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.