Logo Search packages:      
Sourcecode: wims version File versions

rene::zirkel::objects::FunctionObject Class Reference

Inheritance diagram for rene::zirkel::objects::FunctionObject:

List of all members.


Detailed Description

Author:
Rene
Function objects are parametric curves (or functions). Depending on a parameter t (can have another name), x(t) and y(t) are computed and drawn on the screen. If x(t)=t the object is a function.

Definition at line 134 of file FunctionObject.java.


Public Member Functions

void addConditional (String tag, Expression expr)
void addDepending (Expression E)
void addDepInExpressions (String s)
boolean canDisplayName ()
boolean canFix ()
boolean canInteresectWith (ConstructionObject o)
boolean canKeepClose ()
double changedBy ()
void checkConditionals () throws ConstructionException
void clearCircleDep ()
void clearConditionals ()
void clearParameter ()
int compare (SortObject o)
boolean contains (PointObject p)
ConstructionObject copy ()
Enumeration depending ()
boolean dependsOn (ConstructionObject o)
Enumeration depset (ConstructionObject o1, ConstructionObject o2, ConstructionObject o3)
Enumeration depset (ConstructionObject o1, ConstructionObject o2)
Enumeration depset (ConstructionObject o1)
void discardMV ()
boolean displays (ZirkelCanvas zc)
void drawCenteredLabel (MyGraphics g, String s, ZirkelCanvas zc, double x, double y, double xo, double yo)
void drawLabel (MyGraphics g, String s, ZirkelCanvas zc, double x, double y, double vx, double vy, double xo, double yo)
void drawLabel (MyGraphics g, String s)
void drawPointLabel (MyGraphics g, String s, ZirkelCanvas zc, double x, double y, double vx, double vy, double xo, double yo)
void edit (ZirkelCanvas zc)
boolean equals (double x, double y)
boolean equals (ConstructionObject o)
double evaluateF (double x) throws ConstructionException
double evaluateF (double x[]) throws ConstructionException
void finish (MyGraphics g, ZirkelCanvas zc)
 FunctionObject (Construction c)
String getAlias ()
PointObject getCenter ()
Color getColor ()
int getColorIndex ()
int getColorIndex (boolean original)
int getColorType ()
int getColorType (boolean original)
Expression getConditional (String tag)
Construction getConstruction ()
ConstructionObject[] getDepArray ()
String getDescription ()
String getDisplayText ()
String getDisplayValue ()
Color getElementColor ()
String getElementString ()
String getElementString (int state)
String getEquation ()
String getEX ()
String getEY ()
double getIntegral () throws ConstructionException
double getLength ()
int getN ()
String getName ()
int getNCount ()
boolean getObtuse ()
String getSizeDisplay ()
double getSum ()
String getTag ()
String getText ()
ConstructionObject getTranslation ()
int getType ()
String getUnit ()
double getValue (String var) throws ConstructionException
double getValue () throws ConstructionException
String getVar ()
MyVector getVector ()
double getZ () throws ConstructionException
boolean hasUnit ()
boolean haveConditional (String tag)
boolean haveConditionals ()
String helpDisplayNumber (boolean start, double x)
String helpDisplayValue (boolean start, double x, String tag)
boolean indicated ()
boolean isBack ()
boolean isBack (boolean original)
boolean isBold ()
boolean isBreak ()
boolean isBreakHide ()
boolean isFilled ()
boolean isFilledForSelect ()
boolean isFixed ()
boolean isFlag ()
boolean isGotNCount ()
boolean isHidden ()
boolean isHidden (boolean original)
boolean isHideBreak ()
boolean isInConstruction ()
boolean isJobTarget ()
boolean isKeep ()
boolean isKeepClose ()
boolean isLarge ()
boolean isMainParameter ()
boolean isParameter ()
boolean isRekFlag ()
boolean isSelectable ()
boolean isSolid ()
boolean isSolid (boolean original)
boolean isSpecial ()
boolean isSpecialParameter ()
boolean isStrongSelected ()
boolean isSuperHidden ()
boolean isSuperHidden (boolean original)
boolean isTarget ()
boolean labelSelected ()
void laterBind (Construction c)
void laterTranslate (Construction c)
boolean locallyLike (ConstructionObject o)
boolean maybeTransparent ()
boolean mustHide (ZirkelCanvas zc)
boolean nearto (int x, int y, boolean ignorefill, ZirkelCanvas zc)
boolean nearto (int cc, int rr, ZirkelCanvas zc)
boolean onlynearto (int x, int y, ZirkelCanvas zc)
void paint (MyGraphics g, ZirkelCanvas zc)
void printArgs (XmlWriter xml)
void printType (XmlWriter xml)
void project (PointObject P, double alpha)
void project (PointObject P)
String replaceExpressions (String s)
void round ()
double round (double x, double Rounder)
double round (double x)
double roundDisplay (double x)
void save (XmlWriter xml)
Enumeration secondaryParams ()
boolean selected ()
void setAlias (String s)
void setBack (boolean flag)
void setBold (boolean bold)
void setBreak (boolean flag)
void setBreakHide (boolean flag)
void setCenter (String s)
void setcOffset (double x, double y)
void setColor (int index)
void setColorType (int type)
void setConstruction (Construction c)
void setDefaults ()
void setExpressions (String t, String ex, String ey)
void setFilled (boolean flag)
void setFixed (String o)
void setFlag (boolean flag)
void setFont (MyGraphics g)
void setGotNCount (boolean gotNCount)
void setHidden (boolean flag)
void setHideBreak (boolean flag)
void setInConstruction (boolean flag)
void setIndicated (boolean f, boolean showname)
void setIndicated (boolean f)
void setJobTarget (boolean flag)
void setKeep (boolean flag)
void setKeepClose (boolean flag)
void setKeepClose (double x, double y)
void setLabelSelected (boolean flag)
void setLarge (boolean large)
void setMainParameter ()
void setName (String n)
void setName ()
void setNameCheck (String n) throws ConstructionException
void setNameWithNumber (String n)
void setNCount (int count)
void setObtuse (boolean flag)
void setOffset (int x, int y)
void setParameter ()
void setRange (String min, String max, String d)
void setRekFlag (boolean flag)
void setSelectable (boolean flag)
void setSelected (boolean flag)
void setShowName (boolean f)
void setShowValue (boolean f)
void setSolid (boolean solid)
void setSpecial (boolean f)
void setSpecialParameter (boolean flag)
void setStrongSelected (boolean flag)
void setSuperHidden (boolean flag)
void setTarget (boolean flag)
void setTargetDefaults ()
void setText (String s)
void setText (String s, boolean user)
void setTranslation (ConstructionObject t)
void setType (int type)
void setUnit (String s)
boolean showName ()
boolean showName (boolean original)
boolean showValue ()
boolean showValue (boolean original)
void snap (ZirkelCanvas zc)
boolean testConditional (String tag)
boolean textcontains (int x, int y, ZirkelCanvas zc)
void toggleHidden ()
void translate ()
void translateConditionals ()
String translateExpressions (String s)
void translateOffset (ZirkelCanvas zc)
void updateCircleDep ()
void updateText ()
boolean valid ()
void validate ()
boolean visible (ZirkelCanvas zc)
double xcOffset ()
double ycOffset ()

