Click or drag to resize
Ab4d.SharpEngine logo

PolygonAnalyzer(Vector2, Int32, Boolean) Constructor

Constructor

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public PolygonAnalyzer(
	Vector2[] points,
	int[] polygonIndices,
	bool isYAxisUp = true
)

Parameters

points  Vector2
array of points
polygonIndices  Int32
triangle indices
isYAxisUp  Boolean  (Optional)
Boolean that specifies if Y axis is pointing up (true by default). This affects the value of IsClockwise property.
See Also