HoloField - Boundary-to-Volume Generator
    Preparing search index...

    Variable LatLongSamplerConst

    LatLongSampler: {
        defaults: {
            displayRadius: number;
            phiSegments: number;
            thetaSegments: number;
        };
        metadata: {
            description: string;
            displayName: string;
            samplerType: "boundary";
        };
        generate(
            boundary: BoundaryField,
            options: BoundarySamplerOptions,
        ): PointDataset;
    } = ...

    Samples the boundary function on a regular latitude–longitude grid.

    Sample positions are generated from uniformly spaced latitude and longitude intervals, producing a structured spherical grid. This approach is simple and efficient, but exhibits increasing sample density near the poles.

    Type Declaration

    Increasing either segment count increases the number of sampled directions and produces a denser approximation of the boundary surface at the cost of additional computation.

    Theta controls the number of rings between the two poles.

    Phi controls the number of angular divisions around the sphere's axis.

    Boundary field to sample.

    Sampling configuration.

    Number of subdivisions between the north and south poles. Higher values improve sampling density along the polar direction.

    Number of subdivisions around the sphere's equator. Higher values improve sampling density around the azimuth.

    Radius of the sampled sphere used for visualization. Does not affect the sampled field values.

    A PointDataset containing the sampled boundary values.