Initial circuits plugin work.
This commit is contained in:
parent
b5f21900eb
commit
f8a2ce3c59
50 changed files with 1451 additions and 97 deletions
18
src/base/geometry/points/PointParser.h
Normal file
18
src/base/geometry/points/PointParser.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
#include "Point.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
class PointParser
|
||||
{
|
||||
public:
|
||||
|
||||
static std::string toString(const Point& p, std::size_t dimensions = 3, const std::string& delimiter = " ", std::size_t precision = 0);
|
||||
|
||||
static std::string toStringRelative(const Point& p, const Point& relativeTo, std::size_t dimensions = 3, const std::string& delimiter = " ", std::size_t precision = 0);
|
||||
|
||||
static std::string toString(double x, double y, double z, std::size_t dimensions = 3, const std::string& delimiter = " ", std::size_t precision = 0);
|
||||
|
||||
static std::string toString(double x, std::size_t precision = 0);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue