Class MeshNormals
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
MeshNormals(IMesh, MeshNormals.NormalsTypes)
Declaration
public MeshNormals(IMesh mesh, MeshNormals.NormalsTypes eType = MeshNormals.NormalsTypes.Vertex_OneRingFaceAverage_AreaWeighted)
Parameters
Fields
Mesh
Declaration
Field Value
Normals
Declaration
public DVector<Vector3d> Normals
Field Value
NormalType
Declaration
public MeshNormals.NormalsTypes NormalType
Field Value
VertexF
By default this is Mesh.GetVertex(). Can override to provide
alternate vertex source.
Declaration
public Func<int, Vector3d> VertexF
Field Value
Properties
Item[Int32]
Declaration
public Vector3d this[int vid] { get; }
Parameters
Type |
Name |
Description |
Int32 |
vid |
|
Property Value
Methods
Compute()
Declaration
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
Returns