CurveExtras.d.ts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. import {
  2. Curve,
  3. Vector3
  4. } from '../../../src/Three';
  5. export namespace Curves {
  6. export class GrannyKnot extends Curve<Vector3> {
  7. constructor();
  8. }
  9. export class HeartCurve extends Curve<Vector3> {
  10. constructor( scale?: number );
  11. scale: number;
  12. }
  13. export class VivianiCurve extends Curve<Vector3> {
  14. constructor( scale?: number );
  15. scale: number;
  16. }
  17. export class KnotCurve extends Curve<Vector3> {
  18. constructor();
  19. }
  20. export class HelixCurve extends Curve<Vector3> {
  21. constructor();
  22. }
  23. export class TrefoilKnot extends Curve<Vector3> {
  24. constructor( scale?: number );
  25. scale: number;
  26. }
  27. export class TorusKnot extends Curve<Vector3> {
  28. constructor( scale?: number );
  29. scale: number;
  30. }
  31. export class CinquefoilKnot extends Curve<Vector3> {
  32. constructor( scale?: number );
  33. scale: number;
  34. }
  35. export class TrefoilPolynomialKnot extends Curve<Vector3> {
  36. constructor( scale?: number );
  37. scale: number;
  38. }
  39. export class FigureEightPolynomialKnot extends Curve<Vector3> {
  40. constructor( scale?: number );
  41. scale: number;
  42. }
  43. export class DecoratedTorusKnot4a extends Curve<Vector3> {
  44. constructor( scale?: number );
  45. scale: number;
  46. }
  47. export class DecoratedTorusKnot4b extends Curve<Vector3> {
  48. constructor( scale?: number );
  49. scale: number;
  50. }
  51. export class DecoratedTorusKnot5a extends Curve<Vector3> {
  52. constructor( scale?: number );
  53. scale: number;
  54. }
  55. export class DecoratedTorusKnot5c extends Curve<Vector3> {
  56. constructor( scale?: number );
  57. scale: number;
  58. }
  59. }