Logo Search packages:      
Sourcecode: carmetal version File versions

rene::zirkel::objects::IntersectionObject Class Reference

Inheritance diagram for rene::zirkel::objects::IntersectionObject:


List of all members.

Detailed Description

This is the parent class of various intersection objects. Intersections are points. Problems are multiple intersections and restrictions to keep one of them away or close to some other point. The most problematic intersections are between objects of type PointonObject.

In case of two possible intersection points, there is also the option to switch from one object to the other in automatic tracks. This allows to run through all possible states of a construction.


Definition at line 48 of file IntersectionObject.java.

Public Member Functions

void addConditional (String tag, Expression expr)
void addDepInExpressions (String s)
void autoAway ()
String away ()
boolean canAlternate ()
boolean canDisplayName ()
boolean canFix ()
boolean canKeepClose ()
double changedBy ()
void checkConditionals () throws ConstructionException
void clearBoundOrder ()
void clearChanges ()
void clearCircleDep ()
void clearConditional (String tag)
void clearConditionals ()
void clearParameter ()
int compare (SortObject o)
void computeBarycentricCoords ()
boolean contains (PointObject p)
ConstructionObject copy (double x, double y)
Enumeration depending ()
boolean dependsOn (ConstructionObject o)
boolean dependsOnItselfOnly ()
boolean dependsOnParametersOnly ()
Enumeration depset (ConstructionObject o1, ConstructionObject o2, ConstructionObject o3)
Enumeration depset (ConstructionObject o1, ConstructionObject o2)
Enumeration depset (ConstructionObject o1)
void discardMV ()
boolean displays (ZirkelCanvas zc)
double distanceTo (int x, int y, ZirkelCanvas zc)
void dontUpdate (boolean flag)
boolean dontUpdate ()
void doSwitch ()
void dragTo (double x, double y)
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)
boolean fixed ()
String getAlias ()
double getAlpha ()
PointObject getAway ()
ConstructionObject getBound ()
double getBoundOrder ()
Color getColor ()
int getColorIndex ()
int getColorIndex (boolean original)
int getColorType ()
int getColorType (boolean original)
Expression getConditional (String tag)
Construction getConstruction ()
ConstructionObject[] getDepArray ()
String getDescription ()
int getDisplaySize ()
String getDisplayText ()
String getDisplayValue ()
String getE ()
Color getElementColor ()
String getElementString ()
String getElementString (int state)
String getEquation ()
String getEX ()
String getEXpos ()
String getExpression ()
String getEY ()
String getEYpos ()
double getIncrement ()
String getLines ()
String getMax ()
String getMin ()
int getN ()
String getName ()
int getNCount ()
boolean getObtuse ()
double getOldX ()
double getOldY ()
String getPrompt ()
double getR ()
String getSizeDisplay ()
String getStringLength ()
String getTag ()
String getText ()
ConstructionObject getTranslation ()
int getType ()
String getUnit ()
double getValue () throws ConstructionException
MyVector getVector ()
double getX ()
double getY ()
double getZ () throws ConstructionException
boolean hasUnit ()
boolean haveBoundOrder ()
boolean haveConditional (String tag)
boolean haveConditionals ()
String helpDisplayNumber (boolean start, double x)
String helpDisplayValue (boolean start, double x, String tag)
boolean indicated ()
 IntersectionObject (Construction c, ConstructionObject p1, ConstructionObject p2)
