masonzhang / sketchsolve Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/sketchsolve
Automatically exported from code.google.com/p/sketchsolve
Hello
Your project is very interesting. Thanks
Solve.cpp
510: delete origSolution;
530: *x[i]=origSolution[i];
It seems to cause no harm but origSolution is referenced after deleted.
Original issue reported on code.google.com by [email protected]
on 7 Jul 2009 at 6:36
Hi,
Apologies in advance for posting this here, couldn't find another way to
send the project owner a note. Could you shoot me an e-mail at
[email protected]? I want to do geometric constraint solving in C#.
Thanks!
Wout
Original issue reported on code.google.com by [email protected]
on 15 Jun 2009 at 2:31
Solve.cpp following variables are alloced but not deleted.
deltaX;
gamma;
gradnew;
Original issue reported on code.google.com by [email protected]
on 9 Jul 2009 at 5:19
Solve.cpp 552-567 calc.c
The following line, the calculated error can be negative,
I think that the error should be always positive.
if(cons[i].type==P2PDistance)
{
error+= (P1_x - P2_x) * (P1_x - P2_x) + (P1_y - P2_y) *
(P1_y - P2_y) - distance * distance;
}
if(cons[i].type==P2PDistanceVert)
{
error+= (P1_y - P2_y) * (P1_y - P2_y) - distance *
distance;
}
if(cons[i].type==P2PDistanceHorz)
{
error+= (P1_x - P2_x) * (P1_x - P2_x) - distance *
distance;
}
should be
if(cons[i].type==P2PDistance)
{
temp = _hypot(P1_x - P2_x,P1_y - P2_y) - distance;
error += temp*temp;
}
if(cons[i].type==P2PDistanceVert)
{
temp = fabs(P1_y - P2_y) - distance;
error += temp*temp;
}
if(cons[i].type==P2PDistanceHorz)
{
temp = fabs(P1_x - P2_x) - distance;
error += temp*temp;
}
Original issue reported on code.google.com by [email protected]
on 9 Jul 2009 at 6:04
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.