Git Product home page Git Product logo

concavehullgenerator's People

Contributors

liagson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

concavehullgenerator's Issues

LineIntersectionFunctions is giving me an error

First thank you for your amazing work

I am trying to use your library but i got this error, and I couldn't find this function anywhere

The name 'LineIntersectionFunctions' does not exist in the current context.

Am I missing something here ?

3D?

Do you have an idea what would be involved with adding 3D support for this?

Question about adding buffer

Is it possible to make bigger area, concave hull with buffer?
So corner points needs to be moved more out for some buffer number...

ArgumentOutOfRangeException

Hi,
I am trying to use concavity diferent than 1 and I am getting error.
Points which I am using are here "dot_list" points.txt
Graphical image of points points

//geometry
List<Position> lineCoordinates2 = new List<Position>();
int scaleFactor = 1;
double concavity = 0; 
bool isSquareGrid = false;

Hull.setConvHull(dot_list);
Hull.setConcaveHull(Math.Round(Convert.ToDecimal(concavity), 2), scaleFactor, isSquareGrid);

List<PointLatLng> coordinatesGeo = new List<PointLatLng>();
for (var i = 0; i < Hull.hull_concave_edges.Count; i++)
{
	for (var j = 0; j < Hull.hull_concave_edges[i].nodes.Length; j++)
	{
		PointLatLng myPosition = new PointLatLng(Hull.hull_concave_edges[i].nodes[j].x, Hull.hull_concave_edges[i].nodes[j].y);
		if (!coordinatesGeo.Contains(myPosition))
		{
			GPoint gp = MainForm.instance.gMapControl.FromLatLngToLocal(myPosition);
			int index = uav.getInsertIndex(coordinatesGeo, new Accord.Point(gp.X, gp.Y));
			if (index >= 0 && index <= coordinatesGeo.Count)
				coordinatesGeo.Insert(index, myPosition);
		}
	}
}

What I am doing wrong? Is the Node id important and I need to set it? Currently it fix the error but it does not help to calculate correct points according to concavity.

It looks like something is wrong with calculation, because if I move points a littlebit it calculate ok.
Picture Example2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.