IfcCorrectLocalPlacement
作者:互联网
IfcCorrectLocalPlacement
函数定义:
该函数检查3D局部放置的相对放置(即相对于另一个局部放置,而不是网格放置)必须相对于3D父放置(而不是2D父放置)。历史:IFC2x第2版中的新功能。
EXPRESS Specification
FUNCTION IfcCorrectLocalPlacement (AxisPlacement:IfcAxis2Placement; RelPlacement : IfcObjectPlacement):LOGICAL; IF (EXISTS(RelPlacement)) THEN IF ('IFCGEOMETRICCONSTRAINTRESOURCE.IFCGRIDPLACEMENT' IN TYPEOF(RelPlacement)) THEN RETURN(?); END_IF; IF ('IFCGEOMETRICCONSTRAINTRESOURCE.IFCLOCALPLACEMENT' IN TYPEOF(RelPlacement)) THEN IF ('IFCGEOMETRYRESOURCE.IFCAXIS2PLACEMENT2D' IN TYPEOF(AxisPlacement)) THEN RETURN(TRUE); END_IF; IF ('IFCGEOMETRYRESOURCE.IFCAXIS2PLACEMENT3D' IN TYPEOF(AxisPlacement)) THEN IF (RelPlacement\IfcLocalPlacement.RelativePlacement.Dim = 3) THEN RETURN(TRUE); ELSE RETURN(FALSE); END_IF; END_IF; END_IF; ELSE RETURN(TRUE); END_IF; RETURN(?); END_FUNCTION;
####################
标签:END,RelPlacement,IfcCorrectLocalPlacement,TYPEOF,放置,RETURN,TRUE 来源: https://www.cnblogs.com/herd/p/16692709.html