The BayazitDecomposer
was made assembly-internal in commit 101497, which was aimed at centralizing the input validation for the triangulation algorithms in a single place according to the check-in comment:
Removed sanity checks from all triangulators and moved them into
Triangulate. Added asserts into each triangulation algorithm that
checks if the polygon is valid. Triangulator is a new class that does
all the work of validating inputs and sanatizing outputs.
Per that comment, one is now expected to use the ConvexPartition
method from the Triangulate
class, passing an enumeration value to specify the desired triangulation algorithm (as you noted, the value you want to use for a Bayazit implementation is TriangulationAlgorithm.Bayazit
).
The original links will be unavaiable pending the closure of CodePlex.
Farseer Physics has been superseded by Velcro Physic and its implementation of BayazitDecomposer
can be found here.