Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • Geom2dTrimmedCurveDto

Index

Constructors

Properties

Constructors

constructor

  • new Geom2dTrimmedCurveDto<T>(shape?: T, u1?: number, u2?: number, sense?: boolean, adjustPeriodic?: boolean): Geom2dTrimmedCurveDto<T>
  • Type parameters

    • T

    Parameters

    • Optional shape: T
    • Optional u1: number
    • Optional u2: number
    • Optional sense: boolean
    • Optional adjustPeriodic: boolean

    Returns Geom2dTrimmedCurveDto<T>

Properties

adjustPeriodic

adjustPeriodic: boolean

If the curve is closed but not periodic it is not possible to keep the part of the curve including the junction point (except if the junction point is at the beginning or at the end of the trimmed curve) because you could lose the fundamental characteristics of the basis curve which are used for example to compute the derivatives of the trimmed curve. So for a closed curve the rules are the same as for a open curve.

default

true

sense

sense: boolean

If the basis curve C is periodic there is an ambiguity because two parts are available. In this case by default the trimmed curve has the same orientation as the basis curve (Sense = True). If Sense = False then the orientation of the trimmed curve is opposite to the orientation of the basis curve C.

default

true

shape

shape: T

2D Curve to trim

default

undefined

u1

u1: number

First param on the curve for trimming. U1 can be greater or lower than U2. The returned curve is oriented from U1 to U2.

default

0

minimum

0

maximum

Infinity

step

0.1

u2

u2: number

Second parameter on the curve for trimming

default

1

minimum

0

maximum

Infinity

step

0.1

Generated using TypeDoc