Search Results for

    Show / Hide Table of Contents

    Class MeshNormals

    Inheritance
    Object
    MeshNormals
    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 MeshNormals

    Constructors

    MeshNormals(IMesh, MeshNormals.NormalsTypes)

    Declaration
    public MeshNormals(IMesh mesh, MeshNormals.NormalsTypes eType = MeshNormals.NormalsTypes.Vertex_OneRingFaceAverage_AreaWeighted)
    Parameters
    Type Name Description
    IMesh mesh
    MeshNormals.NormalsTypes eType

    Fields

    Mesh

    Declaration
    public IMesh Mesh
    Field Value
    Type Description
    IMesh

    Normals

    Declaration
    public DVector<Vector3d> Normals
    Field Value
    Type Description
    DVector<Vector3d>

    NormalType

    Declaration
    public MeshNormals.NormalsTypes NormalType
    Field Value
    Type Description
    MeshNormals.NormalsTypes

    VertexF

    By default this is Mesh.GetVertex(). Can override to provide alternate vertex source.

    Declaration
    public Func<int, Vector3d> VertexF
    Field Value
    Type Description
    Func<Int32, Vector3d>

    Properties

    Item[Int32]

    Declaration
    public Vector3d this[int vid] { get; }
    Parameters
    Type Name Description
    Int32 vid
    Property Value
    Type Description
    Vector3d

    Methods

    Compute()

    Declaration
    public void Compute()

    CopyTo(DMesh3)

    Declaration
    public void CopyTo(DMesh3 SetMesh)
    Parameters
    Type Name Description
    DMesh3 SetMesh

    QuickCompute(DMesh3)

    Declaration
    public static void QuickCompute(DMesh3 mesh)
    Parameters
    Type Name Description
    DMesh3 mesh

    QuickCompute(DMesh3, Int32, MeshNormals.NormalsTypes)

    Declaration
    public static Vector3d QuickCompute(DMesh3 mesh, int vid, MeshNormals.NormalsTypes type = MeshNormals.NormalsTypes.Vertex_OneRingFaceAverage_AreaWeighted)
    Parameters
    Type Name Description
    DMesh3 mesh
    Int32 vid
    MeshNormals.NormalsTypes type
    Returns
    Type Description
    Vector3d
    In This Article
    Back to top ViRGIS VR GIS