|
Hello, my school maths are very rusty and I think this is a good opportunity to take advance of this community :D
I have two points (a line) and a rectangle, I would like to know how to calculate if the line intersects the rectangle, my first approach...
Started by Gelu on
, 12 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
PlaneIntersection.html
From my "Geometry" class:
public struct Line { public static Line Empty; private PointF enum Intersection { None, Tangent, Intersection, Containment } public static class Geometry, if it's 2-D, then all lines are....
|
|
Hello!
I'm developing an application which loads an image, and then i have to mark some points with the mouse, above the image. these points should be on a separate layer, ie i don't want to modify image data.
What is the best way of doing this ? I was...
Started by jose on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Not directly what you are asking for, but this article might gice you some pointers (unless I totally misunderstand... .
It should be a lot more comfortable to work with than talking directly to directX .
I think WPF have som options for image manipulation.
|
|
Hello, does anyone know an open source c# dll for Computational Geometry.
Started by Bass on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Aforgenet....
The best readily available commercial alternative is probably Ceometric's G# , which is neither free nor open-source .
There isn't much out there, unfortunately -- the .NET world seems to suffer from a paucity of good open-source math libraries .
|
Ask your Facebook Friends
|
I want to solve geometry problems in online programming contests. But whenever I read them, I just find too difficult. Please suggest some books and resources which I can study computational geometry.
Started by avd on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
On....
And there's also to solve basic geometry problems quickly, so that it runs within the time limits of the contest, you first.
Mrmbdctg.freehostia.com/contest_Tipsforbeginner.html
A classic work: Computational Geometry in C .
|
|
What are the best tools/libraries (in any language) for working with 2D constructive area geometry?
That is, a library working with more or less arbitrary two dimensional shapes and supplying union, intersection, difference and XOR.
My baseline is the...
Started by Michael Brewer-Davis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Two options come in mind
Cairo Graphics for C Antigrain for C++.
It had a commercial and an open source license last time I checked .
The Computational Geometry Algorithms Library is quite extensive.
|
|
I am new to the generic geometry library that is proposed for inclusion with boost:
http://geometrylibrary.geodan.nl/
I have two vectors vector<int> Xb, Yb that I am trying to create a polygon from. I am trying to get something along the lines of...
Started by Dzhelil Rufat on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Geometries/cartesian2d.hpp> #include <boost/geometry/geometries/adapted/c_array_cartesian.hpp> #include <vector> #include <boost/geometry/geometry.hpp> #include <boost/geometry; using namespace....
|
|
Does anyone have some useful beginner tutorials and code snippets for playing with basic geometric shapes and geometric proofs in code?
In particular something with the ability to easily create functions and recursively draw them on the screen. Additional...
Started by Gordon Potter on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're willing to use C++ I would recommend two libraries:
boost::GGL generic geometry library, the Computational Geometry....
Hope that helps
I guess OpenGL.
Tutorials you should be able to have fun with geometry any way you want.
|
|
I am preparing myself for programming competitions and i would like to know how can i solve this problem. I guess it's geometry problem, and it seems i can't get any ideas about solving it.
Here it is:
There is a yard in which there are wolves and sheep...
Started by qweqwe on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
I would solve it with the Flood fill algorithm.
Doesn't look like a geometry problem to me.
This should work.
|
|
This is my first time building a strocker, and also doing the rocker geometry.
Does it look ok? Picture is at half lift.
Started by Luftgekült on
, 16 posts
by 9 people.
Answer Snippets (Read the full thread at thesamba):
But that is the first.
If it is too loose it can effect geometry some, not a big deal.
: 1914 built in an aluminum case, with forged c/w crank, 5.4 rods, mahle 94mm p/c's, steve tims Stage the side play.
|
|
So I'm curious about forks and their effect on the geometries and handling of a bike.
If one was to buy a trail bike with, say, a Fox 32 150mm fork on it, it would be safe to assume the bike has been designed around a fork with roughly a 520mm axle to...
Started by CoilAir on
, 15 posts
by 11 people.
Answer Snippets (Read the full thread at nsmb):
Some simple or lower the Float by 20mm to get the A-C as close as possible and maintain the geometry, but have to the original....
Change said geometry and handling no? The 36 has a 545mm A-C vs the 520mm A-C of the 32.
|