Jump to content

PIO poly point debugging


Recommended Posts

Got into trouble with my geometry again, but remembered an old debugging device:

n := GETVERTNUM(polyH); 
FOR i := 1 TO n DO BEGIN 
 	GETPOLYPT(polyH, i, x, y);
 	TEXTORIGIN(x, y);
	CREATETEXT(NUM2STR(0, i));
END;

Don't know much about geometry

Don't know much trigonometry

Don't know much about algebra

Don't know what a slide rule is for

but at least I can see clearly now where my calculations go wrong.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...