Skip to content Skip to sidebar Skip to footer
Showing posts with the label Computational Geometry

Create A Square Polygon (random Oriented) From Midpoints In Python

I have a midpoint (x,y) and i need to create a square polygon with random orientation using a 2D (r… Read more Create A Square Polygon (random Oriented) From Midpoints In Python

Removing Outliers From Convex Hull

I have a few datasets that I'd like to visualise with convex hull (and derive some statistics f… Read more Removing Outliers From Convex Hull

How To Produce An Ordered Sequence Of Vertices Of Polygon From A Discretized Cellular Representation Of Polygon

Here is the cellular representation of polygon shown:- Here is the extracted polygon shown. We ar… Read more How To Produce An Ordered Sequence Of Vertices Of Polygon From A Discretized Cellular Representation Of Polygon

Finding Intersection Between Straight Line And Contour

I am trying to find the intersection point of a straight(dashed red) with the contour-line highligh… Read more Finding Intersection Between Straight Line And Contour

How To Find All The Intersection Points Between Two Contour-set In An Efficient Way

I'm wondering about the best way to find all the intersection points (to roundoff error) betwee… Read more How To Find All The Intersection Points Between Two Contour-set In An Efficient Way

How To Compute The Mitered Offset Of A Polygon Using Its Straight Skeleton

I have a Straight Skeleton algorithm implemented in Python and would like to use it to offset the e… Read more How To Compute The Mitered Offset Of A Polygon Using Its Straight Skeleton