Skip to content

Error computing the convex hull. The points may be collinear. #24

Description

@Evelien-Bogers

I have loaded my single tree point cloud as a las file and am now applying TreeQSM on it but I keep getting the error:
Error computing the convex hull. The points may be collinear.
It happens in the tree_data.m script at line 520. I have tried to use a try and catch statement in the tree_data.m script where it keeps happening. I plotted X(:,1),X(:,2) and saw that they were indeed just a line so I would mimic the output as I interpret it would be for a line (K = [1 1], A = 0). This however leads to the plotted tree having branches missing and the trunk being misaligned etc. Am I doing something wrong or is there a bug somewhere?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions