interpolateBetween MethodStatic
Construct a geometry item which is fractionally interpolated between two others.
- The construction is only supported between certain types:
- LineSegment3d+LineSegment3d -- endpoints are interpolated
- LineString3d+LineString3d with matching counts. Each point is interpolated.
- Arc3d+Arc3d -- center, vector0, vector90, and limit angles of the sweep are interpolated.
interpolateBetween(geometry0: GeometryQuery, fraction: number, geometry1: GeometryQuery): undefined | GeometryQuery
Parameter | Type | Description |
---|---|---|
geometry0 | GeometryQuery | geometry "at fraction 0" |
fraction | number | fractional position |
geometry1 | GeometryQuery | geometry "at fraction 1" |
Returns - undefined | GeometryQuery
Defined in
- curve/ConstructCurveBetweenCurves.ts Line 123
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.