Re: fixing sector not convex


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by Osan`gar on February 22, 1998 at 00:54:25:

In Reply to: Re: fixing sector not convex posted by Dino Delucchi on February 22, 1998 at 00:13:50:

> > after using the consistancy checker, it said that a secotr of my lvl wasnt convex. how do i fix this, by not being convex, i cannot acces this sector and move around in it....

> > this is something i NEED to know...

> > so if u know how to fix it, tell me please!

> > Thanks
> > PIG DOG

> This has happened to me and the least painful way I have found is to delete it,
> insert a new sector and cleave to suit the sectors around it. Of course, if
> the sector has a lot of cleaves in it, this can be quite daunting.

Ok, don't start deleting sectors yet. I am going to explain exactly what a convex and a concave sector is. First off, there are two things (at least) that can cause a sector not convex error. 1) The sector is not convex or 2) A surface in the sector is not convex. Now, what is a convex sector? A convex sector is one in which the interior area of all the angles of the polygon are in the interior of the polygon (does anyone actually remember Geometry class). Thus, a cocave sector is a sector in which the interior of one or more angles is in the exterior of the polygon formed by the angles. Ok, I know that is more or less technical, so I am going to provide examples below.

Convex:

******
* *
* * <----interior of angle is in the interior of the polygon
* *
********


Concave:

*********
* *
* * <----interior of the angle is in the exterior of the polygon
* *
*******

I hope this clears up the problem that some people have had determining what a convex and a concave sector/surface. I know the feeling. I just realized the other day what it meant by convex and concave. I was thinking about it and all of a sudden Geometry class came back to me and made a whole lot more sense. ;) All thanks to Jedi Knight. :) This problem can be corrected with some very simple cleaving or merging. You may have to get a little inventive, but now that you know what a convex sector/surface looks like, you'll know how to avoid creating the error. I hope this helped.


Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]