Click or drag to resize
Ab4d.SharpEngine logo

PolygonAnalyzer(Vector2, Boolean, Boolean) Constructor

Constructor

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public PolygonAnalyzer(
	Vector2[] points,
	bool optimizePositions,
	bool isYAxisUp
)

Parameters

points  Vector2
array of points
optimizePositions  Boolean
when true (false by default) then duplicate vertices (that follow one another) and vertices that lie on the same line are removed before calling Analyze
isYAxisUp  Boolean
Boolean that specifies if Y axis is pointing up (true by default). This affects the value of IsClockwise property.
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.PolygonAnalyzer.#ctor(System.Numerics.Vector2[],System.Boolean,System.Boolean)"]

See Also