[interfacekit] Implementation help
- From: Isaac Yonemoto <ityonemo@xxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Sat, 9 Feb 2002 17:18:20 -0600 (CST)
Ok-- I have all of BList written except for the BList = operator.
Unlike BList(BList &), the = operator generates independent sets of
data. My quandary is that I don't know how to access sizeof() a void *
structure -- or, actually, figure out how much memory was allocated at a
given position. It's probably some standard C function, but I don't know
it, and I can't find it my C reference.
Secondly --
If anyone has any idea how to clean up rectangles in an efficient manner,
pleas help. I'm trying to generate a cleanup protocol for BRegion that is
not inelegant. My mathematician friend and I have been racking our brains
over this problem for a week, to no avail. Be's solution involved a
gazillion (undocumented) friend function calls.
As much as I despise object-amication, I've decided that that's the way to
go, but a satisfactory algorithm is still hard to decide. In particular,
it must be able to collapse
__________________
| | |
| |_______|
|__________|_| |
| | |
|____________|_____|
This sort of a rectangle into a single one, and other pathological
doohickies.
Finally--
Can someone point me to an *easy*, and complete CVS reference? I'd like
to submit my code. (BPolygon, BList, BReigon)
Thanks
Isaac
- Follow-Ups:
- [interfacekit] Damn CVS !
- From: Steve Vallée
- References:
- [interfacekit] Re: White Hat Hacking
- From: Cedric Degea
Other related posts:
- » [interfacekit] Implementation help
- [interfacekit] Damn CVS !
- From: Steve Vallée
- [interfacekit] Re: White Hat Hacking
- From: Cedric Degea