Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BoundingBox<VertexType, TransformType>

Type parameters

Hierarchy

Index

Constructors

constructor

  • new BoundingBox<VertexType, TransformType>(...points: VertexType[]): BoundingBox<VertexType, TransformType>

Properties

maxPoint

maxPoint: undefined | VertexType

minPoint

minPoint: undefined | VertexType

transform

transform: TransformType

Accessors

Abstract center

  • get center(): undefined | VertexType

Abstract corners

  • get corners(): VertexType[]

Methods

boundPoint

  • boundPoint(p: VertexType): void
  • BoundPoint should adapt our bounds to include a new point should that point be outside of the current bounds.

    Parameters

    • p: VertexType

    Returns void

Abstract clone

pointInBounds

  • pointInBounds(p: VertexType, epsilon?: number): boolean

Abstract randomTransformedPoint

  • randomTransformedPoint(): VertexType

reset

  • reset(): void

Generated using TypeDoc