Gets a bounding box of the points
Points
Bounding box of points
Finds the closest point in a collection
Point and points collection to find the closest point in
Closest point
Measures the closest distance between a point and a collection of points
Point from which to measure and points to measure the distance against
Distance to closest point
Finds the closest point index between a point and a collection of points. Caution, index is not 0 based, it starts with 1.
Point from which to find the index in a collection of points
Closest point index
Finds the distance between two points
Coordinates of start and end points
Distance
Finds the distances between the start point and multiple end points
Coordinates of start and end points
Distances
Get x coordinate of the point
The point
X coordinate
Get y coordinate of the point
The point
Y coordinate
Get z coordinate of the point
The point
Z coordinate
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.
Information about hexagon and the grid
Points in the array on the grid
Creates a pointy-top or flat-top hexagon grid, scaling hexagons to fit specified dimensions exactly. Returns both center points and the vertices of each (potentially scaled) hexagon. Hexagons are ordered column-first, then row-first.
Information about the desired grid dimensions and hexagon counts.
An object containing the array of center points and an array of hexagon vertex arrays.
Calculates the maximum possible fillet radius at a corner formed by two line segments sharing an endpoint (C), such that the fillet arc is tangent to both segments and lies entirely within them.
three points and the tolerance
the maximum fillet radius
Calculates the maximum possible fillet radius at a corner C, such that the fillet arc is tangent to both segments (P1-C, P2-C) and the tangent points lie within the first half of each segment (measured from C).
three points and the tolerance
the maximum fillet radius
Calculates the maximum possible fillet radius at each corner of a polyline formed by formed by a series of points. The fillet radius is calculated for each internal corner and optionally for the closing corners if the polyline is closed.
Points, checkLastWithFirst flag, and tolerance
Array of maximum fillet radii for each corner
Multiply point by a specified amount
The point to be multiplied and the amount of points to create
Distance
Creates a normal vector from 3 points
Three points and the reverse normal flag
Normal vector
Creates the xy point
xy information
point 3d
Creates the xyz point
xyz information
point 3d
Removes consecutive duplicates from the point array with tolerance
points, tolerance and check first and last
Points in the array without consecutive duplicates
Rotate multiple points by providing center point, axis and degrees of rotation
Contains points, axis, center point and angle of rotation
Rotated points
Calculates the single safest maximum fillet radius that can be applied uniformly to all corners of collection of points, based on the 'half-line' constraint. This is determined by finding the minimum of the maximum possible fillet radii calculated for each individual corner.
Defines the points, whether it's closed, and an optional tolerance.
The smallest value from the results of pointsMaxFilletsHalfLine. Returns 0 if the polyline has fewer than 3 points or if any calculated maximum radius is 0.
Scale multiple points by providing center point and x, y, z scale factors
Contains points, center point and scale factors
Scaled points
Stretch multiple points by providing center point, direction and uniform scale factor
Contains points, center point, direction and scale factor
Stretched points
Transforms the single point
Contains a point and the transformations to apply
Transformed point
Transforms multiple points
Contains points and the transformations to apply
Transformed points
Transforms multiple points by multiple transformations
Contains points and the transformations to apply
Transformed points
Translate multiple points
Contains points and the translation vector
Translated points
Translate multiple points
Contains points and the translation vector
Translated points
Translate multiple points by x, y, z values provided
Contains points and the translation in x y and z
Translated points
Checks if two points are almost equal
Two points and the tolerance
true if the points are almost equal
Generated using TypeDoc
Get average point of points
extract
average point
true