|
I have a frustum (truncated pyramid) and I need to compute a bounding sphere for this frustum that's as small as possible. I can choose the centre to be right in the centre of the frustum and the radius be the distance to one of the "far" corners, but...
Started by Bob on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Then....
If this is a proper with the top two.
The way to do this is to find a sphere that fits 4 points on your frustum.
Of the frustum and plug them into a general minimum bounding sphere algorithm, like the miniball implementation .
|
|
I have given a location defined by latitude and longitude. Now i want to calculate a bounding box within e.g. 10 kilometers of that point.
The bounding box should be defined as latmin, lngmin and latmax, lngmax.
I need this stuff in order to use the panoramio...
Started by Michal on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I suggest to approximate locally the Earth surface as a sphere with radius given * math.cos(lat) Bd = WGS84_b * math.sin(lat) return math.sqrt( (An*An + Bn*Bn)/(Ad*Ad + Bd*Bd) ) # Bounding as a sphere # of radius given....
Distance".
|
|
Given a coordinate (lat, long), I am trying to calculate a square bounding box that is a given distance (e.g. 50km) away from the coordinate. So as input I have lat, long and distance and as output I would like two coordinates; one being the south-west...
Started by Bryce Thomas on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You should note that the distance.
For distances that means on the surface of a sphere), but it should do.
A square bounding box for a distance from a point? Sounds more like a circle to me.
|
Ask your Facebook Friends
|
I am trying to determine whether a line segment (i.e. between two points) intersects a sphere. I am not interested in the position of the intersection, just whether or not the segment intersects the sphere surface. Does anyone have any suggestions as ...
Started by Morgoth on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Or you/index.php/Ray_Sphere_Intersection
I don't know what the standard way of doing it is, but if you only point is inside the radius of....
Algorithmically is to switch from ray-sphere intersection to ray-bounding-box intersection.
|
|
Hello everyone,
I have a closed object described by a surface representation of triangles (described by three vertices which forms a right hand rule with a normal pointing to the "outside" of the object). I place a sphere of some radius in 3D space somewhere...
Started by Faken on
, 8 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Here is a page to a plane to see if the sphere touches any of the planes defined by any set of three vertices which of the sphere and the object, ....
Please check this.
Hi
Intersection check using Bounding Volume might interest you.
|
|
I am writing a physics simulation using Ogre and MOC .
I have a sphere that I shoot from the camera's position and it travels in the direction the camera is facing by using the camera's forward vector.
I would like to know how I can detect the point of...
Started by Brock Woolf on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Even once you've this problem, ....
For a first trivial reject, first see if the bounding sphere of the mesh collides don't calc against a bounding sphere or an axis aligned bounding volume for the mesh) are essential.
|
|
Suppose I have the following:
A region defined by minimum and maximum latitude and longitude (commonly a 'lat-long rect', though it's not actually rectangular except in certain projections). A circle, defined by a center lat/long and a radius How can ...
Started by Nick Johnson on
, 9 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Of the sphere, e.g.:
"rectangle": min long = -90deg, max long = +90deg, min lat = +70deg, max lat = +80deg and point C is the circle's center, and point O is the sphere's center, then angle AOC = 40deg of great circles), I'll use the term....
|
|
On Tue, 31 Mar 2009 13:28:24 +0200, keith <johndoe64738@yahoo.com
I have found a more elegant expression for the center r_c than can be
found on the geometric tools site. Given the points r_1, r_2, r_3 on
sphere boundary one can derive the center...
Started by keith on
, 14 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
The case r_1 = r_3 causes a division by zero, and from the denominator
one can points, then, ... .
sphere?
A circumscribed sphere is defined by having all of the points on its
surface (or equivalently as the minimum volume sphere.
|
|
On Sun, 10 May 2009 20:57:16 -0400, Dave Typinski <mbius@trapezium.net
Hello, all!
As I've mentioned before, I'm making some animations to show Earth's
rotation, orbit, precession, and all that other fun rotational stuff.
Blame it on Oriel. ;)...
Started by Dave Typinski on
, 14 posts
by 6 people.
Answer Snippets (Read the full thread at omgili):
That would work celestial sphere,
according....
The celestial sphere
would work fine for a view from L5, but it won't work for a view
looking sphere to the same empty that the
Earth was parented to, but didn't make it rotate.
Feature.
|
|
A pretty specific question if anyone knows the answer: What exactly does "contains" mean, in the context of BoundingSphere1.Contains(BoundingSphere2)?
If i have a smaller sphere inside a larger sphere, does the smaller sphere "contain" the larger sphere...
Answer Snippets (Read the full thread at stackoverflow):
Disjoint: Indicates there is ....
Specifically:
Contains: Indicates that one bounding volume completely contains the other.
A ContainmentType enumeration which
Indicates the extent to which bounding volumes intersect or contain one another.
|