Skip to content

Colinear self intersections not always reported #24

@esiegel

Description

@esiegel

Using version 2.0.0 this polygon will not report self intersection:

{ 
	type: 'Feature', 
  properties: {}, 
	geometry: { 
		type: 'Polygon',
		coordinates: [[
			[0,1],
			[1,1],
			[2,2],
			[1,1],
			[0,1]
		]]
	}
}

If i change one of the points, but it is still just as colinear, it does report self intersection

{ 
	type: 'Feature', 
  properties: {}, 
	geometry: { 
		type: 'Polygon',
		coordinates: [[
			[0,1],
			[1,1],
			[2,2],
			[1.5,1.5],
			[0,1]
		]]
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions