A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Drawing of bissectrisa.

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    14

    Drawing of bissectrisa.

    How I can draw the blue line?
    Attached Images Attached Images

  2. #2
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    927
    if you have normals of A and B pointing to one direction, then blue line direction will be (n(A) + n(B))/2
    who is this? a word of friendly advice: FFS stop using AS2

  3. #3
    Junior Member
    Join Date
    Nov 2008
    Posts
    14
    Quote Originally Posted by realMakc View Post
    if you have normals of A and B pointing to one direction, then blue line direction will be (n(A) + n(B))/2
    How I can determine normals direction relative one another?

  4. #4
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    927
    On the 2nd thought, you can also do this with direction vectors themselves. Assuming you know some two points on A and B, you have d(A) = (A - O)/|A - O| and d(B) = (B - O)/|B - O|, then d(C) = (d(A) + d(B)) / |d(A) + d(B)|
    who is this? a word of friendly advice: FFS stop using AS2

  5. #5
    Junior Member
    Join Date
    Nov 2008
    Posts
    14
    Quote Originally Posted by realMakc View Post
    On the 2nd thought, you can also do this with direction vectors themselves. Assuming you know some two points on A and B, you have d(A) = (A - O)/|A - O| and d(B) = (B - O)/|B - O|, then d(C) = (d(A) + d(B)) / |d(A) + d(B)|
    I dont understand mean the d(C) - what is it?

  6. #6
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    927
    direction vector of line C
    who is this? a word of friendly advice: FFS stop using AS2

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center