Other usage issues Wed, 08/14/2002 - 01:17

Wire with only overlapping edges.

Author

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

Discussion

Commenter-1 Fri, 08/30/2002 - 00:45

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