Spatial_Constraint
Mapped https://mapped.com/schema/mapped/1.0/openusd#Spatial_Constraint
Abstract. An explicit, parameterised spatial rule. Constraint behaviour applies only where such a vertex exists: without hasConstraint, stateless fusion does not clamp a body to a floor. Takes exactly one subject and one target in v1.
Hierarchy
Parent classes: OpenUSD_Concept
Subclasses (3):
Facts
| Fact | Value |
|---|---|
| URI | https://mapped.com/schema/mapped/1.0/openusd#Spatial_Constraint |
| Source | Mapped |
| Protobuf | SPATIAL_CONSTRAINT |
| Deprecated | No |
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
constraintEnabled | boolean | Yes | Explicit opt-in switch. | |
constraintHardness | string | Yes | Strength of the constraint: HARD, SOFT or ADVISORY. | |
constraintMode | string | Yes | What a consumer does when the constraint is not satisfied: VALIDATE_ONLY, PROJECT, TRUNCATE or REJECT. Geometric modes must target a Representation. | |
coordinateFrameId | string | Opaque reference into the external coordinate frame registry, matching the Frame_Geometry decision that frames resolve outside the Mapped graph. On a Representation it is optional: absent means the subject entity's own frame. | ||
description | string | |||
diagnosticCode | string | Stable code emitted when the constraint is violated. | ||
name | string | |||
toleranceMeters | double | Numerical and contact tolerance in metres. | ||
validFrom | dateTime | Start of validity. | ||
validThrough | dateTime | End of validity. |
exactType is Spatial_Constraint or the name of one of its subclasses (4 values).
Inherited properties (5)
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
connectorIds | Array<string> | The ids of the connectors associated with the entity. | ||
dateCreated | dateTime | Datetime when it is created. | ||
dateUpdated | dateTime | Datetime when it is updated last time. | ||
id | string | Yes | A globally unique ID in Mapped services. | |
organizationId | string | Yes | The id of the organization that owns the entity. |
Relationships
| Relationship | Targets | Inverse | Cardinality | Notes |
|---|---|---|---|---|
constrains | Thing, Place | hasConstraint | 0..* | The entity that opted into this constraint. |
constrainsAgainst | Meta | isConstraintTarget | 1..1 | transitive, canonical The surface, volume or geometry the constraint is evaluated against. Exactly one in v1; must be a Representation when constraintMode is PROJECT, TRUNCATE or REJECT. |
constrainsSubject | Meta | isSubjectOfConstraint | 1..1 | transitive, canonical The body the constraint applies to. Exactly one in v1. |
Inherited relationships (1)
| Relationship | Targets | Inverse | Cardinality | Notes |
|---|---|---|---|---|
contributesProperty | Meta | hasPropertyContributedFrom | 0..* | transitive, canonical Mapped's internal relationship indicating that a vertex is contributing a property/value to another vertex. |
Referenced by
Classes whose own relationships point at Spatial_Constraint.
- hasConstraint (2): Place, Thing
- isConstraintTarget (2): Entity, Representation
- isSubjectOfConstraint (1): Entity
Something wrong or missing on this page? Propose a change to Spatial_Constraint.