ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Constructor PointCloud3

    | Edit this page View Source

    PointCloud3()

    Initializes a new instance of the PointCloud3 class.

    Declaration
    public PointCloud3()
    | Edit this page View Source

    PointCloud3(ReadOnlySpan<Vector3>)

    Initializes a new instance of the PointCloud3 class.

    Declaration
    public PointCloud3(ReadOnlySpan<Vector3> points)
    Parameters
    Type Name Description
    ReadOnlySpan<Vector3> points
    | Edit this page View Source

    PointCloud3(ReadOnlySpan<float>, ReadOnlySpan<float>, ReadOnlySpan<float>)

    Initializes a new instance of the PointCloud3 class.

    Declaration
    public PointCloud3(ReadOnlySpan<float> xs, ReadOnlySpan<float> ys, ReadOnlySpan<float> zs)
    Parameters
    Type Name Description
    ReadOnlySpan<float> xs

    X coordinates of the points.

    ReadOnlySpan<float> ys

    Y coordinates of the points.

    ReadOnlySpan<float> zs

    Z coordinates of the points.

    Exceptions
    Type Condition
    ArgumentException

    Thrown when the lengths of the coordinate arrays do not match.

    | Edit this page View Source

    PointCloud3(int)

    Initializes a new instance of the PointCloud3 class with a specified buffer size.

    Declaration
    public PointCloud3(int bufferSize)
    Parameters
    Type Name Description
    int bufferSize

    The size of the buffer to allocate for the point cloud.

    Exceptions
    Type Condition
    ArgumentException

    Thrown when the buffer size is less than or equal to zero.