Navigation

IfcSameCartesianPoint

Definition from IAI: The function compares two IfcCartesianPoint's and ensures that they are the same (with an epsilon precision factor).

HISTORY: New function in Release IFC2x Edition 2

EXPRESS specification:

FUNCTION IfcSameCartesianPoint
  (cp1, cp2 : IfcCartesianPoint; Epsilon : REAL)
  : LOGICAL ;

  RETURN (IfcSameValue(cp1.Coordinates[1],cp2.Coordinates[1],Epsilon) AND
          IfcSameValue(cp1.Coordinates[2],cp2.Coordinates[2],Epsilon) AND
          IfcSameValue(NVL(cp1.Coordinates[3],0.0),NVL(cp2.Coordinates[3],0.0),Epsilon));
END_FUNCTION;