Modifier and Type | Method and Description |
---|---|
Optional<Double> |
distance(Component other)
Returns the minimum 3d distance between the surfaces of this
Component and another, if it exists. |
Optional<Double> |
distance(Vector3d point)
Returns the minimum 3d distance between the surface of this
Component and a given point, if it exists. |
boolean |
equals(Object object)
Returns true if the components are equal.
|
Optional<String> |
getBATID()
Returns the BIM Authoring Tool ID (BATID) of this component if one is specified.
|
double |
getBottomElevationFromFloor()
Returns the bottom elevation of this component measured from the level of the
floor on which this component is located.
|
AABB3d |
getBoundingBox()
Calculates the axis-aligned bounding box for this component.
|
Optional<Building> |
getBuilding()
Returns the building in which this component is located.
|
ComponentType |
getComponentType()
Returns the
ComponentType of the entity. |
Optional<String> |
getConstructionType()
Returns the technical construction type of the component if it is specified.
|
Optional<String> |
getDescriptionText()
Returns a textual description of this component if one is specified.
|
Optional<String> |
getDisciplineName()
Returns the name of the discipline of this component if one is specified.
|
Optional<BuildingStorey> |
getFederatedFloor()
Returns the federated floor on which this component is located.
|
Optional<BuildingStorey> |
getFloor()
Returns the floor on which this component is located.
|
Footprint |
getFootprint()
Returns the footprint for this component.
|
Set<FunctionalSystem> |
getFunctionalSystems()
Returns a set of the systems of this component.
|
double |
getGlobalBottomElevation()
Returns the global bottom elevation of this component in the model.
|
double |
getGlobalTopElevation()
Returns the global top elevation of this component in the model.
|
Set<Group> |
getGroups()
Returns a set of the groups of the component if any exists, otherwise returns empty collection.
|
String |
getGUID()
Returns the GUID of this component specified in IFC.
|
Collection<Hyperlink> |
getHyperlinks()
Returns the hyperlinks associated with this component.
|
Set<Intersection> |
getIntersections(Component component)
Returns the intersections of this component and given component.
|
List<Material> |
getMaterials()
Returns a list of the materials of this component.
|
String |
getName()
Returns the name of this component.
|
Optional<Profile> |
getProfile()
Returns the profile of this component if it exists.
|
Collection<PropertySet> |
getPropertySets()
Returns the property sets of this component.
|
Collection<PropertySet> |
getPropertySets(String name)
Returns the property sets of this component with the given name.
|
<T> Optional<T> |
getPropertyValue(PropertyReference propertyReference)
Returns the value of property to which the given PropertyReference refers.
|
Collection<Component> |
getRelated(Relation relation)
Returns the components that are related to this component through the given relation.
|
Optional<Site> |
getSite()
Returns the site of the component if it exists.
|
double |
getTopElevationFromFloor()
Returns the top elevation of this component measured from the level of the
floor on which this component is located.
|
TriangleMesh |
getTriangleMesh()
Returns the
TriangleMesh composed of the triangles of this component and its decomposed components. |
Optional<Double> |
horizontalDistance(Component other)
Returns the horizontal distance between the surfaces of this
Component and another, if it exists. |
Optional<Double> |
horizontalDistance(Vector3d point)
Returns the horizontal distance between the surface of this
Component and a point, if it exists. |
boolean |
isOnBuildingEnvelope()
Returns true if this component is modelled as part of a building envelope.
|
Optional<Double> |
projectionOnXYPlaneDistance(Component other)
Returns the 2d distance between the projections of this
Component and another on the XY-plane,
if it exists. |
Optional<Double> |
projectionOnXYPlaneDistance(Vector3d other)
Returns the 2d distance between the projections of this
Component and point on the XY-plane,
if it exists. |
Optional<Double> |
verticalDistance(Component other)
Returns the vertical distance between the surfaces of this
Component and another, if it exists. |
Optional<Double> |
verticalDistance(Vector3d point)
Returns the vertical distance between the surface of this
Component and a point, if it exists. |
Optional<String> getBATID()
ComponentType getComponentType()
ComponentType
of the entity.Optional<String> getDescriptionText()
Optional<String> getDisciplineName()
double getGlobalBottomElevation()
The elevation is relative to the origin of the model.
double getGlobalTopElevation()
The elevation is relative to the origin of the model.
double getBottomElevationFromFloor()
If the component is not located on any floor, then this method returns the global bottom elevation of the component.
double getTopElevationFromFloor()
If the component is not located on any floor, then this method returns the global top elevation of the component.
String getGUID()
boolean equals(Object object)
Collection<PropertySet> getPropertySets()
Collection<PropertySet> getPropertySets(String name)
name
- the name of the property set<T> Optional<T> getPropertyValue(PropertyReference propertyReference)
T
- the expected type of the property valuepropertyReference
- reference to the property whose value is returned if presentTriangleMesh getTriangleMesh()
TriangleMesh
composed of the triangles of this component and its decomposed components.TriangleMesh
of this component and its decomposed components.AABB3d getBoundingBox()
Optional<Building> getBuilding()
Optional<BuildingStorey> getFederatedFloor()
Federated floors are calculated by Solibri Desktop and are based on the geometric location of components on storeys in the model.
Optional<BuildingStorey> getFloor()
The returned floor is the floor to which this component is located on based on IFC relations.
Footprint getFootprint()
Set<FunctionalSystem> getFunctionalSystems()
Collection<Component> getRelated(Relation relation)
relation
- the relation through which the returned components are related to this componentString getName()
The returned name is a short displayable name that describes the type of the component.
Optional<String> getConstructionType()
The returned type is a specific technical type, such as a type code.
For getting the general type of the component, the getComponentType()
method should be used.
Set<Intersection> getIntersections(Component component)
component
- a component whose intersections with this component are to be calculatedIntersection
Optional<Double> distance(Vector3d point)
Component
and a given point, if it exists.
If the point is inside the component, the distance will be from the point to the inner surface of the component.
To check if a point is inside a component instead, use TriangleMesh.encloses(Vector3d)
on the mesh
obtained via getTriangleMesh()
.point
- the given point as Vector3d
Optional<Double> distance(Component other)
Component
and another, if it exists.
If the other component is inside the component, the distance will be from the inner component to the inner
surface of the outer component.other
- the other Component
Optional<Double> horizontalDistance(Vector3d point)
Component
and a point, if it exists.
If the point is inside the component, the distance will be from the point to the inner surface of the component.point
- the point as Vector3d
Optional<Double> horizontalDistance(Component other)
Component
and another, if it exists.
If the other component is inside the component, the distance will be from the inner component to the inner
surface of the outer component.other
- the other Component
Optional<Double> verticalDistance(Vector3d point)
Component
and a point, if it exists.
If the point is inside the component, the distance will be from the point to the inner surface of the component.point
- the point as Vector3d
Optional<Double> verticalDistance(Component other)
Component
and another, if it exists.
If the other component is inside the component, the distance will be from the inner component to the inner
surface of the outer component.other
- the other Component
Optional<Double> projectionOnXYPlaneDistance(Vector3d other)
Component
and point on the XY-plane,
if it exists.other
- point the point as Vector3d
Optional<Double> projectionOnXYPlaneDistance(Component other)
Component
and another on the XY-plane,
if it exists.other
- the other Component
Optional<Profile> getProfile()
boolean isOnBuildingEnvelope()
Optional<Site> getSite()
List<Material> getMaterials()
Set<Group> getGroups()
Collection<Hyperlink> getHyperlinks()
Copyright © 2019 Solibri, Inc.. All rights reserved.