using Jobberwocky.GeometryAlgorithms.Source.Core;
using UnityEngine;
namespace Jobberwocky.GeometryAlgorithms.Source.Parameters
{
public class Triangulation2DParameters : Parameters
{
///
/// Regular points for triangulation
///
public Vector3[] Points { get; set; }
///
/// The boundary points if any for the triangulation
///
public Vector3[] Boundary { get; set; }
///
/// The holes and hole points if any for the triangulation
///
public Vector3[][] Holes { get; set; }
///
/// Whether the triangulation should be Delaunay.
/// Extra points could be added automatically to confirm Delaunay
///
public bool Delaunay { get; set; }
///
/// Defines the side that should be triangulated
///
public Side Side { get; set; }
public Triangulation2DParameters() : base()
{
Delaunay = false;
Side = Side.Front;
}
}
}