Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / Visual Basic

Create a Voronoi diagram 2 of 3

Rate me:
Please Sign up or sign in to vote.
4.76/5 (6 votes)
17 Jul 2012CPOL9 min read 35.7K   832   11  
Creation of a Voronoi diagram, description of the binary search tree
<?xml version="1.0"?>
<doc>
<assembly>
<name>
WPF_VORONOI_TEST
</name>
</assembly>
<members>
<member name="M:WPF_VORONOI_TEST.MainWindow.InitializeComponent">
	<summary>
InitializeComponent
</summary>
</member><member name="T:WPF_VORONOI_TEST.MainWindow">
	<summary>
MainWindow
</summary>
</member><member name="M:WPF_VORONOI_TEST.Application.InitializeComponent">
	<summary>
InitializeComponent
</summary>
</member><member name="M:WPF_VORONOI_TEST.Application.Main">
	<summary>
Application Entry Point.
</summary>
</member><member name="T:WPF_VORONOI_TEST.Application">
	<summary>
Application
</summary>
</member><member name="M:WPF_VORONOI_TEST.Voronoi.Intersection2(System.Windows.Point,System.Windows.Point,System.Double)">
	<summary>
 Returns the y value construcked by the event from the newpoint and the contructed arc of the oldpoint
 </summary>
	<param name="NewPoint"></param>
	<param name="OldPoint"></param>
	<param name="SweepLine"></param>
	<returns></returns>
	<remarks></remarks>
</member><member name="M:WPF_VORONOI_TEST.Voronoi.Intersection(System.Windows.Point,System.Windows.Point,System.Double)">
	<summary>
 Returns a polyline between the newpoint and the contructed arc of the oldpoint
 </summary>
	<param name="NewPoint"></param>
	<param name="OldPoint"></param>
	<param name="SweepLine"></param>
	<returns></returns>
	<remarks></remarks>
</member><member name="M:WPF_VORONOI_TEST.Voronoi.SortPoints(System.Windows.Media.PointCollection,System.Boolean)">
	<summary>
 Returns a sorted pointcollection based on Lexografically sorting
 </summary>
	<param name="samplepoints"></param>
	<param name="SortByXdirection"></param>
	<returns></returns>
	<remarks></remarks>
</member><member name="M:WPF_VORONOI_TEST.Voronoi.Boundary.SortPoints(System.Windows.Media.PointCollection,System.Boolean)">
	<summary>
 Returns a sorted pointcollection based on Lexografically sorting
 </summary>
	<param name="samplepoints"></param>
	<param name="SortByXdirection"></param>
	<returns></returns>
	<remarks></remarks>
</member><member name="P:WPF_VORONOI_TEST.My.MyWpfExtension.Application">
	<summary>
 Returns the application object for the running application
 </summary>
</member><member name="P:WPF_VORONOI_TEST.My.MyWpfExtension.Computer">
	<summary>
 Returns information about the host computer.
 </summary>
</member><member name="P:WPF_VORONOI_TEST.My.MyWpfExtension.User">
	<summary>
 Returns information for the current user.  If you wish to run the application with the current 
 Windows user credentials, call My.User.InitializeWithWindowsUser().
 </summary>
</member><member name="P:WPF_VORONOI_TEST.My.MyWpfExtension.Log">
	<summary>
 Returns the application log. The listeners can be configured by the application's configuration file.
 </summary>
</member><member name="P:WPF_VORONOI_TEST.My.MyWpfExtension.Windows">
	<summary>
 Returns the collection of Windows defined in the project.
 </summary>
</member><member name="T:WPF_VORONOI_TEST.My.MyWpfExtension">
	<summary>
 Module used to define the properties that are available in the My Namespace for WPF
 </summary>
	<remarks></remarks>
</member><member name="M:WPF_VORONOI_TEST.MainWindow.Boundary.SortPoints(System.Windows.Media.PointCollection,System.Boolean)">
	<summary>
 Returns a sorted pointcollection based on Lexografically sorting
 </summary>
	<param name="samplepoints"></param>
	<param name="SortByXdirection"></param>
	<returns></returns>
	<remarks></remarks>
</member><member name="M:WPF_VORONOI_TEST.MainWindow.Intersection2(System.Windows.Point,System.Windows.Point,System.Double)">
	<summary>
 Returns the y value construcked by the event from the newpoint and the contructed arc of the oldpoint
 </summary>
	<param name="NewPoint">This is the point on the sweep line</param>
	<param name="OldPoint">This is one point above the sweep line</param>
	<param name="SweepLine">Y position of the sweep line</param>
	<returns>Calculates the distance fromn a point (NewPoint) to the Parabolic arc generated by the OldPoint and the Sweep line</returns>
	<remarks>The Function only gives you the Y value of the position on the parabolic intersection given the X location</remarks>
</member><member name="M:WPF_VORONOI_TEST.MainWindow.VoronoiLine.WhichSide(System.Windows.Point)">
	<summary>
 Finds which side of a line the point is
 </summary>
	<param name="PointToBeEvaluated">Evaluation point</param>
	<returns>-1 for a point to the right, 0 for a point on the line, +1 for a point to the left</returns>
	<remarks></remarks>
</member><member name="M:WPF_VORONOI_TEST.MainWindow.VoronoiLine.ParabolicCut(System.Windows.Point,System.Windows.Point,System.Double)">
	<summary>
 Calculates the line between two Parabolic intersections
 </summary>
	<param name="Point1">A point in the Voronoi diagram</param>
	<param name="point2">A Point in the Voronoi diagram (different from point 1)</param>
	<param name="ys">The position of the sweep line</param>
	<remarks>It would give wrong values if the two points have the same or close to the same Y coordinate, as the double has limited significant storage</remarks>
</member><member name="M:WPF_VORONOI_TEST.MainWindow.VoronoiLine.Intersection2(System.Windows.Point,System.Windows.Point,System.Double)">
	<summary>
 Returns the y value construcked by the event from the newpoint and the contructed arc of the oldpoint
 </summary>
	<param name="NewPoint">This is the point on the sweep line</param>
	<param name="OldPoint">This is one point above the sweep line</param>
	<param name="SweepLine">Y position of the sweep line</param>
	<returns>Calculates the distance fromn a point (NewPoint) to the Parabolic arc generated by the OldPoint and the Sweep line</returns>
	<remarks>The Function only gives you the Y value of the position on the parabolic intersection given the X location</remarks>
</member><member name="M:WPF_VORONOI_TEST.MainWindow.SortPoints(System.Windows.Media.PointCollection,System.Boolean)">
	<summary>
 Returns a sorted pointcollection based on Lexografically sorting
 </summary>
	<param name="samplepoints"></param>
	<param name="SortByXdirection"></param>
	<returns></returns>
	<remarks></remarks>
</member><member name="T:WPF_VORONOI_TEST.MainWindow.Circle">
	<summary>
 A class for preforming circle tests
 </summary>
	<remarks></remarks>
</member><member name="P:WPF_VORONOI_TEST.My.Resources.Resources.ResourceManager">
	<summary>
  Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:WPF_VORONOI_TEST.My.Resources.Resources.Culture">
	<summary>
  Overrides the current thread's CurrentUICulture property for all
  resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:WPF_VORONOI_TEST.My.Resources.Resources">
	<summary>
  A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer
Norway Norway
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions