Я разрабатываю небольшой Java API, который манипулирует объектами IFC (Industry Foundation Class). Для этого я использую внешние инструменты, такие как BIMserver.
Прямо сейчас я пытаюсь получить координаты каждого объекта, который является экземпляром IfcProduct. Однако я просто получаю относительные координаты другого IfcProduct через IfcLocalPlacement
, а не абсолютные координаты объекта. Следовательно, референтом для каждого объекта является сущность, в которой он содержится.
Моя цель - рассчитать расстояние между объектами IFC (просто чтобы показать информацию пользователю, я не пытаюсь визуализировать объекты и т.д.). Например, расстояние между IfcSpace
и IfcDistributionControlElement
.
Кто-нибудь знает, как получить абсолютные координаты (не относительные координаты) каждого объекта IFC? Если вы знаете какие-то API или библиотеки, которые могли бы мне помочь, вы тоже можете их прислать.