Interface IVoronoiFactory | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IVoronoiFactory

    Namespace: UnityEngine.Experimental.U2D.TriangleNet.Voronoi
    Syntax
    public interface IVoronoiFactory

    Methods

    CreateFace(Vertex)

    Declaration
    Face CreateFace(Vertex vertex)
    Parameters
    Type Name Description
    Vertex vertex
    Returns
    Type Description
    Face

    CreateHalfEdge(Vertex, Face)

    Declaration
    HalfEdge CreateHalfEdge(Vertex origin, Face face)
    Parameters
    Type Name Description
    Vertex origin
    Face face
    Returns
    Type Description
    HalfEdge

    CreateVertex(Double, Double)

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

    Initialize(Int32, Int32, Int32)

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

    Reset()

    Declaration
    void 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