Results 1 to 1 of 1
  1. #1
    Join Date
    Feb 2013
    Posts
    7
    Rep Power
    0

    Default How To Check From Certain Points A Length For Contact That Doesn't Intersect & Pass ?

    How To Check From Certain Points A Length For Contact That Doesn't Intersect & Pass ?-vesica-piscis-two-more-events.gif
    The above is a visual demonstration of the first few steps I want to do.

    To explain, the first step is the radius or length being created.
    The second step is the length searching in all 2 dimensional directions from the two points (the left point and the right point of the length) for where it makes contact with another length's end.
    The third step is recognizing those points.
    The fourth step is searching in all 2 dimensional directions from the two points (the top and right point of the double triangle) for where it makes contact with another length's end.
    The fifth step is recognizing those points.
    The sixth is searching in all 2 dimensional directions from those FOUR points for where it makes contact with another length's end.

    Mathematically, how do I make a visual program in java that does this and continues the simulation? Any help would be greatly appreciated.

    For more info on why I want to do this, click http://calculatingexistence.webs.com...0existence.pdf

    I guess the code would look something like this;

    //frame 1
    Create line segment 1 of length 1.
    //frame 2
    From each of line segment 1's end points (location of endpoints recorded) create a circle (circle number recorded) of radius length 1.
    //frame 3
    Analyze where circles (that were just recorded) intersect and make lines from line segment 1's end points to the points where circles (that were just recorded) intersect (record location of new endpoints).
    //frame 4
    At points (that were just recorded) create circles (circle number recorded) of radius length 1.
    //frame 5
    Analyze where circles (that were just recorded) intersect and make lines from (record of new endpoints) to the points where circles (that were just recorded) intersect (record location of new endpoints).
    //frame 6
    At points (that were just recorded) create circles (circle number recorded) of radius length 1.
    Last edited by calculatingexistence; 02-07-2013 at 08:39 PM.

Similar Threads

  1. my command-line argument doesn't pass values!
    By niloufar in forum New To Java
    Replies: 17
    Last Post: 10-17-2012, 08:04 AM
  2. Replies: 1
    Last Post: 08-11-2011, 11:46 AM
  3. Replies: 2
    Last Post: 08-24-2008, 01:30 AM
  4. Using reflection to check array type and length
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-23-2008, 09:15 PM
  5. Using reflection to check array type and length
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-14-2008, 09:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •