📄 tessproperty.ps
字号:
1154 3012 -0.1354(GLU_TESS_WINDING_POSITIVE)AN1 f2400(,)X2468(or)X3 f2583(GLU_TESS_WINDING_NEGATIVE)X1 f3874(,)X3943(or)X3 f1154 3108 -0.1481(GLU_TESS_WINDING_ABS_GEQ_TWO)AN1 f2626(.)X1154 3242(To)N1264(understand)X1637(how)X1796(the)X1915(winding)X2198(rule)X2344(works,)X2581(consider)X2874(that)X3015(the)X3135(input)X3321(contours)X3619(partition)X3912(the)X1154 3338(plane)N1358(into)X1512(regions.)X1798(The)X1953(winding)X2245(rule)X2400(determines)X2782(which)X3008(of)X3105(these)X3299(regions)X3564(are)X3692(inside)X3912(the)X1154 3434(polygon.)N1154 3568(For)N1288(a)X1347(single)X1561(contour)X1829(C,)X1925(the)X2046(winding)X2331(number)X2599(of)X2689(a)X2749(point)X2937(x)X3001(is)X3078(simply)X3319(the)X3441(signed)X3674(number)X3943(of)X1154 3664(revolutions)N1545(we)X1670(make)X1875(around)X2129(x)X2200(as)X2298(we)X2423(travel)X2637(once)X2820(around)X3074(C)X3158(\(where)X3413(CCW)X3626(is)X3710(positive\).)X1154 3760(When)N1367(there)X1549(are)X1669(several)X1918(contours,)X2235(the)X2354(individual)X2699(winding)X2982(numbers)X3279(are)X3399(summed.)X3712(This)X3876(pro-)X1154 3856(cedure)N1400(associates)X1752(a)X1819(signed)X2059(integer)X2313(value)X2518(with)X2690(each)X2868(point)X3062(x)X3132(in)X3224(the)X3352(plane.)X3576(Note)X3762(that)X3912(the)X1154 3952(winding)N1436(number)X1701(is)X1774(the)X1892(same)X2077(for)X2191(all)X2291(points)X2506(in)X2588(a)X2644(single)X2855(region.)X1154 4086(The)N1311(winding)X1605(rule)X1762(classi\256es)X2083(a)X2151(region)X2388(as)X2487("inside")X2776(if)X2857(its)X2964(winding)X3258(number)X3535(belongs)X3817(to)X3912(the)X1154 4182(chosen)N1398(category)X1696(\(odd,)X1884(nonzero,)X2184(positive,)X2478(negative,)X2791(or)X2879(absolute)X3167(value)X3362(of)X3450(at)X3529(least)X3697(two\).)X3885(The)X1154 4278(previous)N1454(GLU)X1644(tessellator)X1994(\(prior)X2202(to)X2289(GLU)X2479(1.2\))X2631(used)X2803(the)X2926("odd")X3137(rule.)X3307(The)X3457("nonzero")X3807(rule)X3957(is)X1154 4374(another)N1419(common)X1723(way)X1881(to)X1967(de\256ne)X2187(the)X2309(interior.)X2589(The)X2738(other)X2927(three)X3111(rules)X3290(are)X3412(useful)X3631(for)X3748(polygon)X1154 4470(CSG)N1329(operations.)X3 f554 4604(GLU_TESS_BOUNDARY_ONLY)N1 f1154 4700(Is)N1242(a)X1308(boolean)X1592(value)X1796(\("value")X2093(should)X2336(be)X2442(set)X2561(to)X2653(GL_TRUE)X3039(or)X3136(GL_FALSE\).)X3605(When)X3828(set)X3948(to)X1154 4796(GL_TRUE,)N1565(a)X1636(set)X1760(of)X1862(closed)X2102(contours)X2413(separating)X2778(the)X2911(polygon)X3207(interior)X3477(and)X3627(exterior)X3911(are)X1154 4892(returned)N1442(instead)X1689(of)X1776(a)X1832(tessellation.)X2232(Exterior)X2515(contours)X2811(are)X2930(oriented)X3214(CCW)X3417(with)X3580(respect)X3829(to)X3912(the)X1154 4988(normal;)N1483(interior)X1799(contours)X2155(are)X2334(oriented)X2677(CW.)X2906(The)X3 f3111(GLU_TESS_BEGIN)X1 f3894(and)X3 f1154 5084(GLU_TESS_BEGIN_DATA)N1 f2159(callbacks)X2493(use)X2635(the)X2768(type)X2941(GL_LINE_LOOP)X3555(for)X3684(each)X3867(con-)X1154 5180(tour.)N3 f554 5314(GLU_TESS_TOLERANCE)N1 f1154 5410(Speci\256es)N1465(a)X1523(tolerance)X1840(for)X1956(merging)X2245(features)X2522(to)X2606(reduce)X2843(the)X2963(size)X3110(of)X3199(the)X3319(output.)X3585(For)X3718(example,)X1154 5506(two)N1299(vertices)X1574(that)X1719(are)X1843(very)X2011(close)X2201(to)X2288(each)X2461(other)X2651(might)X2862(be)X2963(replaced)X3261(by)X3365(a)X3425(single)X3640(vertex.)X3885(The)X1154 5602(tolerance)N1484(is)X1572(multiplied)X1935(by)X2050(the)X2183(largest)X2432(coordinate)X2807(magnitude)X3181(of)X3284(any)X3436(input)X3636(vertex;)X3895(this)X1154 5698(speci\256es)N1451(the)X1570(maximum)X1915(distance)X2199(that)X2340(any)X2477(feature)X2722(can)X2854(move)X3052(as)X3139(the)X3257(result)X3455(of)X3542(a)X3598(single)X3809(merge)X1154 5794(operation.)N1507(If)X1591(a)X1657(single)X1878(feature)X2132(takes)X2327(part)X2482(in)X2574(several)X2832(merge)X3063(operations,)X3447(the)X3575(total)X3747(distance)X266 6144(Page)N442(1)X3577(July)X3730(22,)X3850(1997)X2 p%%Page: 2 210 s 0 xH 0 xS 1 f10 f0 96(h)N24(hhh)X4176(h)X4200(hhh)X9 s1 f266 480(G)N268(GL)X322(LU)X368(UT)X422(TE)X468(ES)X514(SS)X556(SP)X598(PR)X640(RO)X690(OP)X744(PE)X786(ER)X832(RT)X882(TY)X928(Y)X986(\()X988(\()X1024(\))X1026(\))X1885(U)X1887(UN)X1941(NI)X1995(IX)X2021(X)X2093(S)X2095(Sy)X2137(ys)X2175(st)X2205(te)X2227(em)X2261(m)X2337(V)X2339(V)X3226(G)X3228(GL)X3282(LU)X3328(UT)X3382(TE)X3428(ES)X3474(SS)X3516(SP)X3558(PR)X3600(RO)X3650(OP)X3704(PE)X3746(ER)X3792(RT)X3842(TY)X3888(Y)X3946(\()X3948(\()X3984(\))X3986(\))X10 s1154 864(moved)N1392(could)X1590(be)X1686(larger.)X1154 998(Feature)N1415(merging)X1702(is)X1775(completely)X2151(optional;)X2455(the)X2573(tolerance)X2888(is)X2961(only)X3123(a)X3179(hint.)X3363(The)X3508(implementation)X1154 1094(is)N1234(free)X1387(to)X1475(merge)X1702(in)X1790(some)X1985(cases)X2181(and)X2323(not)X2451(in)X2539(others,)X2781(or)X2874(to)X2962(never)X3167(merge)X3394(features)X3675(at)X3759(all.)X3885(The)X1154 1190(initial)N1360(tolerance)X1675(is)X1748(0.)X1154 1324(The)N1303(current)X1555(implementation)X2081(merges)X2338(vertices)X2613(only)X2780(if)X2854(they)X3017(are)X3141(exactly)X3398(coincident,)X3777(regard-)X1154 1420(less)N1298(of)X1388(the)X1509(current)X1760(tolerance.)X2098(A)X2179(vertex)X2403(is)X2479(spliced)X2729(into)X2876(an)X2975(edge)X3150(only)X3315(if)X3387(the)X3508(implementation)X1154 1516(is)N1229(unable)X1465(to)X1549(distinguish)X1921(which)X2139(side)X2290(of)X2379(the)X2499(edge)X2673(the)X2793(vertex)X3016(lies)X3149(on.)X3271(Two)X3441(edges)X3647(are)X3769(merged)X1154 1612(only)N1316(when)X1510(both)X1672(endpoints)X2003(are)X2122(identical.)X9 s266 1746(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 1842(gluGetTessProperty)N1 f266 6144(July)N419(22,)X539(1997)X3794(Page)X3970(2)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X2 p%%Trailerxtxs
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -