class
FFillPolygonObj
: public
FMultiLineObj
(Return to index)
Type:
Instantiable
Base Classes:
public
FMultiLineObj
Derived Classes
Include file:
TopoFace/fgeomobjs.h
Public:
int
Bresenham
(int*& xpts, int*& ypts)
boolean
Contains
(
FPointObj
&)
FFillPolygonObj
(float* = nil, float* = nil, int = 0)
boolean
Intersects
(
FBoxObj
&)
boolean
Intersects
(
FLineObj
&)
double
PolygonArea
()
int
SortedBorders
(int*& ylocs, int*& xbegs, int*& xends, boolean*& xings)
virtual
~FFillPolygonObj
()
Protected:
void
Normalize
()
int
_normCount
for SortedBorders
float*
_normx, *_normy
int
_runcnt
number of sorted segments of horizontal perimeter
int*
_xbegs
beginning x of segment
int*
_xends
ending x of segment
boolean*
_xings
true if previous segment on different row from next
int*
_ylocs
y of segment
(more documentation)