IFC 4.3.1.0 (IFC4X3_ADD1) development

8.9.6.17 IfcPointDim

8.9.6.17.1 Semantic definition

This function checks the dimensionality of the various subtypes of IfcPoint.

Returns the number of coordinate components in case of IfcCartesianPoint or the dimensionality of the basis curve or surface in other cases.

8.9.6.17.2 Formal representation

FUNCTION IfcPointDim
 (Point : IfcPoint)
 : IfcDimensionCount;

  IF ('IFC4X3_DEV_9f90c1f0.IFCCARTESIANPOINT' IN TYPEOF(Point))
    THEN RETURN(HIINDEX(Point\IfcCartesianPoint.Coordinates));
  END_IF;
  IF ('IFC4X3_DEV_9f90c1f0.IFCPOINTBYDISTANCEEXPRESSION' IN TYPEOF(Point))
    THEN RETURN(Point\IfcPointByDistanceExpression.BasisCurve.Dim);
  END_IF;
  IF ('IFC4X3_DEV_9f90c1f0.IFCPOINTONCURVE' IN TYPEOF(Point))
    THEN RETURN(Point\IfcPointOnCurve.BasisCurve.Dim);
  END_IF;
  IF ('IFC4X3_DEV_9f90c1f0.IFCPOINTONSURFACE' IN TYPEOF(Point))
    THEN RETURN(Point\IfcPointOnSurface.BasisSurface.Dim);
  END_IF;
  RETURN (?);

END_FUNCTION;

8.9.6.17.3 References

Edit on Github


Is this page difficult to understand? Let us know!

8.9.6.17.4 Changelog

8.9.6.17.4.1 IFC4.3_DEV_9f90c1f0

  • New resource