Socket
Book a DemoInstallSign in
Socket

@mappedin/mvf-kinds

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mappedin/mvf-kinds

The Kinds extension provides a high level categorization of geometry in an MVF. A geometry can have only ONE kind, from the [KIND](../variables/_mappedin_mvf-kinds.KIND.html) enum. Examples include `room`, `hallway`, `wall`, and `area`.

latest
Source
npmnpm
Version
3.0.0-beta.10
Version published
Maintainers
0
Created
Source

MVF Kinds

The Kinds extension provides a high level categorization of geometry in an MVF. A geometry can have only ONE kind, from the KIND enum. Examples include room, hallway, wall, and area.

Note that this is a SafeStringEnum, so unknown is a valid value. New kinds will likely be added in the future, and if the version of the MVF package being used does not support it, it will be downgraded to unknown automatically.

When consuming an MVF directly without this package, the downgrade will need to be handled by the application. An application may ignore the unknown kind, or have some generic behavior, but it must not crash or throw errors.

Schema

The Kinds extension adds a kinds property to the MVF, which is a record of FloorId to GeometryKinds objects.

GeometryKinds are records of GeometryId to Kind objects.

Example

{
	"kinds": {
		"f_000001": {
			"g_000001": "room",
			"g_000002": "hallway"
		}
	}
}

FAQs

Package last updated on 26 Sep 2025

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