Class MeshGenerator
Inheritance
MeshGenerator
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public abstract class MeshGenerator
Fields
Clockwise
Declaration
Field Value
groups
Declaration
Field Value
normals
Declaration
public VectorArray3f normals
Field Value
triangles
Declaration
public IndexArray3i triangles
Field Value
uv
Declaration
Field Value
vertices
Declaration
public VectorArray3d vertices
Field Value
WantGroups
Declaration
Field Value
WantNormals
Declaration
Field Value
WantUVs
Declaration
Field Value
Methods
append_2d_disc_segment(Int32, Int32, Int32, Int32, Boolean, ref Int32, ref Int32, Int32, Double)
Declaration
protected void append_2d_disc_segment(int iCenter, int iEnd1, int iEnd2, int nSteps, bool bCycle, ref int vtx_counter, ref int tri_counter, int groupid = -1, double force_r = 0)
Parameters
append_disc(Int32, Int32, Int32, Boolean, Boolean, ref Int32, Int32)
Declaration
protected void append_disc(int Slices, int nCenterV, int nRingStart, bool bClosed, bool bCycle, ref int tri_counter, int groupid = -1)
Parameters
append_rectangle(Int32, Int32, Int32, Int32, Boolean, ref Int32, Int32)
Declaration
protected void append_rectangle(int v0, int v1, int v2, int v3, bool bCycle, ref int tri_counter, int groupid = -1)
Parameters
bilerp(ref Vector2d, ref Vector2d, ref Vector2d, ref Vector2d, Double, Double)
Declaration
protected Vector2d bilerp(ref Vector2d v00, ref Vector2d v10, ref Vector2d v11, ref Vector2d v01, double tx, double ty)
Parameters
Returns
bilerp(ref Vector2f, ref Vector2f, ref Vector2f, ref Vector2f, Single, Single)
Declaration
protected Vector2f bilerp(ref Vector2f v00, ref Vector2f v10, ref Vector2f v11, ref Vector2f v01, float tx, float ty)
Parameters
Returns
bilerp(ref Vector3d, ref Vector3d, ref Vector3d, ref Vector3d, Double, Double)
Declaration
protected Vector3d bilerp(ref Vector3d v00, ref Vector3d v10, ref Vector3d v11, ref Vector3d v01, double tx, double ty)
Parameters
Returns
bilerp(ref Vector3i, ref Vector3i, ref Vector3i, ref Vector3i, Double, Double)
Declaration
protected Vector3i bilerp(ref Vector3i v00, ref Vector3i v10, ref Vector3i v11, ref Vector3i v01, double tx, double ty)
Parameters
Returns
duplicate_vertex_span(Int32, Int32)
Declaration
protected void duplicate_vertex_span(int nStart, int nCount)
Parameters
estimate_normal(Int32, Int32, Int32)
Declaration
protected Vector3f estimate_normal(int v0, int v1, int v2)
Parameters
Returns
Generate()
Declaration
public abstract MeshGenerator Generate()
Returns
lerp(ref Vector3i, ref Vector3i, Double)
Declaration
protected Vector3i lerp(ref Vector3i a, ref Vector3i b, double t)
Parameters
Returns
MakeDMesh()
Declaration
public virtual DMesh3 MakeDMesh()
Returns
MakeMesh(DMesh3)
Declaration
public virtual void MakeMesh(DMesh3 m)
Parameters
Type |
Name |
Description |
DMesh3 |
m |
|
MakeMesh(NTMesh3)
Declaration
public virtual void MakeMesh(NTMesh3 m)
Parameters
MakeMesh(SimpleMesh)
Declaration
public virtual void MakeMesh(SimpleMesh m)
Parameters
MakeNTMesh()
Declaration
public virtual NTMesh3 MakeNTMesh()
Returns
MakeSimpleMesh()
Declaration
public virtual SimpleMesh MakeSimpleMesh()
Returns