Ctrl+K

YuPengClipper

Declaration

public static class tainicom.Aether.Physics2D.Common.PolygonManipulation.YuPengClipper

Methods

Union static

List<Vertices> Union(Vertices polygon1, Vertices polygon2, out PolyClipError error)

Parameters:

Name Type Description
polygon1 tainicom.Aether.Physics2D.Common.Vertices
polygon2 tainicom.Aether.Physics2D.Common.Vertices
error out tainicom.Aether.Physics2D.Common.PolygonManipulation.PolyClipError

Difference static

List<Vertices> Difference(Vertices polygon1, Vertices polygon2, out PolyClipError error)

Parameters:

Name Type Description
polygon1 tainicom.Aether.Physics2D.Common.Vertices
polygon2 tainicom.Aether.Physics2D.Common.Vertices
error out tainicom.Aether.Physics2D.Common.PolygonManipulation.PolyClipError

Intersect static

List<Vertices> Intersect(Vertices polygon1, Vertices polygon2, out PolyClipError error)

Parameters:

Name Type Description
polygon1 tainicom.Aether.Physics2D.Common.Vertices
polygon2 tainicom.Aether.Physics2D.Common.Vertices
error out tainicom.Aether.Physics2D.Common.PolygonManipulation.PolyClipError