Interface GridAxis

All Superinterfaces:
Component

public interface GridAxis extends 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 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

      List<Vector3d> 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

      List<Vector3d> getCurve(Grid grid)
      Returns the curve of the grid axis as a list of points in meters in global model coordinates.

      The given grid must 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 other Grid implementation results in IllegalArgumentException.

      Parameters:
      grid - the grid that provides the global placement
      Returns:
      the curve points in meters in global coordinates
      Throws:
      NullPointerException - if grid is null
      IllegalArgumentException - if grid is not the supported Solibri grid implementation
      Since:
      26.4.1