public class FPR extends Plottable
| Constructor and Description |
|---|
FPR(FProxy f)
Initialize function from proxy.
|
FPR(String name)
Create a parametric function.
|
FPR(String name,
int divU,
int divV)
Create a parametric function.
|
FPR(String title,
String name,
int divU,
int divV)
Create a parametric function.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDivU()
Get number of divisions for U
|
int |
getDivV()
Get number of divisions for V
|
Color |
getFillColor()
Get color used to fill.
|
Color |
getLineColor()
Get line color
|
String |
getName()
Get parametric equation.
|
int |
getPenWidth()
Get width of line
|
boolean |
isFilled()
Is area filled or not
|
void |
setDivisions(int U,
int V)
Set number of divisions for parameters.
|
void |
setFillColor(Color color)
Set color for fill
|
void |
setFilled(boolean isFilled)
Set filled area or not
|
void |
setLineColor(Color color)
Set color for lines
|
void |
setPenWidth(int penWidth)
Set width of lines
|
String |
toString()
Get this function as a string.
|
public FPR(String title, String name, int divU, int divV)
title - Title of the functionname - String representing parametric equation. Use "u" and "v"
(changes from 0 to 1).divU - number of divisions for variable UdivV - number of divisions for variable V;public FPR(FProxy f)
f - public FPR(String name, int divU, int divV)
name - String representing parametric equation. Use "u" and "v"
(changes from 0 to 1).divU - number of divisions for variable UdivV - number of divisions for variable V;public FPR(String name)
name - String representing parametric equation. Use "u" and "v"
(changes from 0 to 1).public void setLineColor(Color color)
color - line colorpublic void setFillColor(Color color)
color - fill colorpublic Color getFillColor()
public Color getLineColor()
public String getName()
public int getDivU()
public int getDivV()
public void setDivisions(int U,
int V)
U - for UV - for Vpublic void setPenWidth(int penWidth)
penWidth - widthpublic int getPenWidth()
public void setFilled(boolean isFilled)
isFilled - public boolean isFilled()
DMelt 2.0 © DataMelt by jWork.ORG