What is an InsertLine failure?
Posted: Thu Dec 06, 2018 8:48 am
When creating certain polyhedra which is either extremely complex or contains parts which can cause great round-off errors (such as very small angles or angles near 180° degrees, Stella glitches out with an Internal Error that InsertLine has failed.
The full quote goes:
Here are some ways to easily get an InsertLine failure:
An InsertLine failure can be particularly problematic. The only way to deal with it is to force close the program.
The full quote goes:
This effectively hangs the program and it ceases to respond - as if it has gone into an infinite loop upon the failure of "InsertLine."InsertLine failed. Maybe model not accurate enough?
Here are some ways to easily get an InsertLine failure:
- Extremely complex models.
- Models which involve very small angles or angles very near π. I believe Stella uses numerical approximation, and trigonometric approximation becomes problematic especially near, but not at these "critical" angles. I believe π/2 is another critical angle.
- High prisms and antiprisms (these have bases of many-sided polygons). In fact, InsertLine fails for antiprisms whose polygons have 100 or more sides when you view the faces.
An InsertLine failure can be particularly problematic. The only way to deal with it is to force close the program.