Giter Club home page Giter Club logo

Comments (4)

ajhynes7 avatar ajhynes7 commented on May 27, 2024

Hi @MikiGrit,

I'm not sure what this means. You already have a plane, and you want to compute another plane?

from scikit-spatial.

MikiGrit avatar MikiGrit commented on May 27, 2024

Hi, sorry for the confusing description. I have a vector and a point. And I want to use those to construct skspatial Plane object. Vector represents normal vector for that plane and point should lie on the same plane. And I'm not sure what is the best approach.

I can compute plane equation (i.e. "ax + by + cz - d = 0") but to construct Plane from it one has to check for various boundary conditions and deal with them. So I'm wondering if there is a better way?

Thanks.

from scikit-spatial.

CristianoPizzamiglio avatar CristianoPizzamiglio commented on May 27, 2024

Hi @MikiGrit!

You can create the plane as follows:

plane = Plane(point=[0, 0, 0], normal=[0, 0, 23])

you just need to replace the lists with the point and vector that you already have.

For further details, take a look here, thanks.

from scikit-spatial.

MikiGrit avatar MikiGrit commented on May 27, 2024

Oh, thank you @CristianoPizzamiglio! I missed that part in the documentation.

from scikit-spatial.

Related Issues (20)

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.