Package com.solibri.smc.api.model
Interface GridAxis
- All Superinterfaces:
Component
Represents a single axis of an IFC grid. A grid axis has a label (e.g. "A", "B", "1", "2") and
a curve defined by a list of points in meters in the parent grid's local coordinate system.
- Since:
- 26.4.1
-
Method Summary
Modifier and TypeMethodDescriptiongetCurve()Returns the curve of the grid axis as a list of points in meters, in the parent grid's local coordinate system.Returns the curve of the grid axis as a list of points in meters in global model coordinates.getLabel()Returns the label of the grid axis (e.g.Methods inherited from interface com.solibri.smc.api.model.Component
distance, distance, equals, getAllMaterials, getBATID, getBottomElevationFromFloor, getBoundingBox, getBoundingBoxHeight, getBoundingBoxLength, getBoundingBoxWidth, getBuilding, getComponentName, getComponentType, getCompositionType, getConstructionType, getDescriptionText, getDisciplineName, getDistanceToNextFloor, getElementType, getFederatedFloor, getFloor, getFootprint, getFunctionalSystems, getGeometryType, getGlobalBottomElevation, getGlobalCoordinate, getGlobalTopElevation, getGroups, getGUID, getHyperlinks, getIfcEntityType, getIfcType, getInformation, getInformationAsString, getIntersections, getMaterials, getModel, getName, getNameText, getObjectType, getParametricInformationAsString, getPredefinedType, getProfile, getPropertySets, getPropertySets, getPropertyValue, getRelated, getResolvedPredefinedType, getSite, getTopElevationFromFloor, getTriangleMesh, getTypeName, horizontalDistance, horizontalDistance, isOnBuildingEnvelope, projectionOnXYPlaneDistance, projectionOnXYPlaneDistance, verticalDistance, verticalDistance
-
Method Details
-
getLabel
String getLabel()Returns the label of the grid axis (e.g. "A", "B", "1", "2").- Returns:
- the label of the grid axis
- Since:
- 26.4.1
-
getCurve
Returns the curve of the grid axis as a list of points in meters, in the parent grid's local coordinate system.- Returns:
- the curve points in meters, in grid local coordinates
- Since:
- 26.4.1
-
getCurve
Returns the curve of the grid axis as a list of points in meters in global model coordinates.The given
gridmust be the grid that owns this axis. The implementation applies that grid's global placement to the local curve. Only the Solibri internal grid implementation is supported; passing any otherGridimplementation results inIllegalArgumentException.- Parameters:
grid- the grid that provides the global placement- Returns:
- the curve points in meters in global coordinates
- Throws:
NullPointerException- ifgridisnullIllegalArgumentException- ifgridis not the supported Solibri grid implementation- Since:
- 26.4.1
-