ParametricGeometries.d.ts 945 B

1234567891011121314151617181920212223242526272829303132333435
  1. import {
  2. Curve,
  3. Vector3
  4. } from '../../../src/Three';
  5. export namespace ParametricGeometries {
  6. export function klein( v: number, u: number, target: Vector3 ): Vector3;
  7. export function plane( width: number, height: number, target: Vector3 ): Vector3;
  8. export function mobius( u: number, t: number, target: Vector3 ): Vector3;
  9. export function mobius3d( u: number, t: number, target: Vector3 ): Vector3;
  10. export class TubeGeometry {
  11. constructor( path: Curve<Vector3>, segments?: number, radius?: number, segmentsRadius?: number, closed?: boolean, debug?: boolean );
  12. }
  13. export class TorusKnotGeometry {
  14. constructor( radius?: number, tube?: number, segmentsT?: number, segmentsR?: number, p?: number, q?: number );
  15. }
  16. export class SphereGeometry {
  17. constructor( size: number, u: number, v );
  18. }
  19. export class PlaneGeometry {
  20. constructor( width: number, depth: number, segmentsWidth: number, segmentsDepth: number );
  21. }
  22. }