Posts

2D Delaunay triangulation in CGAL using an arbitrary plane -

i new using cgal, , wondering if cgal supports 2d delaunay triangulation of 3d points using arbitrary plane. example on cgal's documentation lists projection_traits_xy_3<r> , projection_traits_yz_3<r> , , projection_traits_xz_3<r> , in other words, projection on xy plane, yz plane , xz plane. there way can define arbitrary projection plane instead of using xy, yz , xz planes? thanks, there template < class kernel > class triangulation_2_filtered_projection_traits_3 not documented , defined in header: cgal/triangulation_2_filtered_projection_traits_3.h . you construct traits class plane normal , pass traits triangulation. something following should work: typedef cgal::exact_predicates_inexact_constructions_kernel k; typedef cgal::triangulation_2_filtered_projection_traits_3<k> p_traits; typedef cgal::delaunay_triangulation_2< p_traits > dt2; std::vector< k::point_3 > points p_traits traits( k::vector_3(1,1,1) ); d...

Force nuget to always update a dependency -

i wish ensure nuget package updates latest version of dependent package. there anyway can this? my current nuspec looks like <?xml version="1.0"?> <package> <metadata> <id>engine</id> <version>$version$</version> <title>engine</title> <authors>agresearch</authors> <owners>overseer </owners> <requirelicenseacceptance>false</requirelicenseacceptance> <description>my budget model</description> <releasenotes>release model</releasenotes> <copyright>copyright 2014</copyright> <tags>overseer engine</tags> <dependencies> <dependency id="overseerengine.schema" version="" /> <dependency id="rezare.lib" version="1.0.23.2" /> </dependencies> </metadata> <files> <file src="overseerengine.dll...

mongodb - Mongo "error converting js type to Utf8Value" on db.currentOp()? -

database running slow... 11gb database of around ~4 million documents. db.currentop() produces: thu jun 26 21:32:10.979 assertion: 16686:error converting js type utf8value 0x10e703360 0x10e6dcc2a 0x10e6da0dd 0x10e6c1aa8 0x10e6bd207 0x10e8fd0d9 0x10e900381 0x10e971b18 0x1469a3906362 0x1469a391701e 0 mongo 0x000000010e703360 _zn5mongo15printstacktraceerso + 64 1 mongo 0x000000010e6dcc2a _zn5mongo11msgassertedeipkc + 186 2 mongo 0x000000010e6da0dd _zn5mongo11tostlstringerkn2v86handleins0_5valueeee + 109 3 mongo 0x000000010e6c1aa8 _zn5mongo7v8scope16mongotov8elementerkns_11bsonelementeb + 4792 4 mongo 0x000000010e6bd207 _zn5mongol8namedgeten2v85localins0_6stringeeerkns0_12accessorinfoe + 839 5 mongo 0x000000010e8fd0d9 _zn2v88internal8jsobject35getpropertyattributewithinterceptoreps1_pns0...

reporting services - I want to use SSRS map local report on asp.net mvc razor view -

i have created local report containing map. database in mysql have used odbc connector mysql. have rendered local report on razor view. can't render map report. how render map report locally programmatically? first time struggling bug of visual studio when assign local report report viewer , assign datasource report gets close automatically. report can't datasource. have put datasource first , configure datasource clicking "configure datasource" button. code added in code behind file. can show report on view page. recommend wants use world map or country's map project google's "geo chart". in google geo chart different google map. geo chart simple integrate.

java - a different object with the same identifier value was already associated with the session in case of saveOrUpdateAll in Hibernate3 -

in case of modify it's giving org.hibernate.nonuniqueobjectexception . in bidderbo class @override @transactional(propagation=propagation.required, rollbackfor=exception.class) public boolean updatebidder(biddersdetailform bidderdetailform, missessionbean missessionbean) throws misexception { boolean status = false; boolean childstatus =false; try { bidderheaderbean bidderheaderbean = populabidderheaderbean(bidderdetailform); misauditbean misauditbean = new misauditbean(); misauditbean.setstatus(misconstants.master_status_verified); misauditbean.setentby(missessionbean.getenteredby()); misauditbean.setentdate(missessionbean.getentereddate()); bidderheaderbean.setmisauditbean(misauditbean); status = bidderheaderdao.updatebidderheader(bidderheaderbean); if(status){ long bidderinfoid = bidderdetailform.getbidinfoid(); list<bidderdetailbean> bidderdetailbeans = populatebid...

node.js - How to delete a git local repo folder in windows 7 -

i have created git clone in local directory. have run npm , installed node packages(gulp etc). don’t want working directory. did right click mouse , delete, not able delete. getting below error. "the source file name(s) larger supported file system. try moving location has shorter path name, or try renaming shorted name(s) before attempting operation" what issue. on windows, this thread shows can be: a path length issue (the path long) a process issue (which keeps handle on 1 of files being deleted) i found out make drive mapping halfway folder structure should able delete latter half of file heirarcy. for example if getting error trying delete: \\nas.device.company.com\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z then map network drive z: to \\nas.device.company.com\a\b\c\d\e\f\g\h\i\j\k\ this reduce file herarchy down smaller path. open explorer , view z: drive. should contain folder called l (in exampl...

mysql - Update database with php is not working -

i have form update informations product. form gets values database , sends page should update database. checked form sends values second page correctly. update function of database not updating. the code of update (second) page that: include("database.php"); if (isset($_request["kullanici"])) { include "database.php"; $sql = ("select * uye"); } else { header ("location: uyari.html"); } $id = $_post['id']; $urunadi = $_post['urunadi']; $malzemekodu = $_post['malzemekodu']; $urunkategorisi = $_post['urunkategorisi']; $birim = $_post['birim']; $miktar = $_post['miktar']; $personel = $_post['personel']; $birimfiyat = $_post['birimfiyat']; $fiyatbirimi = $_post['fiyatbirimi']; $resim = $_post['resim']; $sql = ("update depo set id = $id, urunadi = $urunadi, malzemekodu = $malzemekodu, urunkategorisi = $urunkategorisi, birim = $birim, mikt...