🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #409

Polygon Question...

#409
From: morley
Date: Tue, 21 Jul 1992 17:48
11 lines
835 bytes
Hi!

Ok, this should be an easy one...  Given 3 X,Y points that form a triangle,
what is the simplest (fastest) way to determine if they are clock-wise or
counter-clock-wise?  I'm not interested in general polygons of N points,
just plain old triangles.  Yes, this is for use in a graphics app.

Thanks...

MARK
morley@camins.camosun.bc.ca
Technical Details
Message-ID: <1992Jul21.094844.1@camins.camosun.bc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!mips!sdd.hp.com!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!news.UVic.CA!spang.Camosun.BC.CA!camins.camosun.bc.ca!morley

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!mips!sdd.hp.com!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!news.UVic.CA!spang.Camosun.BC.CA!camins.camosun.bc.ca!morley
From: morley@camins.camosun.bc.ca
Subject: Polygon Question...
Message-ID: <1992Jul21.094844.1@camins.camosun.bc.ca>
Lines: 12
Sender: news@spang.Camosun.BC.CA (Network News)
Nntp-Posting-Host: camins.camosun.bc.ca
Organization: Camosun College
Date: Tue, 21 Jul 1992 17:48:44 GMT