571 reputation
211
bio website
location
age
visits member for 1 year, 10 months
seen 1 hour ago

1h
comment How to check if a line segment intersects with a polygon?
@ rcollyer, your method is about 60 times faster than using RegionIntersection in V10
1h
accepted How to check if a line segment intersects with a polygon?
13h
comment How to check if a line segment intersects with a polygon?
@Rahul, my bad. I thought "bounding the polygon" means convex hull.
13h
comment How to check if a line segment intersects with a polygon?
@Rahul, the short red line seems intersect with segment bounding the polygon.
13h
revised How to check if a line segment intersects with a polygon?
added 2 characters in body
13h
revised How to check if a line segment intersects with a polygon?
added 333 characters in body
13h
comment How to check if a line segment intersects with a polygon?
@Daniel Lichtblau, unfortunately that fails if the polygon is nonconvex.
14h
comment How to check if a line segment intersects with a polygon?
@Öskå Thanks. I'm working with v9, but I will check v10.
14h
asked How to check if a line segment intersects with a polygon?
Nov
12
comment How to form a block-diagonal Matrix from a list of matrices?
@Mr.Wizard, thanks.
Nov
12
revised How to form a block-diagonal Matrix from a list of matrices?
added 23 characters in body
Nov
11
comment Find the nearest locations for multiple points
the speed is reduced by EdgeCost
Oct
31
awarded  Notable Question
Oct
27
accepted Find the nearest locations for multiple points
Oct
24
awarded  Nice Question
Oct
23
comment Find the nearest locations for multiple points
@ ybeltukov, your answer is helpful and enlightening.The first step is ‘Closest pair of points problem’. But a simple counterexample is for 2 hole-ball pairs with the given coordinates: holes = {{0, 0}, {0, 2}}; balls = {{0, 1.01}, {2, 2}}; I think the farest balls should be considered first.
Oct
23
revised Find the nearest locations for multiple points
added 7 characters in body
Oct
22
revised Find the nearest locations for multiple points
added 81 characters in body
Oct
22
comment Find the nearest locations for multiple points
thanks for your answer, what if each hole can only take one ball?
Oct
22
revised Find the nearest locations for multiple points
[Edit removed during grace period]