Search Results for

    Show / Hide Table of Contents

    Class PlanarSpansFiller

    This class fills an ordered sequence of planar spans. The 2D polygon is formed by chaining the spans.

    Current issues:

    • connectors have a single segment, so when simplified, they become a single edge. should subsample them instead.
    • currently mapping from inserted edges back to span edges is not calculated, so we have no way to merge them (ie MergeFillBoundary not implemented)
    • fill triangles not returned?
    Inheritance
    Object
    PlanarSpansFiller
    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 PlanarSpansFiller

    Constructors

    PlanarSpansFiller(DMesh3, IList<EdgeSpan>)

    Declaration
    public PlanarSpansFiller(DMesh3 mesh, IList<EdgeSpan> spans)
    Parameters
    Type Name Description
    DMesh3 mesh
    IList<EdgeSpan> spans

    Fields

    FillTargetEdgeLen

    fill mesh will be tessellated to this length, set to double.MaxValue to use zero-length tessellation

    Declaration
    public double FillTargetEdgeLen
    Field Value
    Type Description
    Double

    MergeFillBoundary

    in some cases fill can succeed but we can't merge w/o creating holes. In such cases it might be better to not merge at all...

    Declaration
    public bool MergeFillBoundary
    Field Value
    Type Description
    Boolean

    Mesh

    Declaration
    public DMesh3 Mesh
    Field Value
    Type Description
    DMesh3

    PlaneNormal

    Declaration
    public Vector3d PlaneNormal
    Field Value
    Type Description
    Vector3d

    PlaneOrigin

    Declaration
    public Vector3d PlaneOrigin
    Field Value
    Type Description
    Vector3d

    Methods

    Fill()

    Declaration
    public bool Fill()
    Returns
    Type Description
    Boolean

    SetPlane(Vector3d, Vector3d)

    Declaration
    public void SetPlane(Vector3d origin, Vector3d normal)
    Parameters
    Type Name Description
    Vector3d origin
    Vector3d normal

    SetPlane(Vector3d, Vector3d, Vector3d, Vector3d)

    Declaration
    public void SetPlane(Vector3d origin, Vector3d normal, Vector3d planeX, Vector3d planeY)
    Parameters
    Type Name Description
    Vector3d origin
    Vector3d normal
    Vector3d planeX
    Vector3d planeY
    In This Article
    Back to top ViRGIS VR GIS