This is a graphical viewer for experimenting with this 2D constrain solver library
To add more example :
-
add a new class to the project
-
Implement IExampleCode interface to this new class
-
Run the project
Your new example code class will be available in drop-down list.
To add parameter to your example , put DisplayName attribute to related class property, in this way :
[DisplayName("Arc Radius Value")]
public double ArcRadiusValue { get; set; }
or
[DisplayName("Equal Segment Constrain Active")]
public bool IsEqualSegmentActive { get; set; }
Take a look at this and this code files, for reference.
Here a gif demo :
###References and links :
Extended WPF Toolkit™ Community Edition