🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@ifc-lite/spatial

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ifc-lite/spatial

Spatial indexing for IFC-Lite

latest
Source
npmnpm
Version
1.14.5
Version published
Maintainers
1
Created
Source

@ifc-lite/spatial

Spatial indexing for IFClite. Builds BVH (Bounding Volume Hierarchy) structures for fast ray casting and spatial queries.

Installation

npm install @ifc-lite/spatial

Quick Start

import { buildSpatialIndex } from '@ifc-lite/spatial';

const index = buildSpatialIndex(meshData);
const hit = index.raycast(origin, direction);

Features

  • BVH-based spatial indexing
  • Fast ray casting for entity picking
  • CPU-based raycasting for models with 500+ elements

API

See the API Reference.

License

MPL-2.0

Keywords

ifc

FAQs

Package last updated on 01 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts