#### IfcSameAxis2Placement

##### Semantic definitions at the function

Function Definition

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

> HISTORY: New function in Release IFC2x Edition 2

##### Formal representations

EXPRESS Specification

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,ap1.Location,Epsilon));
END_FUNCTION;

Link to this page