Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Point

Index

Constructors

constructor

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

    • context: Context
    • geometryHelper: GeometryHelper
    • line: Line

    Returns Point

Methods

averagePoint

  • Get average point of points

    group

    extract

    shortname

    average point

    drawable

    true

    Parameters

    Returns Point3

    point

closestPointFromPoints

  • Finds the closest point in a collection

    group

    extract

    shortname

    closest pt

    drawable

    true

    Parameters

    Returns Point3

    Closest point

closestPointFromPointsDistance

  • Measures the closest distance between a point and a collection of points

    group

    extract

    shortname

    distance to closest pt

    drawable

    false

    Parameters

    Returns number

    Distance to closest point

closestPointFromPointsIndex

  • Finds the closest point index between a point and a collection of points. Caution, index is not 0 based, it starts with 1.

    group

    extract

    shortname

    index of closest pt

    drawable

    false

    Parameters

    Returns number

    Closest point index

distance

  • Finds the distance between two points

    group

    measure

    shortname

    distance

    drawable

    false

    Parameters

    Returns number

    Distance

distancesToPoints

  • Finds the distances between the start point and multiple end points

    group

    measure

    shortname

    distances to points

    drawable

    false

    Parameters

    Returns number[]

    Distances

getX

  • Get x coordinate of the point

    group

    get

    shortname

    x coord

    drawable

    false

    Parameters

    Returns number

    X coordinate

getY

  • Get y coordinate of the point

    group

    get

    shortname

    y coord

    drawable

    false

    Parameters

    Returns number

    Y coordinate

getZ

  • Get z coordinate of the point

    group

    get

    shortname

    z coord

    drawable

    false

    Parameters

    Returns number

    Z coordinate

hexGrid

  • Creates a flat point grid on XY plane. This grid contains center points for hexagons of the given radius. Be aware that we control only the nr of hexagons to be made and not the length and width of the grid.

    group

    create

    shortname

    hex grid

    drawable

    true

    Parameters

    Returns Point3[]

    Points in the array on the grid

multiplyPoint

  • Multiply point by a specified amount

    group

    transforms

    shortname

    multiply point

    drawable

    true

    Parameters

    • inputs: MultiplyPointDto

      The point to be multiplied and the amount of points to create

    Returns Point3[]

    Distance

pointXY

  • Creates the xy point

    group

    create

    shortname

    point xy

    drawable

    false

    Parameters

    Returns Point2

    point 3d

pointXYZ

  • Creates the xyz point

    group

    create

    shortname

    point xyz

    drawable

    true

    Parameters

    Returns Point3

    point 3d

spiral

  • Creates the spiral out of multiple points

    group

    create

    shortname

    spiral

    drawable

    true

    Parameters

    Returns Point3[]

    Specified number of points in the array along the spiral

transformPoint

  • Transforms the single point

    group

    transforms

    shortname

    transform point

    drawable

    true

    Parameters

    Returns Point3

    Transformed point

transformPoints

  • Transforms multiple points

    group

    transforms

    shortname

    transform points

    drawable

    true

    Parameters

    Returns Point3[]

    Transformed points

transformsForPoints

  • Transforms multiple points by multiple transformations

    group

    transforms

    shortname

    transforms for points

    drawable

    true

    Parameters

    Returns Point3[]

    Transformed points

Generated using TypeDoc