38:
1695:
203:
234:
90:
2127:
2097:
2241:
2201:
1721:
for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with
1718:
2181:
1974:
1938:
1902:
2028:
1958:
1886:
1858:
1850:
1843:
1830:
1738:
1724:
56:
52:
48:
42:
1994:
1922:
1803:
1786:
2221:
101:
69:
1712:
2158:
2126:
2121:
2163:
2137:
2107:
1865:
1454:% draw the x-y plane (the intersection of the surface above and this plane is the contour of our set)
109:
210:
164:
1708:
2096:
2091:
60:
37:
96:
1737:
It is recommended to name the SVG file “Signed distance1.svg”—then the template
2191:
1742:
2231:
423:% the contour is a circle for type == 1 and something more complex otherwise
2211:
249:
240:
225:, without any conditions, unless such conditions are required by law.
2064:
Click on a date/time to view the file as it appeared at that time.
208:
I, the copyright holder of this work, release this work into the
233:
1903:
copyrighted, dedicated to the public domain by copyright holder
1685:% convert -append Set2.eps Function2.eps signed_distance2.png
1689:
197:
84:
217:
In some countries this may not be legally possible; if so:
2114:{{Information |Description= |Source= |Date= |Author= }}
1939:
released into the public domain by the copyright holder
1770:
Add a one-line explanation of what this file represents
128:
108:
Commons is a freely licensed media file repository.
74:(1,025 × 1,903 pixels, file size: 31 KB, MIME type:
1866:https://commons.wikimedia.org/user:Oleg_Alexandrov
89:
8:
2066:
1766:
1682:% then use the following to convert to png
221:I grant anyone the right to use this work
177:
2174:The following other wikis use this file:
1717:. This has several advantages; see
2156:
2042:
2026:
2008:
1992:
1972:
1956:
1936:
1920:
1900:
1884:
1817:
1801:
1784:
1781:
1762:
1755:
2154:The following 2 pages use this file:
1020:% calc the unsigned distance function
202:
7:
888:% a hack to make the box look bigger
678:% draw the region inside the contour
408:% the surfce determining the contour
2055:
1580:% angle of view (polar coordinates)
146:1 March 2007 (original upload date)
1775:
1769:
1700:
238:
121:
67:
1774:
1760:
1693:
1346:% figure(1); subplot(2, 1, 2);
681:% figure(1); subplot(2, 1, 1);
232:
201:
88:
31:
21:
1757:
239:This diagram was created with
14:
1756:
26:
1:
1975:original creation by uploader
588:%figure(1); subplot(2, 1, 1);
1782:Items portrayed in this file
2228:Usage on kab.wikipedia.org
2192:Función distancia con signo
2144:Made by myself with Matlab.
138:Made by myself with Matlab.
2260:
2238:Usage on ta.wikipedia.org
2218:Usage on ja.wikipedia.org
2208:Usage on fr.wikipedia.org
2198:Usage on fa.wikipedia.org
2188:Usage on es.wikipedia.org
2178:Usage on ar.wikipedia.org
1705:image could be re-created
1343:% draw the signed distance
2232:Tasɣent n umeccaq tuzmilt
2056:
1719:Commons:Media for cleanup
825:% get x and y of contours
214:. This applies worldwide.
154:
16:
2212:Fonction distance signée
2159:Signed distance function
1759:
1739:Vector version available
1725:vector version available
255:
95:This is a file from the
2143:
2113:
160:
150:
145:
142:
131:
99:. Information from its
2242:குறிசார் தொலைவு சார்பு
2164:User:JosefL123/sandbox
102:description page there
41:Size of this preview:
1559:% make nice lightning
2202:تابع فاصله علامتدار
2092:23:49, 30 April 2007
1745:) does not need the
579:% Z=f(X, Y) -surface
134:Signed distance1.png
61:1,025 × 1,903 pixels
2122:04:09, 1 March 2007
47:Other resolutions:
1844:Wikimedia username
1831:author name string
585:% find the contour
2170:Global file usage
2147:
1923:copyright license
1768:
1754:
1753:
1313:% signed distance
230:
229:
218:
196:
195:
170:
169:
117:
116:
97:Wikimedia Commons
32:Global file usage
2251:
2182:دالة مسافة متجهة
2134:
2104:
1887:copyright status
1868:
1863:
1853:
1848:
1838:
1835:
1732:
1697:
1696:
1690:
1686:
1683:
1680:
1677:
1674:
1671:
1668:
1665:
1664:'Function%d.eps'
1662:
1659:
1656:
1653:
1650:
1647:
1644:
1641:
1638:
1635:
1632:
1629:
1626:
1623:
1620:
1617:
1614:
1611:
1608:
1605:
1602:
1599:
1596:
1593:
1590:
1587:
1584:
1581:
1578:
1575:
1572:
1569:
1566:
1563:
1560:
1557:
1554:
1551:
1548:
1545:
1542:
1539:
1536:
1533:
1530:
1527:
1524:
1521:
1518:
1515:
1512:
1509:
1506:
1503:
1500:
1497:
1494:
1491:
1488:
1485:
1482:
1479:
1476:
1473:
1470:
1467:
1464:
1461:
1458:
1455:
1452:
1449:
1446:
1443:
1440:
1437:
1434:
1431:
1428:
1425:
1422:
1419:
1416:
1413:
1410:
1407:
1404:
1401:
1398:
1395:
1392:
1389:
1386:
1383:
1380:
1377:
1374:
1371:
1368:
1365:
1362:
1359:
1356:
1353:
1350:
1347:
1344:
1341:
1338:
1335:
1332:
1329:
1326:
1323:
1320:
1317:
1314:
1311:
1308:
1305:
1302:
1299:
1295:
1292:
1289:
1286:
1283:
1280:
1277:
1273:
1270:
1267:
1264:
1261:
1258:
1255:
1252:
1249:
1246:
1243:
1240:
1237:
1234:
1231:
1228:
1225:
1222:
1219:
1216:
1213:
1210:
1207:
1204:
1201:
1198:
1195:
1192:
1189:
1186:
1183:
1180:
1177:
1174:
1171:
1168:
1165:
1162:
1159:
1156:
1153:
1150:
1147:
1144:
1141:
1138:
1135:
1132:
1129:
1126:
1123:
1120:
1117:
1114:
1111:
1108:
1105:
1102:
1099:
1096:
1093:
1090:
1087:
1084:
1081:
1078:
1075:
1072:
1069:
1066:
1063:
1060:
1057:
1054:
1051:
1048:
1045:
1042:
1039:
1036:
1033:
1030:
1027:
1024:
1021:
1018:
1015:
1012:
1009:
1006:
1003:
1000:
997:
994:
991:
988:
985:
982:
979:
976:
973:
970:
967:
964:
961:
958:
955:
952:
949:
946:
943:
940:
937:
934:
931:
928:
925:
922:
919:
916:
913:
910:
907:
904:
901:
898:
895:
892:
889:
886:
883:
880:
877:
874:
871:
868:
865:
862:
859:
856:
853:
850:
847:
844:
841:
838:
835:
832:
829:
826:
823:
820:
817:
814:
811:
808:
805:
802:
799:
796:
793:
790:
787:
784:
781:
778:
775:
772:
769:
766:
763:
760:
757:
754:
751:
748:
745:
742:
739:
736:
733:
730:
727:
724:
721:
718:
715:
712:
709:
706:
703:
700:
697:
694:
691:
688:
685:
682:
679:
676:
673:
670:
667:
664:
661:
658:
655:
652:
649:
646:
643:
640:
637:
634:
631:
628:
625:
622:
619:
616:
613:
610:
607:
604:
601:
598:
595:
592:
589:
586:
583:
580:
577:
574:
571:
568:
565:
562:
559:
556:
553:
550:
547:
544:
541:
538:
535:
532:
529:
526:
523:
520:
517:
514:
511:
508:
505:
502:
499:
496:
493:
490:
487:
484:
481:
478:
475:
472:
469:
466:
463:
460:
457:
454:
451:
448:
445:
442:
439:
436:
433:
430:
427:
424:
421:
418:
415:
412:
409:
406:
403:
400:
397:
394:
391:
388:
385:
382:
379:
376:
373:
370:
367:
364:
361:
358:
355:
352:
349:
346:
343:
340:
337:
334:
331:
328:
325:
322:
319:
316:
313:
310:
307:
304:
301:
298:
295:
292:
289:
286:
283:
280:
277:
274:
271:
268:
265:
262:
259:
236:
216:
205:
204:
198:
192:
189:
186:
183:
178:
156:
135:
129:
113:
92:
91:
85:
79:
77:
64:
57:413 × 768 pixels
53:258 × 480 pixels
49:129 × 240 pixels
43:323 × 600 pixels
2259:
2258:
2254:
2253:
2252:
2250:
2249:
2248:
2168:
2148:
2140:
2139:Oleg Alexandrov
2132:
2110:
2109:Oleg Alexandrov
2102:
2058:
2057:
2054:
2053:
2052:
2051:
2050:
2049:
2048:
2047:
2045:
2035:
2034:
2033:
2031:
2020:
2019:
2018:
2017:
2016:
2015:
2014:
2013:
2011:
2001:
2000:
1999:
1997:
1986:
1985:
1984:
1983:
1982:
1981:
1980:
1979:
1977:
1965:
1964:
1963:
1961:
1950:
1949:
1948:
1947:
1946:
1945:
1944:
1943:
1941:
1929:
1928:
1927:
1925:
1914:
1913:
1912:
1911:
1910:
1909:
1908:
1907:
1905:
1893:
1892:
1891:
1889:
1878:
1877:
1876:
1875:
1874:
1873:
1872:
1871:
1870:
1869:
1864:
1861:
1855:
1854:
1851:Oleg Alexandrov
1849:
1846:
1840:
1839:
1837:Oleg Alexandrov
1836:
1833:
1824:
1823:
1822:
1820:
1810:
1809:
1808:
1806:
1795:
1794:
1793:
1792:
1791:
1789:
1773:
1772:
1771:
1750:
1722:
1709:vector graphics
1694:
1688:
1687:
1684:
1681:
1678:
1675:
1672:
1669:
1666:
1663:
1660:
1657:
1654:
1651:
1648:
1645:
1642:
1639:
1636:
1633:
1630:
1627:
1624:
1621:
1618:
1615:
1612:
1609:
1606:
1603:
1600:
1597:
1594:
1591:
1588:
1585:
1582:
1579:
1576:
1573:
1570:
1567:
1564:
1561:
1558:
1555:
1552:
1549:
1546:
1543:
1540:
1537:
1534:
1531:
1528:
1525:
1522:
1519:
1516:
1513:
1510:
1507:
1504:
1501:
1498:
1495:
1492:
1489:
1486:
1483:
1480:
1477:
1474:
1471:
1468:
1465:
1462:
1459:
1456:
1453:
1450:
1447:
1444:
1441:
1438:
1435:
1432:
1429:
1426:
1423:
1420:
1417:
1414:
1411:
1408:
1405:
1402:
1399:
1396:
1393:
1390:
1387:
1384:
1381:
1378:
1375:
1372:
1369:
1366:
1363:
1360:
1357:
1354:
1351:
1348:
1345:
1342:
1339:
1336:
1333:
1330:
1327:
1324:
1321:
1318:
1315:
1312:
1309:
1306:
1303:
1300:
1297:
1293:
1290:
1287:
1284:
1281:
1278:
1275:
1271:
1268:
1265:
1262:
1259:
1256:
1253:
1250:
1247:
1244:
1241:
1238:
1235:
1232:
1229:
1226:
1223:
1220:
1217:
1214:
1211:
1208:
1205:
1202:
1199:
1196:
1193:
1190:
1187:
1184:
1181:
1178:
1175:
1172:
1169:
1166:
1163:
1160:
1157:
1154:
1151:
1148:
1145:
1142:
1139:
1136:
1133:
1130:
1127:
1124:
1121:
1118:
1115:
1112:
1109:
1106:
1103:
1100:
1097:
1094:
1091:
1088:
1085:
1082:
1079:
1076:
1073:
1070:
1067:
1064:
1061:
1058:
1055:
1052:
1049:
1046:
1043:
1040:
1037:
1034:
1031:
1028:
1025:
1022:
1019:
1016:
1013:
1010:
1007:
1004:
1001:
998:
995:
992:
989:
986:
983:
980:
977:
974:
971:
968:
965:
962:
959:
956:
953:
950:
947:
944:
941:
938:
935:
932:
929:
926:
923:
920:
917:
914:
911:
908:
905:
902:
899:
896:
893:
890:
887:
885:% draw the shap
884:
881:
878:
875:
872:
869:
866:
863:
860:
857:
854:
851:
848:
845:
842:
839:
836:
833:
830:
827:
824:
821:
818:
815:
812:
809:
806:
803:
800:
797:
794:
791:
788:
785:
782:
779:
776:
773:
770:
767:
764:
761:
758:
755:
752:
749:
746:
743:
740:
737:
734:
731:
728:
725:
722:
719:
716:
713:
710:
707:
704:
701:
698:
695:
692:
689:
686:
683:
680:
677:
674:
671:
668:
665:
662:
659:
656:
653:
650:
647:
644:
641:
638:
635:
632:
629:
626:
623:
620:
617:
614:
611:
608:
605:
602:
599:
596:
593:
590:
587:
584:
581:
578:
575:
572:
569:
566:
563:
560:
557:
554:
551:
548:
545:
542:
539:
536:
533:
530:
527:
524:
521:
518:
515:
512:
509:
506:
503:
500:
497:
494:
491:
488:
485:
482:
479:
476:
473:
470:
467:
464:
461:
458:
455:
452:
449:
446:
443:
440:
437:
434:
431:
428:
425:
422:
419:
416:
413:
410:
407:
404:
401:
398:
395:
392:
389:
386:
383:
380:
377:
374:
371:
368:
365:
362:
359:
356:
353:
350:
347:
344:
341:
338:
335:
332:
329:
326:
323:
320:
317:
314:
311:
308:
305:
302:
299:
296:
293:
290:
287:
284:
281:
278:
275:
272:
269:
266:
263:
260:
257:
254:
245:
244:
223:for any purpose
190:
187:
184:
181:
176:
171:
165:Oleg Alexandrov
133:
126:
119:
118:
107:
106:
105:is shown below.
81:
75:
73:
66:
65:
46:
12:
11:
5:
2257:
2255:
2247:
2246:
2245:
2244:
2236:
2235:
2234:
2226:
2225:
2224:
2216:
2215:
2214:
2206:
2205:
2204:
2196:
2195:
2194:
2186:
2185:
2184:
2172:
2171:
2167:
2166:
2161:
2152:
2151:
2146:
2145:
2142:
2138:
2135:
2131:1,026 × 1,904
2129:
2124:
2119:
2116:
2115:
2112:
2108:
2105:
2101:1,025 × 1,903
2099:
2094:
2089:
2085:
2084:
2081:
2078:
2075:
2072:
2069:
2062:
2061:
2046:
2043:
2041:
2040:
2039:
2038:
2037:
2036:
2032:
2027:
2025:
2024:
2023:
2022:
2021:
2012:
2009:
2007:
2006:
2005:
2004:
2003:
2002:
1998:
1993:
1991:
1990:
1989:
1988:
1987:
1978:
1973:
1971:
1970:
1969:
1968:
1967:
1966:
1962:
1959:source of file
1957:
1955:
1954:
1953:
1952:
1951:
1942:
1937:
1935:
1934:
1933:
1932:
1931:
1930:
1926:
1921:
1919:
1918:
1917:
1916:
1915:
1906:
1901:
1899:
1898:
1897:
1896:
1895:
1894:
1890:
1885:
1883:
1882:
1881:
1880:
1879:
1857:
1856:
1842:
1841:
1829:
1828:
1827:
1826:
1825:
1821:
1818:
1816:
1815:
1814:
1813:
1812:
1811:
1807:
1802:
1800:
1799:
1798:
1797:
1796:
1790:
1785:
1783:
1780:
1779:
1778:
1777:
1776:
1765:
1764:
1761:
1758:
1752:
1751:
1747:new image name
1729:new image name
1698:
1583:% save to file
256:
253:
246:
231:
228:
227:
206:
194:
193:
175:
172:
168:
167:
162:
158:
157:
152:
148:
147:
144:
140:
139:
136:
127:
125:
122:
120:
115:
114:
93:
83:
82:
40:
36:
35:
34:
29:
24:
19:
13:
10:
9:
6:
4:
3:
2:
2256:
2243:
2240:
2239:
2237:
2233:
2230:
2229:
2227:
2223:
2220:
2219:
2217:
2213:
2210:
2209:
2207:
2203:
2200:
2199:
2197:
2193:
2190:
2189:
2187:
2183:
2180:
2179:
2177:
2176:
2175:
2169:
2165:
2162:
2160:
2157:
2155:
2149:
2141:
2136:
2130:
2128:
2125:
2123:
2120:
2118:
2117:
2111:
2106:
2100:
2098:
2095:
2093:
2090:
2087:
2086:
2082:
2079:
2076:
2073:
2070:
2068:
2067:
2065:
2059:
2030:
1996:
1976:
1960:
1940:
1924:
1904:
1888:
1867:
1860:
1852:
1845:
1832:
1805:
1788:
1748:
1744:
1740:
1736:
1735:
1730:
1726:
1720:
1716:
1714:
1710:
1704:
1699:
1692:
1691:
251:
248:Source code (
247:
242:
235:
226:
224:
219:
215:
213:
212:
211:public domain
207:
200:
199:
185:Public domain
182:Public domain
180:
179:
173:
166:
163:
159:
153:
149:
141:
137:
130:
123:
111:
104:
103:
98:
94:
87:
86:
80:
71:
70:Original file
62:
58:
54:
50:
44:
39:
33:
30:
28:
25:
23:
20:
18:
15:
2173:
2153:
2063:
2060:File history
2010:1 March 2007
1746:
1734:
1728:
1706:
1702:
267:% init stuff
222:
220:
209:
110:You can help
100:
68:
22:File history
1616:'Set%d.eps'
1529:'FaceAlpha'
1517:'EdgeColor'
1505:'FaceColor'
1442:'FaceAlpha'
1430:'EdgeColor'
1418:'FaceColor'
873:'EdgeColor'
663:'EdgeColor'
651:'linewidth'
132:Description
2150:File usage
2077:Dimensions
2029:media type
1819:some value
1749:parameter.
27:File usage
2074:Thumbnail
2071:Date/Time
2044:image/png
1995:inception
174:Licensing
76:image/png
2222:符号付き距離関数
1763:Captions
1550:lighting
1541:camlight
390:meshgrid
258:function
155:Own work
2133:(47 KB)
2103:(31 KB)
2088:current
2083:Comment
1804:creator
1787:depicts
1767:English
1658:sprintf
1610:sprintf
1008:'color'
960:'color'
612:contour
124:Summary
72:
1711:as an
1707:using
1676:'psc2'
1646:saveas
1634:figure
1628:'psc2'
1598:saveas
1586:figure
1523:'none'
1511:'blue'
1493:length
1481:length
1436:'none'
1349:figure
1164:length
1089:length
1062:length
879:'none'
684:figure
591:figure
507:height
489:height
456:height
438:height
250:MATLAB
241:MATLAB
237:
161:Author
151:Source
1701:This
1553:phong
1475:zeros
1424:'red'
1379:equal
1014:white
990:scale
978:scale
966:white
942:scale
927:scale
906:scale
891:white
714:equal
261:main
191:false
188:false
2080:User
1741:(or
1715:file
1703:math
1670:type
1622:type
1562:view
1544:left
1457:surf
1412:Dist
1394:surf
1385:axis
1376:axis
1367:hold
1337:Dist
1322:sign
1316:Dist
1257:sqrt
1239:Dist
1212:Dist
1041:1000
1023:Dist
972:plot
918:plot
897:0.99
834:fill
720:axis
711:axis
702:hold
558:1.78
528:1.78
486:else
429:type
411:type
312:sqrt
143:Date
17:File
1859:URL
1743:Vva
1713:SVG
1652:gcf
1604:gcf
1535:0.4
1502:)),
1388:off
1361:clf
1310:end
1307:end
1304:end
1301:));
1233:min
1149:for
1074:for
1047:for
1002:'*'
954:'*'
912:1.4
861:set
852:0.6
822:));
786:));
723:off
696:clf
672:256
639:set
603:clf
582:end
513:0.5
495:0.7
300:0.1
288:2.5
1862::
1847::
1834::
1731:}}
1723:{{
1679:);
1673:),
1643:);
1631:);
1625:),
1595:);
1574:22
1568:42
1499:YY
1490:),
1487:XX
1451:);
1370:on
1358:);
1334:.*
1291:y0
1269:x0
1260:((
1254:),
1209:);
1200:CY
1194:y0
1191:);
1182:CX
1176:x0
1170:CX
1146:);
1122:);
1095:YY
1068:XX
882:);
858:);
846:CY
840:CX
810::(
789:CY
774::(
753:CX
750:);
705:on
693:);
675:);
657:lw
636:);
600:);
570:.^
546:.*
540:.^
534:.*
477:.^
465:.^
432:==
426:if
405:);
402:YY
396:XX
372:):
357:YY
342:):
327:XX
324:);
306:ii
282:lw
264:()
59:|
55:|
51:|
45:.
1733:.
1727:|
1667:,
1661:(
1655:,
1649:(
1640:2
1637:(
1619:,
1613:(
1607:,
1601:(
1592:1
1589:(
1577:)
1571:,
1565:(
1556:;
1547:;
1538:)
1532:,
1526:,
1520:,
1514:,
1508:,
1496:(
1484:(
1478:(
1472:,
1469:Y
1466:,
1463:X
1460:(
1448:1
1445:,
1439:,
1433:,
1427:,
1421:,
1415:,
1409:,
1406:Y
1403:,
1400:X
1397:(
1391:;
1382:;
1373:;
1364:;
1355:2
1352:(
1340:;
1331:)
1328:Z
1325:(
1319:=
1298:2
1296:^
1294:)
1288:-
1285:y
1282:(
1279:+
1276:2
1274:^
1272:)
1266:-
1263:x
1251:j
1248:,
1245:i
1242:(
1236:(
1230:=
1227:)
1224:j
1221:,
1218:i
1215:(
1206:k
1203:(
1197:=
1188:k
1185:(
1179:=
1173:)
1167:(
1161::
1158:1
1155:=
1152:k
1143:j
1140:,
1137:i
1134:(
1131:Y
1128:=
1125:y
1119:j
1116:,
1113:i
1110:(
1107:X
1104:=
1101:x
1098:)
1092:(
1086::
1083:1
1080:=
1077:j
1071:)
1065:(
1059::
1056:1
1053:=
1050:i
1044:;
1038:+
1035:Z
1032:*
1029:0
1026:=
1017:)
1011:,
1005:,
999:,
996:M
993:*
987:,
984:M
981:*
975:(
969:)
963:,
957:,
951:,
948:M
945:*
939:-
936:,
933:M
930:*
924:-
921:(
915:;
909:=
903:;
900:*
894:=
876:,
870:,
867:H
864:(
855:*
849:,
843:,
837:(
831:=
828:H
819:1
816:+
813:l
807:2
804:,
801:2
798:(
795:C
792:=
783:1
780:+
777:l
771:2
768:,
765:1
762:(
759:C
756:=
747:1
744:,
741:2
738:(
735:C
732:=
729:l
726:;
717:;
708:;
699:;
690:1
687:(
669:/
666:,
660:,
654:,
648:,
645:H
642:(
633:,
630:Z
627:,
624:Y
621:,
618:X
615:(
609:=
606:;
597:1
594:(
576:;
573:2
567:Y
564:-
561:)
555:+
552:X
549:(
543:2
537:X
531:)
525:-
522:X
519:(
516:*
510:-
504:=
501:Z
498:;
492:=
483:;
480:2
474:Y
471:-
468:2
462:X
459:-
453:=
450:Z
447:;
444:2
441:=
435:1
420:;
417:1
414:=
399:,
393:(
387:=
384:;
381:M
378::
375:h
369:M
366:-
363:(
360:=
354:;
351:M
348::
345:h
339:M
336:-
333:(
330:=
321:1
318:-
315:(
309:=
303:;
297:=
294:h
291:;
285:=
279:;
276:3
273:=
270:M
252:)
243:.
112:.
78:)
63:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.