OffsetHelpers Class

Methods

Name Description
constructor(): OffsetHelpers    
appendOffsets(data: undefined | AnyCurve | AnyCurve[], offset: number, result: GeometryQuery[], skipOffsetOfLoop: boolean): number Static    
collectChains(fragments: GeometryQuery[], gapTolerance: number, planarTolerance: number = Geometry.smallMetricDistance): ChainTypes Static * Restructure curve fragments as chains and offsets  
collectInsideAndOutsideOffsets(fragments: GeometryQuery[], offsetDistance: number, gapTolerance: number): { chains: ChainTypes, insideOffsets: GeometryQuery[], outsideOffsets: GeometryQuery[] } Static * Restructure curve fragments as chains and offsets  
extendRange(range: Range3d, data: any): Range3d Static    
moveHeadOrTail(g0: CurvePrimitive, g1: CurvePrimitive, maxShift: number): boolean Static    
simpleEndPointMove(g: CurvePrimitive, atEnd: boolean, to: Readonly<WritableXYAndZ>): boolean Static If allowed by the geometry type, move an endpoint.  
sumLengths(data: any): number Static    

Defined in

Last Updated: 20 June, 2023