GithubHelp home page GithubHelp logo

djy1989 / 3darc_3darc_intersections Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grotius-cnc/3darc_3darc_intersections

0.0 0.0 0.0 242 KB

a general algoritme to find 3d arc-arc intersections.

C++ 98.86% QMake 1.14%

3darc_3darc_intersections's Introduction

3dArc_3dArc_Intersections

A general algoritme to find 3d intersections. Works also for parallel arc planes.

screen09

        //! Arc A
        gp_Pnt pa0_in{0,0,0};
        gp_Pnt pa1_in{50,50,0};
        gp_Pnt pa2_in{100,0,0};
        OBJECT *ArcA = new OBJECT(arc_3p,pa0_in,pa1_in,pa2_in);
        
        //! Arc B
        gp_Pnt pb0_in{0,100,0};
        gp_Pnt pb1_in{50,50,0};
        gp_Pnt pb2_in{100,100,0};
        OBJECT *ArcB = new OBJECT(arc_3p,pb0_in,pb1_in,pb2_in);
   
        gp_PntVec pvec;
        ArcA->getIntersections(*ArcB,pvec,1);

        for(unsigned int i=0; i<pvec.size(); i++){
            //! Intersections:
            pvec[i]
        }
  • Some additional functions in this repository :

LineSphereIntersect, LineLineIntersect, ArcArcIntersect, ArcCenter, ArcPoints, PointOnArc, PointOnLine, PointOnPlane

  • Not finished :

GeneralIntersect, SplineSplineIntersect.

Opencascade library : https://github.com/grotius-cnc/occt-samples-qopenglwidget/releases/download/1.1/opencascade.tar.gz

3darc_3darc_intersections's People

Contributors

grotius-cnc avatar

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.