Giter Site home page Giter Site logo

cad_exchanger_test's Introduction

CAD_Exchanger_Test

This C++ project implements support for a hierarchy of 3D curves, including circles, ellipses, and 3D helixes. The program performs the following tasks:

  1. Support for Multiple 3D Geometric Curves:

    • Circles
    • Ellipses
    • 3D Helixes
  2. Random Generation of Curves:

    • A container (e.g., vector or list) is populated with randomly generated objects of different curve types. The curves are created with random parameters.
  3. Printing Coordinates and Derivatives:

    • Coordinates of points and derivatives of all curves in the container are printed at t=PI/4.
  4. Creating a Container of Circles:

    • A second container is populated with circles from the first container. The second container shares circles from the first one through pointers.
  5. Sorting Circles by Radius:

    • The second container, containing circles, is sorted in ascending order based on the circles' radii.
  6. Computing Total Sum of Radii:

    • The program computes the total sum of radii of all curves in the second container.

Usage

To use this project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/MrSteelRat/CAD_Exchanger_Test.git
  2. Build the project:

    cd CAD_Exchanger_Test
    mkdir build
    cd build
    cmake ..
    make
  3. Run the executable:

    ./CAD_Exchanger_Test

Windows

  1. Clone the repository:

    git clone https://github.com/MrSteelRat/CAD_Exchanger_Test.git
  2. Open the project in Visual Studio:

    • Launch Visual Studio.
    • Open the project located in the CAD_Exchanger_Test directory.
  3. Build the project:

    • Build the project using the Visual Studio IDE.
  4. Run the executable:

    • Run the generated executable from the Visual Studio output directory.

Feel free to explore the code for more details on the implementation.

cad_exchanger_test's People

Contributors

mrsteelrat avatar

Watchers

 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.