|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.FPR
public class FPR
Class to build parametric functions using two independent variables, u and v. Both vary within 0 and 1. Use the HPlot3DP canvas for 3D plotting.
Constructor Summary | |
---|---|
FPR(java.lang.String name)
Create a parametric function. |
|
FPR(java.lang.String name,
int divU,
int divV)
Create a parametric function. |
|
FPR(java.lang.String title,
java.lang.String name,
int divU,
int divV)
Create a parametric function. |
Method Summary | |
---|---|
int |
getDivU()
Get number of divisions for U |
int |
getDivV()
Get number of divisions for V |
java.awt.Color |
getFillColor()
Get color used to fill. |
java.awt.Color |
getLineColor()
Get line color |
java.lang.String |
getName()
Get parametric equation. |
int |
getPenWidth()
Get width of line |
java.lang.String |
getTitle()
Get the title |
boolean |
isFilled()
Is area filled or not |
void |
setDivisions(int U,
int V)
Set number of divisions for parameters. |
void |
setFillColor(java.awt.Color color)
Set color for fill |
void |
setFilled(boolean isFilled)
Set filled area or not |
void |
setLineColor(java.awt.Color color)
Set color for lines |
void |
setPenWidth(int penWidth)
Set width of lines |
void |
setTitle(java.lang.String title)
Set a title |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FPR(java.lang.String title, java.lang.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(java.lang.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(java.lang.String name)
name
- String representing parametric equation.
Use "u" and "v" (changes from 0 to 1).Method Detail |
---|
public void setTitle(java.lang.String title)
title
- Titlepublic java.lang.String getTitle()
public void setLineColor(java.awt.Color color)
color
- line colorpublic void setFillColor(java.awt.Color color)
color
- fill colorpublic java.awt.Color getFillColor()
public java.awt.Color getLineColor()
public java.lang.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()
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |