Class DefaultVoronoiFactory | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class DefaultVoronoiFactory

    Default factory for Voronoi / DCEL mesh objects.

    Inheritance
    System.Object
    DefaultVoronoiFactory
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.U2D.TriangleNet.Voronoi
    Syntax
    public class DefaultVoronoiFactory : IVoronoiFactory

    Methods

    CreateFace(Vertex)

    Declaration
    public Face CreateFace(Vertex vertex)
    Parameters
    Type Name Description
    Vertex vertex
    Returns
    Type Description
    Face
    Implements
    IVoronoiFactory.CreateFace(Vertex)

    CreateHalfEdge(Vertex, Face)

    Declaration
    public HalfEdge CreateHalfEdge(Vertex origin, Face face)
    Parameters
    Type Name Description
    Vertex origin
    Face face
    Returns
    Type Description
    HalfEdge
    Implements
    IVoronoiFactory.CreateHalfEdge(Vertex, Face)

    CreateVertex(Double, Double)

    Declaration
    public Vertex CreateVertex(double x, double y)
    Parameters
    Type Name Description
    System.Double x
    System.Double y
    Returns
    Type Description
    Vertex
    Implements
    IVoronoiFactory.CreateVertex(Double, Double)

    Initialize(Int32, Int32, Int32)

    Declaration
    public void Initialize(int vertexCount, int edgeCount, int faceCount)
    Parameters
    Type Name Description
    System.Int32 vertexCount
    System.Int32 edgeCount
    System.Int32 faceCount
    Implements
    IVoronoiFactory.Initialize(Int32, Int32, Int32)

    Reset()

    Declaration
    public void Reset()
    Implements
    IVoronoiFactory.Reset()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023