@bitbybit-dev/core
Version:
Bit By Bit Developers Core CAD API to Program Geometry
30 lines (29 loc) • 982 B
TypeScript
import { ContextBase } from "../../context";
import * as Inputs from "../../inputs/inputs";
/**
* Spherical surface functions.
* These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/.
* Thanks Peter Boyer for his work.
*/
export declare class VerbSurfaceSpherical {
private readonly context;
constructor(context: ContextBase);
/**
* Creates the spherical Nurbs surface
* @param inputs Parameters for Nurbs spherical surface
* @returns Spherical Nurbs surface
*/
create(inputs: Inputs.Verb.SphericalParametersDto): any;
/**
* Get the radius of the spherical Nurbs surface
* @param inputs Spherical Nurbs surface
* @returns Radius
*/
radius(inputs: Inputs.Verb.SphereDto): number;
/**
* Get the center of the spherical Nurbs surface
* @param inputs Spherical Nurbs surface
* @returns Center point
*/
center(inputs: Inputs.Verb.SphereDto): number[];
}