ArraysAndInterfaces

These classes support array operations and inheritance-based algorithms.

  • Arrays
    • GrowableArray -- A carrier for a Float64Array, with methods that hide reallocation of the underlying array as contents are added.
    • Point2dArray, Point3dArray, Point4dArray, Vector3dArray -- miscellaneous operations on arrays of 2d and 3d points.
  • Interfaces
    • GeometryHandler -- a double-dispatch protocol used for efficient implementation of algorithms that work on many geometry types.

Classes

Name Description
GeometryHandler
GrowableFloat64Array A GrowableFloat64Array is Float64Array accompanied by a count of how many of the array's entries are considered in use.
GrowableXYZArray Use a Float64Array to pack xyz coordinates.
IndexedXYZCollection abstract base class for access to XYZ data with indexed reference.
NullGeometryHandler NullGeometryHandler is a base class for dispatching various geometry types to

Interfaces

Name Description
IStrokeHandler IStrokeHandler is an interface with methods to receive data about curves being stroked.
UVSurface Interface with methods for mapping (u,v) fractional coordinates to surface xyz and derivatives.

Type Aliases

Name Description
BlockComparisonFunction
OptionalGrowableFloat64Array

Last Updated: 17 December, 2018