|
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.
|
|
Im trying to get into some basic JavaFX game development and I'm getting confused with some circle maths.
I have a circle at (x:250, y:250) with a radius of 50.
My objective is to make a smaller circle to be placed on the circumference of the above circle...
Started by Mark on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It is a cookbook of algorithms and source code (in C.
That can help with this kind of problem.
|
|
I am writing a simple graphic editor for a university project using C#.
I created a hierarchy where every type of shape - circles, rectangles, ellipses, ... - are inherited from a base class Shape, it contains a shape color as a protected field.
public...
Started by chester89 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Objects, or share geometry objects as Flyweights? If not, you may be complicating your class.
|