Search Results for

    Show / Hide Table of Contents

    Class MeshLocalParam

    Inheritance
    Object
    MeshLocalParam
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class MeshLocalParam

    Constructors

    MeshLocalParam(Int32, Func<Int32, Vector3f>, Func<Int32, Vector3f>, Func<Int32, IEnumerable<Int32>>)

    Declaration
    public MeshLocalParam(int nMaxID, Func<int, Vector3f> nodePositionF, Func<int, Vector3f> nodeNormalF, Func<int, IEnumerable<int>> neighboursF)
    Parameters
    Type Name Description
    Int32 nMaxID
    Func<Int32, Vector3f> nodePositionF
    Func<Int32, Vector3f> nodeNormalF
    Func<Int32, IEnumerable<Int32>> neighboursF

    Fields

    InvalidUV

    Declaration
    public static readonly Vector2f InvalidUV
    Field Value
    Type Description
    Vector2f

    UVMode

    Declaration
    public MeshLocalParam.UVModes UVMode
    Field Value
    Type Description
    MeshLocalParam.UVModes

    Properties

    MaxGraphDistance

    Get the maximum distance encountered during the Compute()

    Declaration
    public float MaxGraphDistance { get; }
    Property Value
    Type Description
    Single

    MaxUVDistance

    Declaration
    public float MaxUVDistance { get; }
    Property Value
    Type Description
    Single

    Methods

    ApplyUVs(Action<Int32, Vector2f>)

    Declaration
    public void ApplyUVs(Action<int, Vector2f> applyF)
    Parameters
    Type Name Description
    Action<Int32, Vector2f> applyF

    ComputeToMaxDistance(Frame3f, Index3i, Single)

    Compute distances that are less/equal to fMaxDistance from the seeds Terminates early, so Queue may not be empty

    Declaration
    public void ComputeToMaxDistance(Frame3f seedFrame, Index3i seedNbrs, float fMaxGraphDistance)
    Parameters
    Type Name Description
    Frame3f seedFrame
    Index3i seedNbrs
    Single fMaxGraphDistance

    GetUV(Int32)

    Get the computed uv at node id

    Declaration
    public Vector2f GetUV(int id)
    Parameters
    Type Name Description
    Int32 id
    Returns
    Type Description
    Vector2f

    Reset()

    Declaration
    public void Reset()

    TransformUV(Single, Vector2f)

    Declaration
    public void TransformUV(float fScale, Vector2f vTranslate)
    Parameters
    Type Name Description
    Single fScale
    Vector2f vTranslate
    In This Article
    Back to top ViRGIS VR GIS