react-three-nurbs
Version:
A React component library for NURBS (Non-Uniform Rational B-Spline) curves, surfaces, and solids in Three.js. Built with React Three Fiber, zero external NURBS dependencies — all math implemented from scratch. Boolean operations powered by OpenCASCADE WAS
12 lines (11 loc) • 544 B
TypeScript
import type { LineProps } from "@react-three/drei";
export interface NurbsEllipseArcProps extends Omit<LineProps, "points" | "resolution"> {
center?: [number, number, number];
xaxis?: [number, number, number];
yaxis?: [number, number, number];
startAngle?: number;
endAngle?: number;
resolution?: number;
color?: string;
}
export declare const NurbsEllipseArc: ({ center, xaxis, yaxis, startAngle, endAngle, resolution, color, ...lineProps }: NurbsEllipseArcProps) => import("react/jsx-runtime").JSX.Element | null;