Search Results for

    Show / Hide Table of Contents

    Class MeshGenerator

    Inheritance
    Object
    MeshGenerator
    CappedCylinderGenerator
    ConeGenerator
    Curve3Axis3RevolveGenerator
    Curve3Curve3RevolveGenerator
    GridBox3Generator
    OpenCylinderGenerator
    PointSplatsGenerator
    PuncturedDiscGenerator
    RoundRectGenerator
    TriangulatedPolygonGenerator
    TrivialBox3Generator
    TrivialDiscGenerator
    TrivialRectGenerator
    TubeGenerator
    VerticalGeneralizedCylinderGenerator
    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 abstract class MeshGenerator

    Fields

    Clockwise

    Declaration
    public bool Clockwise
    Field Value
    Type Description
    Boolean

    groups

    Declaration
    public int[] groups
    Field Value
    Type Description
    Int32[]

    normals

    Declaration
    public VectorArray3f normals
    Field Value
    Type Description
    VectorArray3f

    triangles

    Declaration
    public IndexArray3i triangles
    Field Value
    Type Description
    IndexArray3i

    uv

    Declaration
    public VectorArray2f uv
    Field Value
    Type Description
    VectorArray2f

    vertices

    Declaration
    public VectorArray3d vertices
    Field Value
    Type Description
    VectorArray3d

    WantGroups

    Declaration
    public bool WantGroups
    Field Value
    Type Description
    Boolean

    WantNormals

    Declaration
    public bool WantNormals
    Field Value
    Type Description
    Boolean

    WantUVs

    Declaration
    public bool WantUVs
    Field Value
    Type Description
    Boolean

    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
    Type Name Description
    Int32 iCenter
    Int32 iEnd1
    Int32 iEnd2
    Int32 nSteps
    Boolean bCycle
    Int32 vtx_counter
    Int32 tri_counter
    Int32 groupid
    Double force_r

    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
    Type Name Description
    Int32 Slices
    Int32 nCenterV
    Int32 nRingStart
    Boolean bClosed
    Boolean bCycle
    Int32 tri_counter
    Int32 groupid

    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
    Type Name Description
    Int32 v0
    Int32 v1
    Int32 v2
    Int32 v3
    Boolean bCycle
    Int32 tri_counter
    Int32 groupid

    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
    Type Name Description
    Vector2d v00
    Vector2d v10
    Vector2d v11
    Vector2d v01
    Double tx
    Double ty
    Returns
    Type Description
    Vector2d

    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
    Type Name Description
    Vector2f v00
    Vector2f v10
    Vector2f v11
    Vector2f v01
    Single tx
    Single ty
    Returns
    Type Description
    Vector2f

    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
    Type Name Description
    Vector3d v00
    Vector3d v10
    Vector3d v11
    Vector3d v01
    Double tx
    Double ty
    Returns
    Type Description
    Vector3d

    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
    Type Name Description
    Vector3i v00
    Vector3i v10
    Vector3i v11
    Vector3i v01
    Double tx
    Double ty
    Returns
    Type Description
    Vector3i

    duplicate_vertex_span(Int32, Int32)

    Declaration
    protected void duplicate_vertex_span(int nStart, int nCount)
    Parameters
    Type Name Description
    Int32 nStart
    Int32 nCount

    estimate_normal(Int32, Int32, Int32)

    Declaration
    protected Vector3f estimate_normal(int v0, int v1, int v2)
    Parameters
    Type Name Description
    Int32 v0
    Int32 v1
    Int32 v2
    Returns
    Type Description
    Vector3f

    Generate()

    Declaration
    public abstract MeshGenerator Generate()
    Returns
    Type Description
    MeshGenerator

    lerp(ref Vector3i, ref Vector3i, Double)

    Declaration
    protected Vector3i lerp(ref Vector3i a, ref Vector3i b, double t)
    Parameters
    Type Name Description
    Vector3i a
    Vector3i b
    Double t
    Returns
    Type Description
    Vector3i

    MakeDMesh()

    Declaration
    public virtual DMesh3 MakeDMesh()
    Returns
    Type Description
    DMesh3

    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
    Type Name Description
    NTMesh3 m

    MakeMesh(SimpleMesh)

    Declaration
    public virtual void MakeMesh(SimpleMesh m)
    Parameters
    Type Name Description
    SimpleMesh m

    MakeNTMesh()

    Declaration
    public virtual NTMesh3 MakeNTMesh()
    Returns
    Type Description
    NTMesh3

    MakeSimpleMesh()

    Declaration
    public virtual SimpleMesh MakeSimpleMesh()
    Returns
    Type Description
    SimpleMesh
    In This Article
    Back to top ViRGIS VR GIS