-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IfcPolyline and AbstractEList #1252
Comments
Sorry, it was my fault. I get first and last point from the cache. That's why they look identical to the list |
In fact, <eClassifiers xsi:type="ecore:EClass" name="IfcPolyline" eSuperTypes="//IfcBoundedCurve">
<eStructuralFeatures xsi:type="ecore:EReference" name="Points" unique="false" upperBound="-1" eType="//IfcCartesianPoint"/>
</eClassifiers> I have been confused by the method name |
According to IFC specification for IfcPolyline (https://standards.buildingsmart.org/IFC/DEV/IFC4_3/RC2/HTML/schema/ifcgeometryresource/lexical/ifcpolyline.htm)
But if you to add the same point to polyline.getPoints() list it won't work because org.eclipse.emf.common.util.AbstractEList checks for contains:
How to define closed polyline in BimServer?
The text was updated successfully, but these errors were encountered: