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

    Class Vertex

    Inheritance
    System.Object
    Point
    Vertex
    Inherited Members
    Point.ID
    Point.X
    Point.Y
    Point.Label
    Point.Equals(Object)
    Point.Equals(Point)
    Point.CompareTo(Point)
    Point.GetHashCode()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.U2D.TriangleNet.Topology.DCEL
    Syntax
    public class Vertex : Point, IComparable<Point>, IEquatable<Point>

    Constructors

    Vertex(Double, Double)

    Initializes a new instance of the Vertex class.

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

    The x coordinate.

    System.Double y

    The y coordinate.

    Vertex(Double, Double, HalfEdge)

    Initializes a new instance of the Vertex class.

    Declaration
    public Vertex(double x, double y, HalfEdge leaving)
    Parameters
    Type Name Description
    System.Double x

    The x coordinate.

    System.Double y

    The y coordinate.

    HalfEdge leaving

    A half-edge leaving this vertex.

    Properties

    Leaving

    Gets or sets a half-edge leaving the vertex.

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

    Methods

    EnumerateEdges()

    Enumerates all half-edges leaving this vertex.

    Declaration
    public IEnumerable<HalfEdge> EnumerateEdges()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<HalfEdge>

    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