Skip to content

Commit

Permalink
Merge pull request #801 from bSI-InfraRoom/fix/IfcAlignmentRepresenta…
Browse files Browse the repository at this point in the history
…tion

fix / alignment representation function
  • Loading branch information
SergejMuhic authored May 5, 2024
2 parents 2d54c49 + 97ebade commit 8e81d2e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
AlignmentRepresentations : SET OF IfcShapeRepresentation;
TwoDRep : SET OF IfcShapeRepresentation;
ThreeDRep : SET OF IfcShapeRepresentation;
CurveTwoD : IfcCompositeCurve;
CurveThreeD : IfcGradientCurve;
CurveTwoD : SET OF IfcCompositeCurve;
CurveThreeD : SET OF IfcGradientCurve;
END_LOCAL;

(* no representation is okay *)
Expand Down Expand Up @@ -53,7 +53,7 @@
ThreeDRep := QUERY(threeDee <* AlignmentRepresentations | threeDee.RepresentationType = 'Curve3D');
CurveThreeD := QUERY(item <* ThreeDRep[1].Items | 'IFCGEOMETRYRESOURCE.IFCGRADIENTCURVE' in TYPEOF(item));

RETURN((SIZEOF(CurveThreeD) = 1) AND (SIZEOF(CurveTwoD) = 1) AND (CurveThreeD\IfcGradientCurve.BaseCurve :=: CurveTwoD));
RETURN((SIZEOF(CurveThreeD) = 1) AND (SIZEOF(CurveTwoD) = 1) AND (CurveThreeD[1].BaseCurve :=: CurveTwoD[1]));

END_IF;
(* Missing an IFCSEGMENTEDREFERENCECURVE various placement option implementation. *)
Expand Down

0 comments on commit 8e81d2e

Please sign in to comment.