const FaceSegmentsTrait:
Trait<{ segments?: number | VectorLike | TensorArray | undefined; indices?: number | VectorLike | TensorArray | undefined; } & { positions?: VectorLikes | VectorLikes[], segments?: VectorLikes, indices?: VectorLikes } & { concave?: boolean | undefined; },
OutputTypes<{ segments: (t?: number | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[] | TensorArray) => number | Float32Array | undefined, indices: (t?: number | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[] | TensorArray) => number | Float32Array | undefined }> & { positions?: TypedArray, chunks?: VectorLike, groups?: VectorLike, formats: Record<string, string>, schema: ArchetypeSchema, tensor?: number[], ragged?: Ragged } & OutputTypes<{ concave: (t?: boolean) => boolean | undefined }> & { chunks?: VectorLike, groups?: VectorLike, concave?: boolean, positions?: TypedArray, count?: number, indexed?: number, segments?: TypedArray, indices?: TypedArray, slices?: TypedArray }>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / plot / src / traits.ts