Static Public Member Functions

static PointObject getPointObject (Expression E)
static String text1 (String format, String s1)
static String text2 (String format, String s1, String s2)
static String text3 (String format, String s1, String s2, String s3)
static String text4 (String format, String s1, String s2, String s3, String s4)
static String textAny (String format, String ss[])

Public Attributes

boolean EditAborted
boolean Flag
boolean HasZ
boolean IsDrawn
boolean RekFlag
boolean RekValidating = false
int Scratch
boolean SpecialParameter = false
double Value = 1000
MyVector VRek

Static Public Attributes

static final int CIRCLE = 2
static final int CROSS = 4
static final int DCROSS = 5
static final int DescriptionState = 0
static final int DIAMOND = 1
static DepList DL = new DepList()
static final int DOT = 3
static final int FormulaState = 1
static final int INVISIBLE = 3
static final int NORMAL = 0
static final int SizeState = 2
static final int SQUARE = 0
static final int THICK = 1
static final int THIN = 2

Protected Attributes

boolean Back = false
boolean Bold = false
boolean Break = false
boolean BreakHide = false
Construction Cn
int ColorIndex = 0
int ColorType = 0
Vector Conditionals
boolean DisplaysText = false
boolean gotNCount = false
boolean Hidden = false
boolean HideBreak = false
boolean inConstruction
boolean Indicated = false
boolean JobTarget = false
boolean Keep = false
boolean KeepClose
boolean LabelSelected = false
boolean Large = false
boolean MainParameter
String Name = "Generic"
int NCount = 0
boolean Obtuse = true
boolean Parameter
boolean Selectable = true
boolean Selected = false
boolean ShowIndicatedName = false
boolean ShowName = false
boolean ShowValue = false
boolean Solid = false
boolean Special = false
boolean StrongSelected = false
boolean SuperHidden = false
boolean Target
String Text = "???"
ConstructionObject Translation
double TX1
double TX2
double TY1
double TY2
int Type = 0
String Unit = ""
boolean Valid = true
double XcOffset = 0.0
double YcOffset = 0.0

Static Protected Attributes

static int Count = 1

Package Attributes

ExpressionString AliasES = null
int C
double C1
double C2
Expression Center = null
Expression DVar = null
Expression EX = null
Expression EY = null
boolean Filled = false
int H
MyVector MV
boolean MVInUse = false
int OldColorIndex
PolygonFiller PF = null
int R
String Var [] = {"x"}
Expression VarMax = null
Expression VarMin = null
int W
double X [] = {0}

Static Package Attributes

static Count N = new Count()
static double x [] = new double[4]
static double y [] = new double[4]

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

Generated by  Doxygen 1.6.0   Back to index