Comments (3)
TransformAt is working wrong for polyline. At one point it does var d = this.Length() * u;
which is wrong since u is no longer from 0 to 1. Since it's known that that each segment has domain of 1, much simpler approach can be used.
Also, you can see that corner points have rotated transformation, but only two. This is because averaging is used on every vertex except first and last vertices. But for Polygon every vertex should be averaged, in my opinion.
Third issue I have found is not related but would be nice to clarify. IndexedPolycurve.CreateVerticesAndCurveIndices produces unique indexes. For two lines and arc in between it would be [0, 1], [2, 3, 4], [5, 6]. It's not only in contrast with CreateCurveIndices but also changes indices when polyline is copies. If the TransformedPolycurve is called on polycurve with indices [0, 1], [1, 2, 3], [3, 4], new polycurve will have indices as described above: [0, 1], [2, 3, 4], [5, 6] indices that out of range of verticies.
from elements.
from elements.
from elements.
Related Issues (20)
- Curve intersections.
- Unification of graphing algorithms.
- Better meshing.
- Unexpected behavior PointAtNormalized for polylines
- Regression Elements.Geometry.Solids.Sweep HOT 3
- Elliptic arc is not shown in Hypar 3D scene after importing json.
- `Bbox3(Element element)` doesn't work if the element has `RepresentationInstances` instead of `Representation`
- Lost GeometricElements during json roundtrip. HOT 2
- Incompatible library versions when write to IFC
- Inconsistencies between Contains/Covers functions
- `Transform.ToModelCurves` ignores scale
- CellComplex seems to ignore tolerance?
- Bug found while reviewing code
- Elements.Serialization.IFC HOT 6
- Got a IFC.STEPParameterMismatchException while deserializing a IFC2x3 file HOT 2
- Strange behaviour with rendering Model (in dotnet.interactive) HOT 4
- ModelText() returns System.IO.DirectoryNotFoundException when run in Notebook
- Elements.Playground doesn't run
- Arc.Polyline doesn't work if its domain has negative length. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elements.