Skip to content

Logical vs Boolean: ".U." token breaks parsing #94

@stgatilov

Description

@stgatilov

Parsing of file ADT-FZK-Haus-2005-2006.ifc is broken after the latest changes, mainly including my changes in the tokenizer #82.

It stops on the first line with ".U." token, which is:
#72=IFCCOMPOSITECURVE((#47,#55,#63,#71),.U.);
with error:
Token .U. at 3388 invalid boolean
It seems that this ".U." stands for UNKNOWN value of LOGICAL type, meaning that the author didn't know whether this curve was self-intersecting or not.

As far as I see, method IfcCompositeCurve::SelfIntersect() returns a bool. I suppose that previously UNKNOWN logical value was being silently converted into FALSE boolean value, and now it is not. Should this behavior be restored?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions