2 Commits 5c54658a56 ... afbb7c7f82

Autore SHA1 Messaggio Data
  xzw afbb7c7f82 fix: 1 1 mese fa
  xzw 1936798a88 fix: 1 1 mese fa

public/lib/potree/resources/pathPoints.json → public/lib/potree/resources/path/363/pathPoints.json


public/lib/potree/resources/pathPointsNew.json → public/lib/potree/resources/path/363/pathPointsNew.json


+ 517 - 0
public/lib/potree/resources/path/370/pathPointsNew.json

@@ -0,0 +1,517 @@
+[[-45.57411457962,24.67367734152, 0.000000],
+[-45.57413269857881,24.67370567395373, -0.000047],
+[-45.57805649865689,24.697226883054114, 0.006957],
+[-45.57826627556166,24.688686362464114, 0.000405],
+[-45.5661863512979,24.608105497932772, 0.102302],
+[-45.60032073457456,24.57080118863796, 0.000405],
+[-45.48533807721739,24.51329025481303, 0.000405],
+[-45.3382713151245,24.453627126876032, -0.012436],
+[-44.18476089367619,24.005535065859473, 0.033995],
+[-44.17502680130158,23.998626995299038, -0.012436],
+[-44.17442424696135,23.998704767051507, -0.012436],
+[-43.53934690744309,23.61486254287411, -0.012436],
+[-43.91707214487084,22.79028165484783, -0.012436],
+[-44.00338322169511,22.63100481232637, -0.012436],
+[-44.652344471340506,21.582868914613243, -0.012436],
+[-45.2373095150642,20.435037884265295, -0.012436],
+[-45.747786594824845,19.27744980311027, -0.012436],
+[-46.112948138656336,18.066617777998392, -0.012436],
+[-46.43837350126924,16.812515147322753, -0.012436],
+[-46.652333054528285,15.554181678993189, -0.012436],
+[-46.84039949722845,14.300354018193495, -0.012436],
+[-46.91715865617966,13.035245604735627, -0.012436],
+[-46.93145277118736,11.721088465345703, -0.012436],
+[-46.82088794409258,10.423792153502376, -0.012436],
+[-46.68062877492318,9.128657934737248, -0.012436],
+[-46.51372449260745,7.860867281031759, -0.012436],
+[-46.26842391158264,6.584397167843385, -0.012436],
+[-45.89623937505575,5.393690427351796, -0.012436],
+[-45.434769088334846,4.136951126349405, -0.012436],
+[-44.84508019639374,2.9460660815678352, -0.012436],
+[-44.176118841414116,1.8329183673358145, -0.012436],
+[-43.477742590571324,0.7119887924030017, -0.012436],
+[-42.68681958137511,-0.31416591672983785, -0.012436],
+[-41.85666906025726,-1.3299662051866008, -0.012436],
+[-40.95774346906688,-2.3055903410059457, -0.012436],
+[-40.054826910516766,-3.2744193668463453, -0.012436],
+[-39.071786834555894,-4.199216155088841, -0.012436],
+[-37.98285111758368,-5.0162011690250345, -0.012436],
+[-36.866126457024,-5.743202389566381, -0.012436],
+[-35.72553773948265,-6.448636702926631, -0.012436],
+[-34.564900971175526,-7.080444132602867, -0.012436],
+[-33.337668990416454,-7.599996053793372, -0.012436],
+[-32.07173167458444,-8.030240900348762, -0.012436],
+[-30.787609209196294,-8.36126736955963, -0.012436],
+[-29.418917033560234,-8.6389090524569, -0.012436],
+[-28.065796370369462,-8.777839402321415, -0.012436],
+[-26.690399423860512,-8.901920965199434, -0.012436],
+[-25.31242670794986,-8.92592329580393, -0.012436],
+[-23.962892207943714,-8.935289810896666, -0.012436],
+[-22.678448088752226,-8.800355507167676, -0.012436],
+[-21.342956010330305,-8.648075796239073, -0.012436],
+[-20.031760217566728,-8.375452160806358, -0.012436],
+[-18.825705617516032,-7.9936462628789435, -0.012436],
+[-17.61279784895096,-7.434027468257074, -0.012436],
+[-16.439780790606008,-6.79574413189313, -0.012436],
+[-15.172355368026196,-6.158243450676849, -0.012436],
+[-14.030669739234831,-5.436326558598598, -0.012436],
+[-12.90185493285712,-4.694753881539047, -0.012436],
+[-11.82538662316594,-3.882084084655009, -0.012436],
+[-10.888742295538108,-2.8829349774281603, -0.012436],
+[-9.987919676450545,-1.885488807076186, -0.012436],
+[-9.144385122274755,-0.7793725727502689, -0.012436],
+[-8.377800461692544,0.3459075100624531, -0.012436],
+[-7.600125058499877,1.4554125053598987, -0.012436],
+[-6.910524420051232,2.559023327226658, -0.012436],
+[-6.286609677982106,3.778162885361553, -0.012436],
+[-5.603184209355852,4.975904735084281, -0.012436],
+[-5.138474890886442,6.234138746995484, -0.012436],
+[-4.721641039344441,7.528780757274188, -0.012436],
+[-4.489371293929665,8.866380270784939, -0.012436],
+[-4.30014253903564,10.15293178186037, -0.012436],
+[-4.238575092557589,11.497622326561862, -0.012436],
+[-4.309894184848119,12.84774940630296, -0.012436],
+[-4.407096509634492,14.327559397036515, -0.012436],
+[-4.546470218469025,15.73953760607277, -0.012436],
+[-4.861070761527543,17.031994205247507, -0.012436],
+[-5.211236115586161,18.399799278426, -0.012436],
+[-5.576894411135875,19.75708457979071, -0.012436],
+[-6.049488268572198,21.02707535472496, -0.012436],
+[-6.578011868761827,22.265684772331582, -0.012436],
+[-7.275002038144741,23.412682263161155, -0.012436],
+[-7.968439252533031,24.513467556306573, -0.012436],
+[-8.736532305919113,25.583429638310648, -0.012436],
+[-9.540819705460706,26.63927245471291, -0.012436],
+[-10.378972218185993,27.71161949080078, -0.012436],
+[-11.324391909431668,28.6409753248923, -0.012436],
+[-12.394992518386907,29.49683844780983, -0.012436],
+[-13.414406516853695,30.43395079445171, -0.012436],
+[-14.493642031468767,31.25643807287613, -0.012436],
+[-15.620203429823782,31.951790247493108, -0.012436],
+[-16.822954890439153,32.53122412067808, -0.012436],
+[-18.060496252127873,33.067894493266934, -0.012436],
+[-19.344272736278707,33.482592256430145, -0.012436],
+[-20.642526535057915,33.77034961606486, -0.012436],
+[-22.030295294196524,33.96393434244379, -0.012436],
+[-23.42905175524787,34.12775830996195, -0.012436],
+[-24.817011575781528,34.26839434885113, -0.012436],
+[-26.21888382809221,34.21502696703415, -0.012436],
+[-27.573478303580426,34.026184447595554, -0.012436],
+[-28.93892435673588,33.798145622377994, -0.012436],
+[-30.295295365438392,33.530882186111256, -0.012436],
+[-31.61292205971033,33.11237500239766, -0.012436],
+[-32.9115440167448,32.76795560212234, -0.012436],
+[-34.217975157202474,32.36088676653071, -0.012436],
+[-35.54549179491971,31.865942996507506, -0.012436],
+[-35.54756830539944,31.864093048067716, -0.012436],
+[-36.74793813472584,31.15081880917631, -0.012436],
+[-37.87709502622674,30.378047857662686, -0.012436],
+[-38.96225103542489,29.4835066898509, -0.012436],
+[-39.95740383598539,28.587534149617863, -0.012436],
+[-40.91801975699189,27.57847782046549, -0.012436],
+[-41.784909111925835,26.503945159355286, -0.012436],
+[-42.48340259757698,25.399767422251905, -0.012436],
+[-43.254484120774784,24.278903454535246, -0.012436],
+[-43.966457115983005,23.113266392180247, -0.012436],
+[-44.662891596937406,21.88714887785112, -0.012436],
+[-45.29233230494351,20.618624755018132, -0.012436],
+[-45.77870472410986,19.27296919915774, -0.012436],
+[-46.17768806604588,17.922428757679825, -0.012436],
+[-46.51764046028717,16.594093535406387, -0.012436],
+[-46.70169928177169,15.1953580364262, -0.012436],
+[-46.838816423644445,13.796251369714138, -0.012436],
+[-46.84336266747942,12.477627843150813, -0.012436],
+[-46.82289938618623,11.060878404107992, -0.012436],
+[-46.682249633010926,9.699371400969149, -0.012436],
+[-46.44622945664427,8.325964516919889, -0.012436],
+[-46.20688082670907,6.9591818817262805, -0.012436],
+[-45.81030360112019,5.66051404747445, -0.012436],
+[-45.26973297248253,4.354395867859903, -0.012436],
+[-44.67468073121276,3.0978641494508707, -0.012436],
+[-43.964237323835455,1.8755670061264311, -0.012436],
+[-43.157949219091215,0.7150003170537929, -0.012436],
+[-42.36417441105063,-0.46113192665611535, -0.012436],
+[-41.4709919266016,-1.5229501959980354, -0.012436],
+[-40.545419723434996,-2.516072986054784, -0.012436],
+[-39.53858221470364,-3.559843500358692, -0.012436],
+[-38.45571093831959,-4.427265100566007, -0.012436],
+[-37.34526944543935,-5.28493259639227, -0.012436],
+[-36.22253096323065,-6.039419450485596, -0.012436],
+[-34.978909760144546,-6.637655864311192, -0.012436],
+[-33.716027100226086,-7.223659435230115, -0.012436],
+[-32.41857184102683,-7.7407076069467315, -0.012436],
+[-31.097039227762476,-8.109077140298876, -0.012436],
+[-29.761183051907985,-8.378077059944456, -0.012436],
+[-28.3965541432558,-8.62884773255971, -0.012436],
+[-27.008759821360794,-8.77071682920155, -0.012436],
+[-25.607607277672955,-8.833416303354209, -0.012436],
+[-24.227971058385446,-8.821389215297987, -0.012436],
+[-22.85892488658851,-8.78763145701657, -0.012436],
+[-21.485201838951212,-8.592068375060972, -0.012436],
+[-20.17017437477069,-8.243799210221649, -0.012436],
+[-18.857333086635165,-7.757824708248467, -0.012436],
+[-17.538017912274704,-7.274135543171063, -0.012436],
+[-16.2397973454342,-6.676323951943818, -0.012436],
+[-15.026892323104185,-6.007017551750341, -0.012436],
+[-13.85220614534428,-5.3092953758262915, -0.012436],
+[-12.7126993296082,-4.536987204478219, -0.012436],
+[-11.662381629084464,-3.641995981871773, -0.012436],
+[-10.760900832987943,-2.652116419596325, -0.012436],
+[-9.875775270228857,-1.618883356094237, -0.012436],
+[-9.020127300988591,-0.5679294851981815, -0.012436],
+[-8.182107693334082,0.5103390115562725, -0.012436],
+[-7.36187743227395,1.6163590364090936, -0.012436],
+[-6.645544584720547,2.7443601382222838, -0.012436],
+[-5.992818405779843,3.8586685357586603, -0.012436],
+[-5.923225791712255,3.9557876895501956, -0.012436],
+[-5.923129295322234,3.956095259420021, -0.012436],
+[-5.922557593534016,3.9558526075581533, -0.012436],
+[-5.9224458510151905,3.955755101561742, -0.012436],
+[-5.922351629359106,3.955568248073, -0.012436],
+[-5.922596180309029,3.9554350741062407, -0.012436],
+[-5.705353246649494,3.9761689082588134, -0.012436],
+[-5.705847038973971,3.9796401388808533, -0.012436],
+[-5.034276253066217,3.5059583854848952, -0.012436],
+[-4.7956024774138655,3.350308010950389, -0.012436],
+[-3.878938672125045,2.5521917919931987, -0.012436],
+[-3.0221233172327686,1.7017012023313995, -0.012436],
+[-2.1246920956875073,0.906276565723271, -0.012436],
+[-1.2757819407743156,0.0012660965905020305, -0.012436],
+[-0.5036840522060473,-1.0223666388268136, -0.012436],
+[0.4599671894903281,-1.8602151901733457, -0.012436],
+[1.473588200654092,-2.6090012067140194, -0.012436],
+[2.3456393060787875,-3.183483026271716, -0.012436],
+[2.9007029219448555,-3.5972462407355863, 0.240164],
+[3.3685021718661687,-3.8793510717070845, 0.563521],
+[3.8173868602790932,-4.205292670934547, 0.907944],
+[4.270670724208912,-4.47689696585045, 1.250302],
+[4.76014115188665,-4.770888709792825, 1.584016],
+[5.211300007539876,-5.055403248306064, 1.912978],
+[5.639117325453277,-5.344029253163587, 2.241890],
+[6.141368155685356,-5.608143033576781, 2.587880],
+[7.045898460055888,-6.111809808646697, 2.726792],
+[8.15652465090244,-6.577873324619556, 2.727451],
+[9.359023109255418,-6.854319540387621, 2.728111],
+[10.055076611859164,-6.995212375201138, 3.046828],
+[10.545699004519662,-7.024219801027424, 3.377228],
+[10.542066380092365,-7.026156395470185, 3.377980],
+[11.101113416044008,-7.0571431296731255, 3.711340],
+[11.63428752438643,-7.077809235226251, 4.045210],
+[12.183179909314518,-7.019337227550711, 4.363917],
+[12.68738290517426,-6.975930178630609, 4.687589],
+[13.182975821792873,-6.879596439225608, 5.021888],
+[13.809223254189376,-6.825069813402919, 5.341578],
+[14.807100357632194,-7.173323809030137, 5.342237],
+[15.212431268264943,-8.348546716386696, 5.342897],
+[15.402397249647741,-9.636456643243246, 5.343557],
+[15.494452569311065,-10.960921706959756, 5.344217],
+[15.576354153768783,-12.269250990865931, 5.344217],
+[15.654543964162947,-13.607656071323202, 5.344217],
+[15.671828753865675,-14.976424831951551, 5.344217],
+[15.7216923730536,-16.31304430673384, 5.344217],
+[15.798016249160113,-17.667574714234338, 5.344217],
+[15.829752166082464,-19.04378413603828, 5.344217],
+[15.794995469975234,-20.430357744351117, 5.344217],
+[15.864409633498127,-21.780736135629564, 5.344217],
+[15.996938255920831,-23.151795103650844, 5.344217],
+[16.0357014093371,-24.53086173276574, 5.344217],
+[16.108680330516243,-25.88825349923614, 5.344217],
+[16.097371738635836,-27.26730718151089, 5.344217],
+[16.197763210149738,-28.63009184397877, 5.344217],
+[16.27961850074489,-29.99021494083164, 5.344217],
+[16.27576426260873,-31.360715521666837, 5.344217],
+[16.318493856761492,-32.765186701318996, 5.344217],
+[16.339337236627173,-34.14041247603656, 5.344217],
+[16.37975397787372,-35.53309689765817, 5.344217],
+[16.356732151902726,-36.91675158432477, 5.344217],
+[16.420388615437858,-38.23996021098304, 5.344217],
+[16.87546365468252,-38.99418727836985, 5.344217],
+[18.272595588405366,-39.07633680219031, 5.344217],
+[19.644119105867844,-39.004032907489076, 5.344217],
+[21.057029325990882,-39.02930107276332, 5.344217],
+[22.463953628996876,-39.077321589735405, 5.344217],
+[23.82842250907629,-39.016917683879186, 5.344217],
+[25.20322674118634,-38.914427144724584, 5.344217],
+[26.541530163002946,-38.845468080061934, 5.344217],
+[27.87595974688938,-38.739516565316464, 5.344217],
+[29.27386502131992,-38.68750835092719, 5.344217],
+[30.704682769750747,-38.655621047243486, 5.344217],
+[32.13105688720508,-38.67502119221807, 5.344217],
+[33.494399842797435,-38.66657740069418, 5.344217],
+[34.86810175781049,-38.72189144571489, 5.344217],
+[36.050101687726496,-38.648484467138985, 5.344217],
+[36.255760005301056,-37.50628713375316, 5.344217],
+[36.00941224047362,-36.15843576969402, 5.344217],
+[35.82419742367384,-34.81337401202181, 5.344217],
+[35.70876736675356,-33.42214203950144, 5.344217],
+[35.60322296145766,-32.01267572751297, 5.344217],
+[35.62070678004743,-30.64074541192176, 5.344217],
+[35.553912490241444,-29.24458186906561, 5.344217],
+[35.486761127205654,-27.87764341588392, 5.344217],
+[35.49100779259453,-26.483627325314597, 5.344217],
+[35.45044818620225,-25.10175383508957, 5.344217],
+[35.36670456179918,-23.70190855946154, 5.344217],
+[35.276893719335206,-22.299218613260226, 5.344217],
+[35.19931385844512,-20.876390349418276, 5.344217],
+[35.17527194321451,-19.45062774066246, 5.344217],
+[35.15987441407671,-18.029474763462847, 5.344217],
+[35.128129404365424,-16.636367690730605, 5.344217],
+[35.112353227386066,-15.212177550631136, 5.344217],
+[35.10908386734479,-13.798007857021442, 5.344217],
+[35.06737934681246,-12.38378657259489, 5.344217],
+[35.04056650151783,-10.989605162149221, 5.344217],
+[35.007514693278694,-9.567518757234122, 5.344217],
+[34.95167194241563,-8.151787560903305, 5.344217],
+[34.912133312393095,-6.758898084968436, 5.344217],
+[34.902501108651066,-5.314904489754348, 5.344217],
+[34.854152312277435,-3.8811147762696443, 5.344217],
+[34.85076079435983,-2.435616190221822, 5.344217],
+[34.85041047397664,-2.434254955398206, 5.344217],
+[34.83752807575412,-1.018705596931845, 5.344217],
+[34.12473192594466,-0.428983023048378, 5.344217],
+[32.70272549796607,-0.5188802139031772, 5.344217],
+[31.268482319525475,-0.6585985348675827, 5.344217],
+[29.830448036978495,-0.7111443556558434, 5.344217],
+[28.539952714634126,-0.6781657018920804, 5.344217],
+[28.11624961475175,0.5833682553041051, 5.344217],
+[28.119444407746684,1.9980335357392214, 5.344217],
+[27.625323792625068,2.8986480459169144, 5.344217],
+[26.248741830346177,2.9177454352937033, 5.344217],
+[24.83541647356084,2.697599991990412, 5.344217],
+[23.407413357949622,2.64646604741608, 5.344217],
+[21.986977101786508,2.616653417487232, 5.344217],
+[20.55557405512431,2.5715939135163275, 5.344217],
+[19.158130362965395,2.5512900443020676, 5.344217],
+[17.741706274488322,2.5733500242695584, 5.344217],
+[16.41667805913047,2.632985558081735, 5.344217],
+[15.32210883366485,2.5371227635990827, 5.344217],
+[15.055435217074475,1.4324514174911158, 5.344217],
+[15.319290691625042,0.04977801722694508, 5.344217],
+[15.453035511529869,-1.33597337202783, 5.344217],
+[15.431671900174265,-2.7084741654119817, 5.344217],
+[15.514262647351401,-4.090593616637602, 5.344217],
+[15.54751281982206,-5.498362902095472, 5.344217],
+[15.56617142825585,-6.911974232072087, 5.344217],
+[15.61826726393231,-8.329759498306931, 5.344217],
+[15.625756502232107,-9.70103277287345, 5.344217],
+[15.598289807190547,-11.0915224317711, 5.344217],
+[15.61325240293612,-12.522578856453446, 5.344217],
+[15.645053185555945,-13.979820310630583, 5.344217],
+[15.66353721953562,-15.39809377669756, 5.344217],
+[15.677157453797015,-16.770839294582192, 5.344217],
+[15.629838685290913,-18.224413686898234, 5.344217],
+[15.609028691827078,-19.68334229390668, 5.344217],
+[15.64682202172881,-21.15071530885179, 5.344217],
+[15.660860669209505,-22.593501379668137, 5.344217],
+[15.699362081810968,-24.052155232675684, 5.344217],
+[15.711584892468629,-25.495766228623207, 5.344217],
+[15.699447235873095,-26.94904391859382, 5.344217],
+[15.711650039445033,-28.401339402736877, 5.344217],
+[15.739867974185046,-29.827515483239228, 5.344217],
+[15.714940015961211,-31.279273400436015, 5.344217],
+[15.789161681118898,-32.72290117103911, 5.344217],
+[15.751970713674957,-34.202955621325856, 5.344217],
+[15.724680921164612,-35.61589626990596, 5.344217],
+[15.709221913340023,-37.03690987241356, 5.344217],
+[15.678297198175898,-38.44621035927865, 5.344217],
+[15.996033221872125,-39.12257932052721, 5.344217],
+[17.389298773432536,-39.16938387489097, 5.344217],
+[18.75554206874679,-39.16838988290746, 5.344217],
+[20.18743526565291,-39.128208720719186, 5.344217],
+[21.642334127820774,-39.073343447215635, 5.344217],
+[23.074397129737306,-39.02742634836578, 5.344217],
+[24.48756022953961,-39.008033890279876, 5.344217],
+[25.95504877613449,-38.95412206546507, 5.344217],
+[27.426256632851647,-38.98005939803275, 5.344217],
+[28.871378533758858,-39.00224852405198, 5.344217],
+[30.334626748351226,-39.0394386161677, 5.344217],
+[31.802518358619466,-39.07223601750887, 5.344217],
+[33.22589222466867,-39.077337980136676, 5.344217],
+[34.69442542571224,-39.170808712465345, 5.344217],
+[35.443478170465326,-38.65830041023787, 5.344217],
+[35.44785961047256,-37.2724982210553, 5.344217],
+[35.37867347004202,-35.906564896000376, 5.344217],
+[35.3833248324473,-34.75917413737092, 5.344217],
+[35.36580532997125,-33.93495592614059, 5.344217],
+[35.38361992524595,-33.81959322884998, 5.344217],
+[35.358616783463475,-33.133697532329506, 5.344217],
+[35.401275458133355,-32.82268508554762, 5.344217],
+[34.63330164464617,-31.731653964465988, 5.344217],
+[33.74201648559119,-30.612414797139433, 5.344217],
+[32.85855451109846,-29.49121650454835, 5.344217],
+[32.04184344469036,-28.338886772162052, 5.344217],
+[31.283949092747335,-27.25133766438012, 5.344217],
+[30.49216460097084,-26.159366820834354, 5.344217],
+[29.692230589655765,-25.107172125241508, 5.344217],
+[29.127694832954674,-23.85979834711218, 5.344217],
+[28.661622226906303,-22.640017214245628, 5.344217],
+[28.0185507291702,-21.463616057128117, 5.344217],
+[27.586589175302635,-20.230716002097726, 5.344217],
+[27.238587474553682,-19.033339942434058, 5.344217],
+[26.845403715677136,-17.862622085543986, 5.344217],
+[26.432879193707564,-16.65999109662484, 5.344217],
+[26.060250655849643,-15.453489932182944, 5.344217],
+[25.821218107127194,-14.21505262516968, 5.344217],
+[25.703846641165768,-12.924842811829318, 5.344217],
+[25.797555927618234,-11.638736203083209, 5.344217],
+[25.82351440531977,-10.38908082783551, 5.344217],
+[25.80969718332065,-9.143254694952493, 5.344217],
+[25.748827340417932,-7.975565368413125, 5.344217],
+[25.646127339496786,-6.745600317550132, 5.344217],
+[25.67946617453552,-5.553246099537322, 5.344217],
+[25.774234724524817,-4.280418091572368, 5.344217],
+[25.88873028653697,-3.039630574821711, 5.344217],
+[25.95707031693044,-1.785508463150009, 5.344217],
+[26.12184756673676,-0.5611803466068359, 5.344217],
+[26.290272626173333,0.6912307010744101, 5.344217],
+[26.32378564757157,1.9466452827253562, 5.344217],
+[26.398738460483727,3.2030822609557426, 5.344217],
+[26.40297120518126,4.484129972641703, 5.344217],
+[26.652630307528113,5.636461145597792, 5.344217],
+[27.807324622851368,6.179536717357507, 5.344217],
+[29.192344693468627,6.051039019349098, 5.344217],
+[30.555720089699292,5.890580441318878, 5.344217],
+[31.908818368131904,5.719457694878852, 5.344217],
+[33.07626437137739,5.548089618296366, 5.344217],
+[33.49564894379539,6.218926125856921, 5.344217],
+[33.54160024734824,7.530173121589737, 5.344217],
+[33.64538272994453,8.854775973144257, 5.344217],
+[33.738874208113444,10.20397678850768, 5.344217],
+[33.82683075468944,11.180016221631242, 5.344217],
+[33.102537928079926,11.272195923901677, 5.344217],
+[31.97366836303226,11.234888679090844, 5.344217],
+[30.713871996947134,11.270490241506542, 5.344217],
+[29.769370048136963,10.531006662525904, 5.344217],
+[29.448955217926482,9.268656456536734, 5.344217],
+[29.080817699347904,8.002768610537384, 5.344217],
+[28.351118862370726,6.988057787466236, 5.344217],
+[27.202049554684194,6.404385110675243, 5.344217],
+[25.910310633870935,6.628822841786551, 5.344217],
+[25.056780788403003,7.606388715380334, 5.344217],
+[24.521326263754432,8.757082371340557, 5.344217],
+[23.89687508987359,9.87594620716012, 5.344217],
+[22.9335339818266,10.743106373926409, 5.344217],
+[21.781945671807676,11.423731124350143, 5.344217],
+[20.65924920339701,11.518415614376694, 5.344217],
+[20.250730556873307,10.610480579415754, 5.344217],
+[21.25329205351666,9.848342314677371, 5.344217],
+[22.496065644641348,9.415909767751511, 5.344217],
+[22.499331307433437,9.414497498996516, 5.344217],
+[23.403950030393318,8.512145925407392, 5.344217],
+[22.96106267103177,7.246579667610394, 5.344217],
+[21.7453252422888,6.529195371332257, 5.344217],
+[20.3870116403792,6.1704950259324285, 5.344217],
+[19.02817953781195,6.515564748804945, 5.344217],
+[18.31434691245822,7.69744472097749, 5.344217],
+[18.234685502762026,8.998957527868875, 5.344217],
+[18.49207862038854,10.25717119324216, 5.344217],
+[19.513383621823465,10.951823465249014, 5.344217],
+[20.524594682245947,10.287913120136867, 5.344217],
+[20.137046612688053,9.096750254398128, 5.344217],
+[19.732217776416803,8.006074376366275, 5.344217],
+[20.6899601837151,7.163355641235963, 5.344217],
+[22.06039632731587,7.347261151412919, 5.344217],
+[23.437246368534304,7.605146290022134, 5.344217],
+[24.755964054275438,7.424199191593296, 5.344217],
+[25.903056234436917,6.979856233283975, 5.344217],
+[26.548130241701614,5.859279560926222, 5.344217],
+[26.68756935409958,4.479225389061405, 5.344217],
+[26.515388078968428,3.059896680970091, 5.344217],
+[25.849916617946178,1.795050038867121, 5.344217],
+[25.256139919302555,0.5421858245301436, 5.344217],
+[24.681261926656433,-0.7800103006552632, 5.344217],
+[24.109964807827694,-2.1222535161109413, 5.344217],
+[23.59381196866967,-3.4451164494360107, 5.344217],
+[22.98888505665343,-4.783746654635337, 5.344217],
+[22.33758433141699,-6.103530937912485, 5.344217],
+[21.609346129601676,-7.344786703680985, 5.344217],
+[20.843254730076808,-8.5732284928992, 5.344217],
+[20.249604587655767,-9.884155190943932, 5.344217],
+[19.756660449416913,-11.231450813220437, 5.344217],
+[19.467077733010086,-12.636528883287706, 5.344217],
+[19.146159343330638,-14.042177387353693, 5.344217],
+[18.90413506731265,-15.328149908859057, 5.344217],
+[19.46105649971254,-16.51709043620576, 5.344217],
+[20.459292947658454,-17.458770499627224, 5.344217],
+[21.613302250046203,-18.28806793352945, 5.344217],
+[22.75605231543811,-19.06859849462401, 5.344217],
+[23.84047678563114,-20.01530996475027, 5.344217],
+[24.872690044101162,-21.0155890490521, 5.344217],
+[25.922665711911108,-21.975781273531798, 5.344217],
+[26.738243955723973,-23.08907209244688, 5.344217],
+[26.657429086410843,-24.502109198304158, 5.344217],
+[25.604378373008146,-25.524196032074304, 5.344217],
+[24.390528138071375,-25.13869838664088, 5.344217],
+[24.446824447432988,-23.627356420246056, 5.344217],
+[24.44634274726488,-23.624783732932716, 5.344217],
+[25.359058166586976,-22.427355060187853, 5.344217],
+[26.43323312264009,-21.47741113894116, 5.344217],
+[27.390061583368507,-20.560057489325455, 5.344217],
+[27.214426147641504,-19.144496016106974, 5.344217],
+[26.60544981564611,-17.7794736332029, 5.344217],
+[25.667731504020978,-16.597490662490305, 5.344217],
+[25.024283845231977,-15.257883634562436, 5.344217],
+[24.916220724200883,-13.730132296616457, 5.344217],
+[25.053324781875176,-12.230715058458212, 5.344217],
+[25.146245234951365,-10.746643120601359, 5.344217],
+[25.379480823804585,-9.251095443806154, 5.344217],
+[25.64537648917951,-7.841260869686597, 5.344217],
+[25.845205870902518,-6.390624721358822, 5.344217],
+[25.94967927632736,-4.938038491277769, 5.344217],
+[26.222440787425214,-3.506720950499222, 5.344217],
+[26.431434549548797,-2.047215256558399, 5.344217],
+[26.566903908132588,-0.5714785490143015, 5.344217],
+[26.79818267037176,0.8893351390881143, 5.344217],
+[27.064687587432218,2.2890682148027146, 5.344217],
+[27.464188564520796,3.6218146985185165, 5.344217],
+[27.686165048598696,4.952631492669749, 5.344217],
+[27.839612540378965,6.326928299604276, 5.344217],
+[27.971950279499126,7.672651111677396, 5.344217],
+[28.173314763686406,8.986806816931834, 5.344217],
+[28.173783343920206,8.988803917546171, 5.344217],
+[28.974690809937215,10.096346421371619, 5.344217],
+[30.3484070437827,10.446707835846887, 5.344217],
+[31.7570176147279,10.63826893666717, 5.344217],
+[33.13413159707038,10.78968187523921, 5.344217],
+[34.508297472795675,10.716609205567455, 5.344217],
+[35.833229378182466,10.50010322223459, 5.344217],
+[37.18838179481051,10.207276211776193, 5.344217],
+[38.56108751532214,9.95542721014002, 5.344217],
+[39.93672840201765,9.766764955217221, 5.344217],
+[41.33743546575484,9.545613925720758, 5.344217],
+[42.7578145268663,9.303667184312514, 5.344217],
+[44.156221701165194,9.128337738160717, 5.344217],
+[45.571480999014994,8.936572413846793, 5.344217],
+[46.978528650659186,8.79750204450014, 5.344217],
+[48.42798959048332,8.649050570301213, 5.344217],
+[49.857700044370645,8.536279598522999, 5.344217],
+[51.268691060534124,8.261323062000557, 5.344217],
+[52.66872211619996,7.964067423332477, 5.344217],
+[54.07451779186613,7.720874191620773, 5.344217],
+[55.50903693767583,7.556174571988404, 5.344217],
+[56.92189336178342,7.231707556245109, 5.344217],
+[58.348873894853085,6.9993946586732, 5.344217],
+[59.774194566172966,6.70636855237726, 5.344217],
+[61.180290077973325,6.6472458894591036, 5.344217],
+[62.597160174889666,6.632340548458316, 5.344217],
+[63.979856245718366,6.521720555524411, 5.344217],
+[63.97909907058538,6.522561989171649, 5.344217],
+[65.24455043193662,6.4910571567640005, 5.344217],
+[65.2452748682269,6.490114142963314, 5.344217],
+[65.24367772653804,6.490321510189752, 5.344217],
+[65.25892401294138,6.508291424251752, 5.344217],
+[65.27362492902876,6.5224483905800135, 5.344217],
+[65.27422177854874,6.522455623897535, 5.344217],
+[65.26968640128585,6.519482228389293, 5.344217],
+[65.22331872192522,6.447662816485387, 5.344217],
+[65.21817144094692,6.442121983446857, 5.344217],
+[65.31414858737541,6.364600448481301, 5.344217],
+[65.31197778861902,6.365003671127788, 5.344217],
+[65.31092133262113,6.364226066464216, 5.344217],
+[65.31090511530454,6.363837931270265, 5.344217],
+[65.31089464880942,6.363587432669917, 5.344217],
+[65.31088167238603,6.36345285551867, 5.344217],
+[65.31074214442002,6.363303344083992, 5.344217],
+[65.31074214442002,6.363303344083992, 5.344217],
+[65.31074214442002,6.363303344083992, 5.344217],
+[65.31074214442002,6.363303344083992, 5.344217]]

File diff suppressed because it is too large
+ 1 - 0
public/lib/potree/resources/path/373/pathPointsNew.json


File diff suppressed because it is too large
+ 1 - 0
public/lib/potree/resources/path/375/pathPointsNew.json


+ 21 - 16
src/sdk/cover/index.js

@@ -73,9 +73,9 @@ let curSelectPath
 
 } 
 
-//江门本地版本
+//加路径
 
-let addedPath
+let addedPath, floorCountEmited
 let addPath = ()=>{//加个他们拍的路径 
     if(addedPath)return
     let path = viewer.scene.measurements.find(e=>e.title == '行走路径')
@@ -86,7 +86,7 @@ let addPath = ()=>{//加个他们拍的路径
     let spaceTime = Potree.browser.urlHasValue('spaceTime',true)
     if(spaceTime == '') spaceTime = 40 
     let height = 3.2
-    
+    let caseId = Potree.browser.urlHasValue('caseId',true) || 'test'
     
     
     let btnCreated
@@ -113,7 +113,10 @@ let addPath = ()=>{//加个他们拍的路径
         data.forEach((e,i)=>{
             let pos 
             if(fileName == 'pathPointsNew'){
-                return points.push(new THREE.Vector3().fromArray(e))
+                let pos = new THREE.Vector3().fromArray(e) 
+                pos.z += 0.2
+                caseId != '363' && (pos = /* Potree.math.convertVector.YupToZup( */pos/* ) */.applyMatrix4(viewer.objs.children[0].transformMatrix))  //是4dkk场景里坐标 
+                return points.push(pos) 
             }
             if(useLonlat){
                 pos = viewer.transform.lonlatToLocal.forward([e.longitude, e.latitude, e.relativeHeight])
@@ -126,8 +129,7 @@ let addPath = ()=>{//加个他们拍的路径
         })
         
         path.reDraw()
-           
-        
+       
         if(spaceTime>0){
             let index = 0
             let interval = setInterval(()=>{
@@ -153,8 +155,8 @@ let addPath = ()=>{//加个他们拍的路径
         }  
         
     }
-    let fileName = 'pathPointsNew'    //pathPoints.json
-    Potree.loadFile(Potree.resourcePath+'/'+fileName+'.json', null, (data)=>{
+    let fileName =  'pathPointsNew'   //'pathPoints.json'
+    Potree.loadFile(Potree.resourcePath+'/path/'+caseId+'/'+fileName+'.json', null, (data)=>{
         window.applyPath(data)  
     })
     addedPath = true
@@ -1158,8 +1160,10 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
 
                     msg = Potree.Common.CloneObject(msg)
                     
-                    
-                    
+                    if(!floorCountEmited){ 
+                        sceneBus.emit('floorCount',3)
+                        floorCountEmited = 1
+                    }
                     
                     //console.log(model.name, msg)
                     bus.emit('transformChanged', msg)
@@ -2203,7 +2207,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
                             
                             
                         //let geoPoints = path.geoPoints.map(e=> e.clone().add(new THREE.Vector3(0,0,2)) )//height
-                        let duration = path.totalLength / 3  
+                        let duration = path.totalLength / 10  
                         //let tangentDt =  path.totalLength * 0.0001
                         path.animation_ = viewer.modules.CamAniEditor.createCurveAni(curve,  duration   )
                     }else{
@@ -2392,11 +2396,12 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
         
         goFloor(floorIndex){//切换楼层
             let model = viewer.objs.children.find(e=>e.id == 608)
-            if(!model)return  
-            //model.goFloor(floorIndex) 
-            model.currentFloor = floorIndex
-            model.children.forEach((e)=>Potree.Utils.updateVisible(e, 'goFloor',  floorIndex == 'all' || e.name.includes(floorIndex)))
-           
+            if(!model)return   
+            if(model.fileType == '3dTiles')model.goFloor(floorIndex) 
+            else {
+                model.currentFloor = floorIndex
+                model.children.forEach((e)=>Potree.Utils.updateVisible(e, 'goFloor',  floorIndex == 'all' || e.name.includes(floorIndex)))
+            }
              
         }