Skip to main content

Class: CornerFinder

Hierarchy

Constructors

constructor

new CornerFinder()

Inherited from

Finder<Corner, Blueprint>.constructor

Defined in

finders/definitions.ts:37

Filter Methods

atDistance

atDistance(distance, point?): CornerFinder

Parameters

NameType
distancenumber
pointPoint2D

Returns

CornerFinder

Defined in

finders/cornerFinder.ts:57


atPoint

atPoint(point): CornerFinder

Parameters

NameType
pointPoint2D

Returns

CornerFinder

Defined in

finders/cornerFinder.ts:70


inBox

inBox(corner1, corner2): CornerFinder

Parameters

NameType
corner1Point2D
corner2Point2D

Returns

CornerFinder

Defined in

finders/cornerFinder.ts:83


inList

inList(elementList): CornerFinder

Parameters

NameType
elementListPoint2D[]

Returns

CornerFinder

Defined in

finders/cornerFinder.ts:44


ofAngle

ofAngle(angle): CornerFinder

Parameters

NameType
anglenumber

Returns

CornerFinder

Defined in

finders/cornerFinder.ts:107


Filter Combination Methods

and

and(findersList): CornerFinder

Parameters

NameType
findersList(f: CornerFinder) => CornerFinder[]

Returns

CornerFinder

Inherited from

Finder.and

Defined in

finders/definitions.ts:56


either

either(findersList): CornerFinder

Parameters

NameType
findersList(f: CornerFinder) => CornerFinder[]

Returns

CornerFinder

Inherited from

Finder.either

Defined in

finders/definitions.ts:88


not

not(finderFun): CornerFinder

Parameters

NameType
finderFun(f: CornerFinder) => CornerFinder

Returns

CornerFinder

Inherited from

Finder.not

Defined in

finders/definitions.ts:69


Other Methods

clone

clone(): CornerFinder

Returns

CornerFinder

Defined in

finders/cornerFinder.ts:33


delete

delete(): void

Returns

void

Inherited from

Finder.delete

Defined in

finders/definitions.ts:41


find

find(shape, options): Corner

Parameters

NameType
shapeBlueprint
optionsObject
options.uniquetrue

Returns

Corner

Inherited from

Finder.find

Defined in

finders/definitions.ts:109

find(shape): Corner[]

Parameters

NameType
shapeBlueprint

Returns

Corner[]

Inherited from

Finder.find

Defined in

finders/definitions.ts:110

find(shape, options): Corner[]

Parameters

NameType
shapeBlueprint
optionsObject
options.unique?false

Returns

Corner[]

Inherited from

Finder.find

Defined in

finders/definitions.ts:111


shouldKeep

shouldKeep(element): boolean

Parameters

NameType
elementCorner

Returns

boolean

Overrides

Finder.shouldKeep

Defined in

finders/cornerFinder.ts:124