PolygonOperations..::..CanSimplifyToSinglePolygon Method

Simplifies a polygon, by removing self intersection. This results in one polygon, but may not be successful if multiple polygons

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public static bool CanSimplifyToSinglePolygon(
	IList<Point> polygon,
	out List<Point> simplifiedPolygon
)
Public Shared Function CanSimplifyToSinglePolygon ( _
	polygon As IList(Of Point), _
	<OutAttribute> ByRef simplifiedPolygon As List(Of Point) _
) As Boolean
public:
static bool^ CanSimplifyToSinglePolygon(
	IList<Point^>^ polygon, 
	[OutAttribute] List<Point^>^% simplifiedPolygon
)

Parameters

polygon
Type: IList<(Of <(<'Point>)>)>
simplifiedPolygon
Type: List<(Of <(<'Point>)>)>%

Return Value