Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains various methods for points. Point in bitbybit is simply an array containing 3 numbers for [x, y, z]. Because of this form Point can be interchanged with Vector, which also is an array in [x, y, z] form. When creating 2D points, z coordinate is simply set to 0 - [x, y, 0].

Blockly Image

Hierarchy

  • Point

Index

Constructors

constructor

  • new Point(context: Context, geometryHelper: GeometryHelper, line: Line): Point

Methods

closestPointFromPoints

closestPointFromPointsDistance

closestPointFromPointsIndex

distance

drawPoint

drawPoints

drawPointsAsync

getX

getY

getZ

hexGrid

multiplyPoint

spiral

transformPoint

transformPoints

Generated using TypeDoc