DiscussionsIssue archiveOther usage issues

Archived discussion

Wire with only overlapping edges.

Other usage issuesWed, 08/14/2002 - 01:171 reply

Browse this forum
QuestionAuthor

How can I determine if all the edges of a wire overlap, such that the wire encloses no area?

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Calculate the area with the following

double DCSSignedArea( CArray& cx,
// The X coordinates.
CArray& cy
// The Y coordinates.
)

{

double sum = 0;
// The signed area.
int nxtv;
// Counter.

for ( nxtv=0; nxtv