Show / Hide Table of Contents

    Interface IAddVertexStrategy

    Interface for adding new vertices based on chosen strategy.

    Namespace: Elements.Spatial.AdaptiveGrid
    Assembly: Hypar.Elements.dll
    Syntax
    public interface IAddVertexStrategy

    Methods

    Add(AdaptiveGrid, Vector3, Boolean)

    Function called by grid were new vertices are added and connected.

    Declaration
    Vertex Add(AdaptiveGrid grid, Vector3 position, bool cut)
    Parameters
    Type Name Description
    AdaptiveGrid grid

    Grid to add vertices into

    Vector3 position

    Position of base vertex.

    System.Boolean cut

    Should new edges be automatically cut with the rest of the grid.

    Returns
    Type Description
    Vertex