diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-05-06 21:48:40 -0400 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-05-06 21:48:40 -0400 |
commit | f27edb06cae88115d1ee6c122a15ec750e8db5f0 (patch) | |
tree | e2ef6ab1263437244533f965187dd97f2612c5cb /src/us/minak/MetaCircle.java | |
parent | 5badea811573367bc80b2601209f0bea5c4bc2f8 (diff) | |
parent | 1abc4527631be867cb0da780b6a3de6d28aa1f12 (diff) |
Merge branch 'master' of https://github.com/AndrewMurrell/minak
Diffstat (limited to 'src/us/minak/MetaCircle.java')
-rw-r--r-- | src/us/minak/MetaCircle.java | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/us/minak/MetaCircle.java b/src/us/minak/MetaCircle.java deleted file mode 100644 index 908842a..0000000 --- a/src/us/minak/MetaCircle.java +++ /dev/null @@ -1,29 +0,0 @@ -package us.minak; - -/* - * Not sure if this should be drawable or what. - * - */ -public class MetaCircle { - public MetaExpression metaExpr; - public float x; - public float y; - public float radius; - public int color; - public boolean expanded; - public int expansion; //the level of expansion (if multiple circles are expanded, this decides precidence) - - MetaCircle(float x, float y, float radius, int color, MetaExpression metaExpr) { - this.metaExpr = metaExpr; - this.x = x; - this.y = y; - this.radius = radius; - this.color = color; - this.expanded = false; - this.expansion = 0; - } - - public boolean containsPoint(float x, float y) { - return Math.pow(x - this.x, 2) + Math.pow(y - this.y, 2) < Math.pow(this.radius, 2) ? true : false; - } -} |