Click here to Skip to main content
12,063,278 members (65,052 online)

Algorithms

 
AnswerRe: How to determine the next x,y coordinate for a tank in a 2-D game... Pin
Matthew Butler18-Jun-08 12:41
memberMatthew Butler18-Jun-08 12:41 
GeneralRe: How to determine the next x,y coordinate for a tank in a 2-D game... Pin
Edmundisme18-Jun-08 13:01
memberEdmundisme18-Jun-08 13:01 
JokeRe: How to determine the next x,y coordinate for a tank in a 2-D game... Pin
CPallini18-Jun-08 22:19
mvpCPallini18-Jun-08 22:19 
QuestionPolyline offset algorithm Pin
beko16-Jun-08 22:59
memberbeko16-Jun-08 22:59 
AnswerRe: Polyline offset algorithm Pin
Alan Balkany17-Jun-08 5:07
memberAlan Balkany17-Jun-08 5:07 
GeneralRe: Polyline offset algorithm Pin
beko17-Jun-08 5:43
memberbeko17-Jun-08 5:43 
QuestionRe: Polyline offset algorithm Pin
CPallini17-Jun-08 8:03
mvp CPallini17-Jun-08 8:03 
AnswerRe: Polyline offset algorithm Pin
beko17-Jun-08 9:26
memberbeko17-Jun-08 9:26 
Hello,

At the end, it is a translation however it must be implemented with respect to the normals, as far as i read through if it is a parametric curve then it is rather complicated. If you like to see how much it can further get complicated, you can have a look at the link below.

http://timeguy.com/cradek-files/emc/liu2007_line_arc_offset.pdf[^]

for the test, i have just created a polyline with three points and used the algorithm from Eduardo in my earlier reply, and compared it with AutoCAD output Smile | :)

Best Regards.
GeneralRe: Polyline offset algorithm Pin
cp987617-Jun-08 13:10
membercp987617-Jun-08 13:10 
AnswerRe: Polyline offset algorithm Pin
Arash Partow18-Jun-08 2:22
memberArash Partow18-Jun-08 2:22 
GeneralRe: Polyline offset algorithm Pin
beko18-Jun-08 20:55
memberbeko18-Jun-08 20:55 
QuestionWhat's the period of (cos ax)(sin bx)? Pin
sherifffruitfly14-Jun-08 11:00
membersherifffruitfly14-Jun-08 11:00 
AnswerRe: What's the period of (cos ax)(sin bx)? Pin
cp987614-Jun-08 20:03
membercp987614-Jun-08 20:03 
AnswerRe: What's the period of (cos ax)(sin bx)? Pin
MarkBrock15-Jun-08 3:00
memberMarkBrock15-Jun-08 3:00 
AnswerRe: What's the period of (cos ax)(sin bx)? Pin
CPallini15-Jun-08 23:02
mvp CPallini15-Jun-08 23:02 
QuestionQuaternion to Euler Pin
Xmen 11-Jun-08 4:08
member Xmen 11-Jun-08 4:08 
AnswerRe: Quaternion to Euler Pin
cmk11-Jun-08 12:27
membercmk11-Jun-08 12:27 
GeneralRe: Quaternion to Euler Pin
Xmen 11-Jun-08 13:48
member Xmen 11-Jun-08 13:48 
AnswerRe: Quaternion to Euler Pin
Mark Churchill12-Jun-08 19:38
memberMark Churchill12-Jun-08 19:38 
QuestionGraphical Object drawing algorithms Pin
Monty29-Jun-08 3:59
memberMonty29-Jun-08 3:59 
AnswerRe: Graphical Object drawing algorithms Pin
73Zeppelin9-Jun-08 4:11
member 73Zeppelin9-Jun-08 4:11 
GeneralRe: Graphical Object drawing algorithms Pin
Monty29-Jun-08 4:24
memberMonty29-Jun-08 4:24 
GeneralRe: Graphical Object drawing algorithms Pin
73Zeppelin9-Jun-08 4:37
member 73Zeppelin9-Jun-08 4:37 
GeneralRe: Graphical Object drawing algorithms Pin
Tim Craig9-Jun-08 18:37
memberTim Craig9-Jun-08 18:37 
GeneralRe: Graphical Object drawing algorithms Pin
Monty29-Jun-08 22:02
memberMonty29-Jun-08 22:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.160204.4 | Last Updated 5 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid