Skip to content

Instantly share code, notes, and snippets.

@DavidYKay
Created July 10, 2016 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidYKay/dfb2c0209bfcffc65b5c7d78f84c21b6 to your computer and use it in GitHub Desktop.
Save DavidYKay/dfb2c0209bfcffc65b5c7d78f84c21b6 to your computer and use it in GitHub Desktop.
Best fit plane: vertices, normal, centroid
[ 0.21040269, 0.2235437, 0.07060108]
[0.09769175,
0.17388567,
0.97990821,]
[[0.2231841,0.1503429,0.08131069],[0.2256216,0.1503089,0.08193749],[0.2276767,0.15062,0.08217859],[0.2296557,0.1516121,0.08181202],[0.236616,0.1549126,0.08077908],[0.2412959,0.1572198,0.08035129],[0.2432786,0.1585455,0.07999301],[0.2478919,0.1618624,0.07906336],[0.2505234,0.1641867,0.07848799],[0.2524902,0.1658469,0.07801682],[0.2574984,0.1694925,0.07743138],[0.2595496,0.1711507,0.07747591],[0.2627248,0.1734725,0.07811999],[0.2674151,0.178802,0.07751656],[0.2689726,0.1814669,0.07658637],[0.2734717,0.1868097,0.07681078],[0.2759293,0.1894879,0.07711011],[0.2776443,0.1925012,0.07704377],[0.2806224,0.1985205,0.07629216],[0.2822729,0.2018645,0.07585317],[0.2835472,0.2045857,0.07707483],[0.2847417,0.2112072,0.07407093],[0.28489,0.2141845,0.07292789],[0.2851707,0.2201197,0.07056677],[0.2851701,0.2227941,0.07045066],[0.2854587,0.2264591,0.07002437],[0.2849912,0.2333385,0.06727856],[0.2848642,0.2366339,0.06647229],[0.2835953,0.2438752,0.06484073],[0.2819743,0.2470971,0.06329101],[0.2804518,0.2503473,0.06224561],[0.276451,0.256178,0.0604381],[0.2738807,0.2593795,0.05913252],[0.2689612,0.264536,0.05771482],[0.2665134,0.26678,0.05705249],[0.2640298,0.268668,0.05617321],[0.2588618,0.2718384,0.05514663],[0.256439,0.2730851,0.05457717],[0.2527301,0.275003,0.05425],[0.2506645,0.2759293,0.05379367],[0.2486068,0.2765289,0.05338269],[0.2445965,0.2777919,0.05319822],[0.2425614,0.2780719,0.05290544],[0.2385384,0.2789886,0.05258614],[0.2365439,0.2792929,0.05253315],[0.2329045,0.2802438,0.05252284],[0.2312593,0.2805625,0.05257922],[0.228942,0.2805377,0.05256498],[0.2253393,0.2808552,0.05279952],[0.2233299,0.2808127,0.05259031],[0.2193129,0.2807242,0.05213928],[0.2173384,0.2807064,0.05216092],[0.214126,0.2807443,0.05282497],[0.2118766,0.280771,0.05329025],[0.2076909,0.2808142,0.05409843],[0.2056777,0.2801026,0.05377567],[0.2031036,0.279475,0.05430019],[0.1988696,0.2781599,0.05469078],[0.1966423,0.2778819,0.05538964],[0.1927571,0.27659,0.05596966],[0.1908553,0.2763143,0.05666983],[0.1872723,0.2746705,0.0569914],[0.1857353,0.2747679,0.05810976],[0.1818958,0.2735299,0.05924547],[0.1803315,0.2732745,0.06013793],[0.1784504,0.272703,0.06120074],[0.1747486,0.2716402,0.06418234],[0.1729334,0.2714888,0.06621277],[0.1692063,0.2700913,0.06926191],[0.1676502,0.2695376,0.07056576],[0.1648379,0.2680681,0.07287282],[0.1636364,0.267889,0.07465291],[0.1610934,0.2656848,0.07627708],[0.1601164,0.264369,0.07655007],[0.1588198,0.2627336,0.07701087],[0.1562543,0.2595011,0.07840616],[0.1552698,0.2575078,0.07856798],[0.1527289,0.2533067,0.08045977],[0.1520351,0.2505929,0.07990068],[0.1507386,0.245288,0.0803588],[0.1498232,0.2427128,0.08176434],[0.1489067,0.2377945,0.08314312],[0.1482973,0.2351819,0.08412719],[0.1476882,0.2302269,0.08508384],[0.1477048,0.2279041,0.08534843],[0.1477265,0.2252516,0.08570546],[0.1477606,0.2212723,0.08627003],[0.1477817,0.2189508,0.0866217],[0.1478263,0.2143071,0.08737165],[0.1478632,0.2119938,0.08802509],[0.1482656,0.2076918,0.08924669],[0.1495274,0.2033076,0.08782405],[0.150446,0.2015997,0.08633125],[0.152024,0.1978988,0.08477283],[0.153274,0.1958732,0.08338475],[0.1555245,0.1921952,0.08213806],[0.1584059,0.1885183,0.08047771],[0.1596671,0.1871787,0.07948512],[0.1609395,0.1858435,0.07869524],[0.1634826,0.183179,0.07717502],[0.1647549,0.1821794,0.07646221],[0.1679572,0.1795227,0.07506871],[0.1695855,0.1778686,0.07477415],[0.1728599,0.174891,0.07443053],[0.1744871,0.1735671,0.07413518],[0.1777418,0.1709205,0.07356697],[0.1797004,0.1699247,0.07329822],[0.1829801,0.1679354,0.07303315],[0.1849719,0.1666078,0.07313943],[0.1892084,0.1649445,0.07247162],[0.1945131,0.1626086,0.07258326],[0.1971358,0.1619373,0.07231373],[0.2025809,0.159249,0.07365078],[0.2052447,0.1585709,0.07370329],[0.2100408,0.1568676,0.07493567],[0.2124383,0.1561801,0.07549071],[0.2162093,0.1551456,0.07632565],[0.2172157,0.1551378,0.0763523],[0.2230107,0.1550799,0.07717097]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment