IFC 4.3.1.0 (IFC4X3_ADD1) development

8.9.6.18 IfcSameAxis2Placement

8.9.6.18.1 Semantic definition

The function compares two IfcAxis2Placement's and ensures that they are the same (with an epsilon precision factor).

8.9.6.18.2 Formal representation

FUNCTION IfcSameAxis2Placement
  (ap1, ap2 : IfcAxis2Placement; Epsilon : REAL)
  : LOGICAL ;

  RETURN (IfcSameDirection(ap1.P[1],ap2.P[1],Epsilon) AND
          IfcSameDirection(ap1.P[2],ap2.P[2],Epsilon) AND
          IfcSameCartesianPoint(ap1.Location,ap2.Location,Epsilon));

END_FUNCTION;

Edit on Github


Is this page difficult to understand? Let us know!

8.9.6.18.3 Changelog

8.9.6.18.3.1 IFC4.3_DEV_d297a43

  • ,