BurstTriangulator
v3.8.0
Search Results for

    Show / Hide Table of Contents

    Method NextHalfedge

    NextHalfedge(int)

    Returns the next halfedge index after he. Useful for iterating over a triangle mesh.

    Declaration
    public static int NextHalfedge(int he)
    Parameters
    Type Name Description
    int he

    The current halfedge index. Should be non-negative.

    Returns
    Type Description
    int

    The next halfedge index.

    Remarks

    This method calculates the next halfedge index using: he % 3 == 2 ? he - 2 : he + 1.

    In this article
    Back to top Generated by DocFX | Documentation © 2024 by Andrzej Więckowski is licensed under CC BY 4.0