Skip to content

Commit

Permalink
update api
Browse files Browse the repository at this point in the history
  • Loading branch information
lscoder committed Feb 7, 2024
1 parent 4c64e76 commit e00a59f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions common/reviews/api/tools.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1646,6 +1646,9 @@ function debounce(func: Function, wait?: number, options?: {
trailing?: boolean;
}): Function;

// @public (undocumented)
function decimate(polyline: Types_2.Point2[], epsilon?: number): Types_2.Point2[];

// @public (undocumented)
const _default: {
filterAnnotationsWithinSlice: typeof filterAnnotationsWithinSlice;
Expand Down Expand Up @@ -3745,7 +3748,7 @@ declare namespace polyline {
getNormal3,
getNormal2,
intersectPolyline,
simplify,
decimate,
getFirstLineSegmentIntersectionIndexes,
getLineSegmentIntersectionsIndexes,
getLineSegmentIntersectionsCoordinates,
Expand Down Expand Up @@ -4695,9 +4698,6 @@ function setToolGroupSpecificConfig_2(toolGroupId: string, segmentationRepresent
// @public (undocumented)
function showAllAnnotations(): void;

// @public (undocumented)
function simplify(polyline: Types_2.Point2[], epsilon?: number): Types_2.Point2[];

// @public (undocumented)
function smoothAnnotation(enabledElement: Types_2.IEnabledElement, annotation: PlanarFreehandROIAnnotation, knotsRatioPercentage: number): boolean;

Expand Down Expand Up @@ -5627,7 +5627,7 @@ function updateContourPolyline(annotation: ContourAnnotation, polylineData: {
}, transforms: {
canvasToWorld: (point: Types_2.Point2) => Types_2.Point3;
}, options?: {
simplify?: {
decimate?: {
enabled?: boolean;
epsilon?: number;
};
Expand Down

0 comments on commit e00a59f

Please sign in to comment.