Dome with Planar Quads

Dome with Planar Quads

Recently I was working on a project that involved using meshes with planar faces. In most cases we use normal meshes and the employ different techniques of mesh planarization. These techniques often use different optimization techniques such as forced base algorithm...

Doubly Connected Edge Lists

DCEL (doubly connected edge list) is very useful data structure which provides linear access to various components of a flat graph. I looked for an implementation in C# , but I couldn’t find one, so I decided to re-write my C++ code in DotNet framework and now...

GHCustom controls webinar

Here is some part of my webinar on GH Custom Control library . You can find out how to : Create and add a control to Grasshopper component How to stop a control from updating solution  How to group controls. How to layout controls. (stack panel) How to listen to...

WPF Numeric Up_Down control

One of the very useful controls in Windows Form is NumericUPDown control which allows user to enter an integer or decimal number, however this basic control does not exist in WPF standard toolbox and you probably need to install external packages offering it. I have...
Fit an arbitrary set of points into a given rectangle.

Fit an arbitrary set of points into a given rectangle.

A simple problem : Fit a flat set of points on XY plane into a given rectangle. Or in other words place the given rectangle around the set of points which contains all the points. In the same time determine if the problem has a solution or not? In this video I used...