FUNCTION IfcPointDim

(* SCHEMA IFC4; *)
FUNCTION IfcPointDim
 (Point : IfcPoint)
 : IfcDimensionCount;

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

END_FUNCTION;

Referenced By

Defintion IfcPointDim is references by the following definitions:
DefinitionType
 IfcPoint ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2024-07-11T21:39:05-04:00