Wire
Standalone 1D topological complex (vertex/edge graph document; may branch).
import { Wire } from '@huukhanhnguyen/geometry'API reference
Wire.counts
Wire.counts(json: string): Uint32ArrayWasm: wire_counts
Wire.edgeValue
Wire.edgeValue(json: string, edge_index: number, t: number): Float64ArrayWasm: wire_edge_value
Wire.isChain
Wire.isChain(json: string): booleanWasm: wire_is_chain
Wire.isClosed
Wire.isClosed(json: string): booleanWasm: wire_is_closed
Wire.transform
Wire.transform(json: string, matrix: Float64Array): stringWasm: wire_transform
Wire.vertexPositions
Wire.vertexPositions(json: string): Float64ArrayWasm: wire_vertex_positions
See GEOMETRY_CATALOG.md for catalog ownership.