boolean isAlternate ()
boolean isBack ()
boolean isBack (boolean original)
boolean isBold ()
boolean isBreak ()
boolean isBreakHide ()
boolean isDragable ()
boolean isDriverObject ()
boolean isFilled ()
boolean isFilledForSelect ()
boolean isFirst ()
boolean isFixed ()
boolean isFlag ()
boolean isGotNCount ()
boolean isHidden ()
boolean isHidden (boolean original)
boolean isHideBreak ()
boolean isInConstruction ()
boolean isInside ()
boolean isJobTarget ()
boolean isKeep ()
boolean isKeepClose ()
boolean isLarge ()
boolean isMainParameter ()
boolean isOn (ConstructionObject o)
boolean isParameter ()
boolean isPartial ()
boolean isPointOn ()
boolean isRekFlag ()
boolean isRestricted ()
boolean isSelectable ()
boolean isSlider ()
boolean isSolid ()
boolean isSolid (boolean original)
boolean isSpecialParameter ()
boolean isStrongSelected ()
boolean isSuperHidden ()
boolean isSuperHidden (boolean original)
boolean isSwitchable ()
boolean isSwitched ()
boolean isTarget ()
boolean labelSelected ()
void laterBind (Construction c)
void laterTranslate (Construction c)
boolean locallyLike (ConstructionObject o)
boolean maybeTransparent ()
void move (double x, double y)
boolean moveable ()
boolean moveableBy (ConstructionObject o)
boolean moveablePoint ()
void movedBy (ConstructionObject o)
boolean mustHide (ZirkelCanvas zc)
boolean nearto (int x, int y, boolean ignorefill, ZirkelCanvas zc)
boolean nearto (PointObject p)
boolean nearto (int x, int y, 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 (ConstructionObject o, double alpha)
void project (ConstructionObject o)
String replaceExpressions (String s)
double round (double x, double Rounder)
double round (double x)
void round ()
double roundDisplay (double x)
void save (XmlWriter xml)
Enumeration secondaryParams ()
boolean selected ()
void setA (double alpha)
void setAlias (String s)
void setAlpha (double alpha)
void setAlternate (boolean flag)
boolean setAway (String s)
boolean setAway (String s, boolean flag)
void setBack (boolean flag)
void setBold (boolean bold)
void setBound (ConstructionObject bound)
boolean setBound (String name)
void setBoundOrder (double boundorder)
void setBreak (boolean flag)
void setBreakHide (boolean flag)
void setcOffset (double x, double y)
void setColor (int index)
void setColorType (int type)
void setConstruction (Construction c)
void setDefaults ()
void setDisplaySize (int i)
void setDragable (boolean f)
void setExpression (String expr, Construction c) throws ConstructionException
void setFilled (boolean flag)
void setFirst (boolean flag)
void setFixed (boolean bool, String r) throws ConstructionException
void setFixed (String o)
void setFixed (String x, String y)
void setFixed (boolean flag)
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 setIncrement (double inc)
void setIndicated (boolean f, boolean showname)
void setIndicated (boolean f)
void setInside (boolean flag)
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 setLaterBind (String s)
void setLines (String o)
void setMainParameter ()
void setMoveable (boolean flag)
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 setPartial (boolean bool)
void setPrompt (String prompt)
void setRekFlag (boolean flag)
void setRestricted (boolean flag)
void setSelectable (boolean flag)
void setSelected (boolean flag)
void setShowName (boolean f)
void setShowValue (boolean f)
void setSlider (boolean bool)
void setSlider (String smin, String smax)
void setSolid (boolean solid)
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 setTracked (boolean flag)
void setTranslation (ConstructionObject t)
void setType (int type)
void setUnit (String s)
void setUseAlpha (boolean flag)
void setXY (double x, double y)
boolean showName ()
boolean showName (boolean original)
boolean showValue ()
boolean showValue (boolean original)
void snap (ZirkelCanvas zc)
boolean somethingChanged ()
void startDrag (double x, double y)
boolean stayAway ()
void switchBack ()
boolean testConditional (String tag)
boolean textcontains (int x, int y, ZirkelCanvas zc)
void toggleHidden ()
boolean tracked ()
void translate ()
void translateConditionals ()
String translateExpressions (String s)
void translateOffset (ZirkelCanvas zc)
void updateCircleDep ()
void updateText ()
boolean useAlpha ()
boolean valid ()
void validate (double x, double y)
void validate ()
boolean visible (ZirkelCanvas zc)
double xcOffset ()
double ycOffset ()

Static Public Member Functions

static double drawPoint (MyGraphics g, ZirkelCanvas zc, ConstructionObject o, double X, double Y, int type)
static PointObject getPointObject (Expression E)
static void setPointLabel (JPointName jpl)
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 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 int MaxType = 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

double Alpha
boolean AlphaValid = false
boolean Alternate
Expression Away
boolean Back = false
boolean BarycentricCoordsInitialzed = false
boolean Bold = false
boolean Break = false
boolean BreakHide = false
Color C = Color.black
Construction Cn
int ColorIndex = 0
int ColorType = 0
Vector Conditionals
boolean DisplaysText = false
Expression EX
Expression EY
boolean First
boolean Fixed
boolean gotNCount = false
double Gx = 0
double Gy = 0
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
boolean Moveable
ConstructionObject MovedBy
String Name = "Generic"
int NCount = 0
boolean Obtuse = true
ConstructionObject P1
ConstructionObject P2
boolean Parameter
boolean Restricted
boolean Selectable = true
boolean Selected = false
boolean ShowIndicatedName = false
boolean ShowName = false
boolean ShowValue = false
boolean Solid = false
boolean StayAway = true
boolean StrongSelected = false
boolean SuperHidden = false
boolean Switched
boolean Target
String Text = "???"
boolean Tracked = false
ConstructionObject Translation
double TX1
double TX2
double TY1
double TY2
int Type = 0
String Unit = ""
boolean UseAlpha = false
boolean Valid = true
double X
double XcOffset = 0.0
double Y
double YcOffset = 0.0

Static Protected Attributes

static int Count = 1

Package Functions

boolean autoAway (ConstructionObject o1, ConstructionObject o2)

Package Attributes

ExpressionString AliasES = null
MyVector MV
boolean MVInUse = false
int OldColorIndex

Static Package Attributes

static double x [] = new double[4]
static double y [] = new double[4]

Static Private Attributes

static Count N = new Count()

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

Generated by  Doxygen 1.6.0   Back to index