33 lines
		
	
	
		
			940 B
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			33 lines
		
	
	
		
			940 B
		
	
	
	
		
			C#
		
	
	
	
| 
								 | 
							
								// -----------------------------------------------------------------------
							 | 
						|||
| 
								 | 
							
								// <copyright file="IVoronoi.cs" company="">
							 | 
						|||
| 
								 | 
							
								// Triangle.NET code by Christian Woltering, http://triangle.codeplex.com/
							 | 
						|||
| 
								 | 
							
								// </copyright>
							 | 
						|||
| 
								 | 
							
								// -----------------------------------------------------------------------
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace TriangleNet.Voronoi.Legacy
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    using System.Collections.Generic;
							 | 
						|||
| 
								 | 
							
								    using TriangleNet.Geometry;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								    /// <summary>
							 | 
						|||
| 
								 | 
							
								    /// Voronoi diagram interface.
							 | 
						|||
| 
								 | 
							
								    /// </summary>
							 | 
						|||
| 
								 | 
							
								    public interface IVoronoi
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// Gets the list of Voronoi vertices.
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        Point[] Points { get; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// Gets the list of Voronoi regions.
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        ICollection<VoronoiRegion> Regions { get; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// Gets the list of edges.
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        IEnumerable<IEdge> Edges { get; }
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |