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

    Class HalfEdge

    Inheritance
    System.Object
    HalfEdge
    Inherited Members
    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.Topology.DCEL
    Syntax
    public class HalfEdge

    Constructors

    HalfEdge(Vertex)

    Initializes a new instance of the HalfEdge class.

    Declaration
    public HalfEdge(Vertex origin)
    Parameters
    Type Name Description
    Vertex origin

    The origin of this half-edge.

    HalfEdge(Vertex, Face)

    Initializes a new instance of the HalfEdge class.

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

    The origin of this half-edge.

    Face face

    The face connected to this half-edge.

    Properties

    Boundary

    Declaration
    public int Boundary { get; set; }
    Property Value
    Type Description
    System.Int32

    Face

    Gets or sets the face connected to the half-edge.

    Declaration
    public Face Face { get; set; }
    Property Value
    Type Description
    Face

    ID

    Gets or sets the half-edge id.

    Declaration
    public int ID { get; set; }
    Property Value
    Type Description
    System.Int32

    Next

    Gets or sets the next pointer of the half-edge.

    Declaration
    public HalfEdge Next { get; set; }
    Property Value
    Type Description
    HalfEdge

    Origin

    Gets or sets the origin of the half-edge.

    Declaration
    public Vertex Origin { get; set; }
    Property Value
    Type Description
    Vertex

    Twin

    Gets or sets the twin of the half-edge.

    Declaration
    public HalfEdge Twin { get; set; }
    Property Value
    Type Description
    HalfEdge

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    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