Search Results for

    Show / Hide Table of Contents

    Class SphericalFibonacciPointSet

    A Spherical Fibonacci Point Set is a set of points that are roughly evenly distributed on a sphere. Basically the points lie on a spiral, see pdf below. The i-th SF point of an N-point set can be calculated directly. For a given (normalized) point P, finding the nearest SF point (ie mapping back to i) can be done in constant time.

    math from http://lgdv.cs.fau.de/uploads/publications/spherical_fibonacci_mapping_opt.pdf

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

    Constructors

    SphericalFibonacciPointSet(Int32)

    Declaration
    public SphericalFibonacciPointSet(int n = 64)
    Parameters
    Type Name Description
    Int32 n

    Fields

    N

    Declaration
    public int N
    Field Value
    Type Description
    Int32

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32

    Item[Int32]

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

    Methods

    NearestPoint(Vector3d, Boolean)

    Find index of nearest point-set point for input arbitrary point

    Declaration
    public int NearestPoint(Vector3d p, bool bIsNormalized = false)
    Parameters
    Type Name Description
    Vector3d p
    Boolean bIsNormalized
    Returns
    Type Description
    Int32

    Point(Int32)

    Compute i'th spherical point

    Declaration
    public Vector3d Point(int i)
    Parameters
    Type Name Description
    Int32 i
    Returns
    Type Description
    Vector3d
    In This Article
    Back to top ViRGIS VR GIS