Giter VIP home page Giter VIP logo

analyticgeometry's People

Contributors

zhang-alvin avatar

Watchers

 avatar

Forkers

mortezah

analyticgeometry's Issues

Adapt problems

@zhang-alvin

I will be adding some stuff for debugging this in here https://github.com/mortezah/analyticGeometry/tree/debug

To begin with, I have added a routine that inspects the model. The output of that on your model is as follows

print info for model ents with dimension 0
-------------------------------------------
ent: tag   58 type vertex isP (0, 0) range (-1, -1)--(-1, -1)
ent: tag   56 type vertex isP (0, 0) range (-1, -1)--(-1, -1)
ent: tag   54 type vertex isP (0, 0) range (-1, -1)--(-1, -1)
ent: tag   60 type vertex isP (0, 0) range (-1, -1)--(-1, -1)
ent: tag    5 type vertex isP (0, 0) range (-1, -1)--(-1, -1)
ent: tag   10 type vertex isP (0, 0) range (-1, -1)--(-1, -1)
ent: tag   15 type vertex isP (0, 0) range (-1, -1)--(-1, -1)
ent: tag    2 type vertex isP (0, 0) range (-1, -1)--(-1, -1)
-------------------------------------------
print info for model ents with dimension 1
-------------------------------------------
ent: tag    9 type   edge isP (1, 0) range (0, 6.28319)--(-1, -1) ++ (0.55, 0.2, 0) -- (0.55, 0.2, 0)
ent: tag   10 type   edge isP (1, 0) range (0, 6.28319)--(-1, -1) ++ (0.55, 0.2, 0.41) -- (0.55, 0.2, 0.41)
ent: tag   50 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (0, 0, 0) -- (2.5, 0, 0)
ent: tag   48 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (2.5, 0, 0) -- (2.5, 0.41, 0)
ent: tag   46 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (0, 0.41, 0) -- (2.5, 0.41, 0)
ent: tag   52 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (0, 0, 0) -- (0, 0.41, 0)
ent: tag   11 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (0, 0, 0.41) -- (2.5, 0, 0.41)
ent: tag   16 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (2.5, 0, 0.41) -- (2.5, 0.41, 0.41)
ent: tag   20 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (0, 0.41, 0.41) -- (2.5, 0.41, 0.41)
ent: tag    6 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (0, 0, 0.41) -- (0, 0.41, 0.41)
ent: tag   73 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (0, 0, 0) -- (0, 0, 0.41)
ent: tag   72 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (2.5, 0, 0) -- (2.5, 0, 0.41)
ent: tag   71 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (2.5, 0.41, 0) -- (2.5, 0.41, 0.41)
ent: tag   74 type   edge isP (0, 0) range (0, 1)--(-1, -1) ++ (0, 0.41, 0) -- (0, 0.41, 0.41)
-------------------------------------------
print info for model ents with dimension 2
-------------------------------------------
ent: tag   11 type   face isP (1, 0) range (0, 6.28319)--(0, 3.14159)
ent: tag    5 type   face isP (0, 0) range (0, 1)--(0, 1)
ent: tag    4 type   face isP (0, 0) range (0, 1)--(0, 1)
ent: tag    3 type   face isP (0, 0) range (0, 1)--(0, 1)
ent: tag    2 type   face isP (0, 0) range (0, 1)--(0, 1)
ent: tag    1 type   face isP (0, 0) range (0, 1)--(0, 1)
ent: tag    6 type   face isP (0, 0) range (0, 1)--(0, 1)
ent: tag   33 type   face isP (0, 0) range (0, 1)--(0, 1)
ent: tag    0 type   face isP (0, 0) range (0, 1)--(0, 1)
ent: tag 22020768 type   face isP (0, 0) range (0, 1)--(0, 1)
ent: tag    7 type   face isP (0, 0) range (0, 1)--(0, 1)
-------------------------------------------
print info for model ents with dimension 3
-------------------------------------------
ent: tag   92 type region isP (0, 0) range (-1, -1)--(-1, -1)
-------------------------------------------

things seem consistent for model verts, edges, and region. But there seems to be something problematic about model faces. I expect 7 faces in the model but there seems to be more. Am I missing something?

I don't yet know if this is the cause of the problem, but just wanted to check with you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.