flexcomposta.GraphCanvas Class Reference

Collaboration diagram for flexcomposta.GraphCanvas:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GraphCanvas ()
void setPoints (double[][] points)
void setData (double[][] data)
void setw (double w)
void setv (double v)
void setEixos (int i)
void paint (Graphics g)
void update (Graphics g)

Public Attributes

final Dimension panelsize = new Dimension(525,300)

Static Public Attributes

static final int FCO = 0
static final int FCNx = 1
static final int FCNy = 2

Private Member Functions

double xmax (double[][] data)
double xmin (double[][] data)
double ymax (double[][] data)
double ymin (double[][] data)
void drawCurve (Graphics2D g2)
void drawPoint (Graphics2D g2)
void drawXticks (Graphics2D g2, double max, double min, double spc)
void drawYticks (Graphics2D g2, double max, double min, double spc)
double findTickSpacing (double size, int ntick)

Private Attributes

double[][] data
double[][] points
double w
double v
double cfx
double cfy
int ticksize = 8
NumberFormat numFormat
int e


Detailed Description

Canvas que plota o gráfico do diagrama de interação.

Definition at line 11 of file GraphCanvas.java.


Constructor & Destructor Documentation

flexcomposta.GraphCanvas.GraphCanvas (  ) 


Member Function Documentation

void flexcomposta.GraphCanvas.setPoints ( double  points[][]  ) 

Estabelece conjunto de pontos que seãro plotados individualmente no gráfico.

Parameters:
points Array com a seguinte notação:
  • points[i][0] xi
  • points[i][1] yi

Definition at line 42 of file GraphCanvas.java.

Referenced by dimensionamento.DimPanel.setPar().

void flexcomposta.GraphCanvas.setData ( double  data[][]  ) 

Estabelece os pontos da curva.

Parameters:
data Pontos da curva.

Definition at line 49 of file GraphCanvas.java.

Referenced by flexcomposta.diagrama.DiagramaFCO.run(), and flexcomposta.diagrama.DiagramaFCN.run().

void flexcomposta.GraphCanvas.setw ( double  w  ) 

Estabelece o valor de w (taxa de armadura) da curva.

Definition at line 55 of file GraphCanvas.java.

Referenced by flexcomposta.diagrama.DiagramaFCO.run(), and flexcomposta.diagrama.DiagramaFCN.run().

void flexcomposta.GraphCanvas.setv ( double  v  ) 

Estabelece o valor da normal adimensionalizada para o caso de gráficos de FCO.

Definition at line 62 of file GraphCanvas.java.

Referenced by flexcomposta.diagrama.DiagramaFCO.run(), and dimensionamento.DimPanel.UpdateGraph().

void flexcomposta.GraphCanvas.setEixos ( int  i  ) 

Atualiza a variável e. Que é usada para descobrir qual caso de flexão ocorre:

  • FCO = 0
  • FCNx = 1
  • FCNy = 2

Definition at line 73 of file GraphCanvas.java.

Referenced by dimensionamento.CasosPanel.selectionChanged().

double flexcomposta.GraphCanvas.xmax ( double  data[][]  )  [private]

Definition at line 77 of file GraphCanvas.java.

References flexcomposta.GraphCanvas.e.

Referenced by flexcomposta.GraphCanvas.update().

double flexcomposta.GraphCanvas.xmin ( double  data[][]  )  [private]

Definition at line 88 of file GraphCanvas.java.

References flexcomposta.GraphCanvas.e.

Referenced by flexcomposta.GraphCanvas.update().

double flexcomposta.GraphCanvas.ymax ( double  data[][]  )  [private]

Definition at line 102 of file GraphCanvas.java.

References flexcomposta.GraphCanvas.e.

Referenced by flexcomposta.GraphCanvas.update().

double flexcomposta.GraphCanvas.ymin ( double  data[][]  )  [private]

Definition at line 113 of file GraphCanvas.java.

References flexcomposta.GraphCanvas.e.

Referenced by flexcomposta.GraphCanvas.update().

void flexcomposta.GraphCanvas.drawCurve ( Graphics2D  g2  )  [private]

void flexcomposta.GraphCanvas.drawPoint ( Graphics2D  g2  )  [private]

void flexcomposta.GraphCanvas.drawXticks ( Graphics2D  g2,
double  max,
double  min,
double  spc 
) [private]

void flexcomposta.GraphCanvas.drawYticks ( Graphics2D  g2,
double  max,
double  min,
double  spc 
) [private]

double flexcomposta.GraphCanvas.findTickSpacing ( double  size,
int  ntick 
) [private]

Definition at line 236 of file GraphCanvas.java.

Referenced by flexcomposta.GraphCanvas.update().

void flexcomposta.GraphCanvas.paint ( Graphics  g  ) 

Definition at line 252 of file GraphCanvas.java.

References flexcomposta.GraphCanvas.update().

Here is the call graph for this function:

void flexcomposta.GraphCanvas.update ( Graphics  g  ) 


Member Data Documentation

final int flexcomposta.GraphCanvas.FCO = 0 [static]

final int flexcomposta.GraphCanvas.FCNx = 1 [static]

Definition at line 14 of file GraphCanvas.java.

final int flexcomposta.GraphCanvas.FCNy = 2 [static]

Definition at line 15 of file GraphCanvas.java.

Referenced by flexcomposta.GraphCanvas.drawYticks().

final Dimension flexcomposta.GraphCanvas.panelsize = new Dimension(525,300)

Definition at line 16 of file GraphCanvas.java.

Referenced by flexcomposta.GraphCanvas.GraphCanvas().

double [][] flexcomposta.GraphCanvas.data [private]

double [][] flexcomposta.GraphCanvas.points [private]

double flexcomposta.GraphCanvas.w [private]

double flexcomposta.GraphCanvas.v [private]

Definition at line 21 of file GraphCanvas.java.

Referenced by flexcomposta.GraphCanvas.update().

double flexcomposta.GraphCanvas.cfx [private]

double flexcomposta.GraphCanvas.cfy [private]

NumberFormat flexcomposta.GraphCanvas.numFormat [private]


The documentation for this class was generated from the following file:

Generated on Tue Apr 29 13:28:34 2008 for Dimensionamento de Pilares by  doxygen 1.5.5