/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/tests/gtest/ |
H A D | TestBSPTree.cpp | 63 Point3D(0.0f, 0.0f, 0.0f), 64 Point3D(1.0f, 0.0f, 0.0f), 65 Point3D(1.0f, 1.0f, 0.0f), 66 Point3D(0.0f, 1.0f, 0.0f) 70 Point3D(0.0f, 0.0f, 1.0f), 71 Point3D(1.0f, 0.0f, 1.0f), 73 Point3D(0.0f, 1.0f, 1.0f) 86 Point3D(1.0f, 1.0f, 1.0f) 93 Point3D(2.0f, 0.0f, 1.0f) in dissect_snp_authentication_clv() 105 Point3D(1.0f, 1.0f, 1.0f) in dissect_psnp_ip_authentication_clv() [all …]
|
H A D | TestPolygon.cpp | 20 Point3D(0.0f, 0.0f, 1.0f), in TEST() 21 Point3D(0.0f, 1.0f, 1.0f), in TEST() 22 Point3D(1.0f, 1.0f, 1.0f), in TEST() 23 Point3D(1.0f, 0.0f, 1.0f) in TEST() 38 Point3D(0.0f, 0.0f, 1.0f), in TEST() 39 Point3D(0.0f, 1.0f, 1.0f), in TEST() 40 Point3D(0.5f, 1.5f, 1.0f), in TEST() 41 Point3D(1.0f, 1.0f, 1.0f), in TEST() 42 Point3D(1.0f, 0.0f, 1.0f) in TEST() 63 Point3D(1.0f, 0.0f, 0.0f) in TEST() [all …]
|
H A D | PolygonTestUtils.cpp | 16 bool FuzzyEquals(const Point3D& lhs, const Point3D& rhs) 18 const Point3D d = lhs - rhs; 103 Point3D(0.0f, 0.0f, 1.0f), 104 Point3D(1.0f, 0.0f, 1.0f), 105 Point3D(1.0f, 1.0f, 1.0f), 106 Point3D(0.0f, 1.0f, 1.0f) 111 Point3D(0.0f, 1.0f, 1.0f), 112 Point3D(0.0f, 0.0f, 1.0f), 113 Point3D(1.0f, 0.0f, 1.0f), 114 Point3D(1.0f, 1.0f, 1.0f) [all …]
|
/dports/science/gabedit/GabeditSrc251_300720/src/Utils/ |
H A D | Point3D.h | 32 Point3D (*add)(Point3D* point, Point3D* pointToAdd); 33 Point3D (*sub)(Point3D* point, Point3D* pointToSub); 34 Point3D (*mult)(Point3D* point, gdouble factor); 35 Point3D (*crossProd)(Point3D* point, Point3D* other); 36 gdouble (*dotProd)(Point3D* point, Point3D* point2); 38 Point3D (*rotate)(Point3D* point, Point3D* rotCenter, Point3D* rotateAxis, gdouble angle); 39 gboolean (*equals)(Point3D* point, Point3D* point2); 40 Point3D (*closestPointInPlane)(Point3D* point, Point3D* planePoint, Point3D* normal); 41 Point3D (*closestPointOnAxis)(Point3D* point, Point3D* axisPoint, Point3D* axis); 43 Point3D* (*copy)(Point3D* point); [all …]
|
H A D | Point3D.c | 29 static Point3D add(Point3D* p, Point3D* other); 30 static Point3D sub(Point3D* p, Point3D* other); 32 static Point3D crossProd(Point3D* p, Point3D* other); 36 static Point3D rotate(Point3D* p, Point3D* rotCenter, Point3D* rotateAxis, gdouble angle); 38 static Point3D closestPointInPlane(Point3D* point, Point3D* planePoint, Point3D* normal); 39 static Point3D closestPointOnAxis(Point3D* point, Point3D* axisPoint, Point3D* paxis); 97 static Point3D add(Point3D* p, Point3D* other) in add() 102 static Point3D sub(Point3D* p, Point3D* other) in sub() 112 static Point3D crossProd(Point3D* p, Point3D* other) in crossProd() 151 static Point3D rotate(Point3D* p, Point3D* rotCenter, Point3D* rotateAxis, gdouble angle) in rotate() [all …]
|
/dports/math/py-sympy/sympy-1.9/sympy/geometry/tests/ |
H A D | test_plane.py | 9 p1 = Point3D(0, 0, 0) 10 p2 = Point3D(1, 1, 1) 11 p3 = Point3D(1, 2, 3) 22 l1 = Line3D(Point3D(5, 0, 0), Point3D(1, -1, 1)) 23 l2 = Line3D(Point3D(0, -2, 0), Point3D(3, 1, 1)) 24 l3 = Line3D(Point3D(0, -1, 0), Point3D(5, -1, 9)) 128 assert are_coplanar(Point3D(2, 7, 2), Point3D(0, 0, 2), 129 Point3D(1, 1, 2), Point3D(1, 2, 2)) 152 a, b = Point3D(0, 0, 0), Point3D(0, 1, 0) 176 Line3D(Point3D(8, 4, 0), Point3D(2, 4, 6))] [all …]
|
H A D | test_line.py | 82 l1 = Line3D(Point3D(0, 0, 0), Point3D(1, 1, 1)) 132 l3d = Line(Point3D(1, 2, 3), Point3D(1, 1, 2)) 259 assert Ray3D(Point3D(0, 0, 0), Point3D(1, 1, 1)) in Ray3D(Point3D(0, 0, 0), Point3D(2, 2, 2)) 260 assert Ray3D(Point3D(0, 0, 0), Point3D(2, 2, 2)) in Ray3D(Point3D(0, 0, 0), Point3D(1, 1, 1)) 364 p1, p2 = Point3D(0, 0, 0), Point3D(1, 1, 1) 418 …assert Line3D(Point3D(0, 0, 0), Point3D(1, 0, 0)).equals(Line3D(Point3D(-5, 0, 0), Point3D(-1, 0, … 598 …assert intersection(Ray3D(Point3D(1, 0, 0), Point3D(-1, 0, 0)), Ray3D(Point3D(0, 1, 0), Point3D(0,… 604 …assert Line3D(Point3D(4, 0, 1), Point3D(0, 4, 1)).intersection(Line3D(Point3D(0, 0, 1), Point3D(4,… 610 …assert Ray3D(Point3D(0, 0, 0), Point3D(0, 4, 0)).intersection(Ray3D(Point3D(0, 1, 1), Point3D(0, -… 626 …assert Line3D(Point3D(4, 0, 1), Point3D(0, 4, 1)).is_parallel(Line3D(Point3D(0, 0, 1), Point3D(4, … [all …]
|
H A D | test_point.py | 174 p3 = Point3D(0, 0, 0) 175 p4 = Point3D(1, 1, 1) 176 p5 = Point3D(0, 1, 2) 186 assert Point3D.midpoint(p3, p4) == Point3D(half, half, half) 187 assert Point3D.midpoint(p1, p4) == Point3D(half + half*x1, half + half*x2, 226 assert Point3D(x*(x - 1), y, 2) - Point3D(x**2 - x, y + 1, 1) == \ 227 Point3D(0, -1, 1) 235 p = Point3D(1, 1, 1) 332 p1 = Point3D(1,0,2) 368 p3d = Point3D(1,2,3) [all …]
|
/dports/science/clhep/2.4.1.0/CLHEP/Geometry/Geometry/ |
H A D | Point3D.h | 48 Point3D() {} in Point3D() function 56 explicit Point3D(const float * a) in Point3D() function 61 Point3D(const Point3D<float> & v) : BasicVector3D<float>(v) {} in Point3D() function 69 ~Point3D() {} in ~Point3D() 73 Point3D<float> & operator=(const Point3D<float> & v) { 113 Point3D<float> 127 Point3D() {} in Point3D() function 145 Point3D(const Point3D<double> & v) : BasicVector3D<double>(v) {} in Point3D() function 157 ~Point3D() {} in ~Point3D() 176 Point3D<double> & operator=(const Point3D<double> & v) { [all …]
|
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/Geometry/ |
H A D | point.cpp | 15 double computeSignedDihedralAngle(const Point3D& pt1, const Point3D& pt2, in computeSignedDihedralAngle() 35 double computeDihedralAngle(const Point3D& pt1, const Point3D& pt2, in computeDihedralAngle() 36 const Point3D& pt3, const Point3D& pt4) { in computeDihedralAngle() 56 Point3D operator+(const Point3D& p1, const Point3D& p2) { in operator +() 57 Point3D res; in operator +() 64 Point3D operator-(const Point3D& p1, const Point3D& p2) { in operator -() 65 Point3D res; in operator -() 72 Point3D operator*(const Point3D& p1, double v) { in operator *() 73 Point3D res; in operator *() 80 Point3D operator/(const Point3D& p1, double v) { in operator /() [all …]
|
H A D | point.h | 60 Point3D(){}; in Point3D() function 63 ~Point3D(){}; in ~Point3D() 65 Point3D(const Point3D &other) in Point3D() function 94 Point3D &operator=(const Point3D &other) { 104 Point3D &operator+=(const Point3D &other) { 111 Point3D &operator-=(const Point3D &other) { 201 Point3D directionVector(const Point3D &other) const { in directionVector() 202 Point3D res; in directionVector() 215 Point3D crossProduct(const Point3D &other) const { in crossProduct() 216 Point3D res; in crossProduct() [all …]
|
/dports/graphics/colmap/colmap-3.6/src/base/ |
H A D | point3d.h | 46 class Point3D { 50 Point3D(); 96 const Eigen::Vector3d& Point3D::XYZ() const { return xyz_; } in XYZ() 98 Eigen::Vector3d& Point3D::XYZ() { return xyz_; } in XYZ() 104 double Point3D::X() const { return xyz_.x(); } in X() 106 double Point3D::Y() const { return xyz_.y(); } in Y() 108 double Point3D::Z() const { return xyz_.z(); } in Z() 114 Eigen::Vector3ub& Point3D::Color() { return color_; } in Color() 122 double Point3D::Error() const { return error_; } in Error() 124 bool Point3D::HasError() const { return error_ != -1.0; } in HasError() [all …]
|
/dports/graphics/sharpconstruct/sharpconstruct-0.11/include/ |
H A D | Optimized.h | 30 class Point3D 33 inline Point3D() in Point3D() function 36 inline Point3D( const __m128& in ) in Point3D() function 47 inline float Distance( const Point3D& in ) in Distance() 70 void Midpoint( const Point3D& a, const Point3D& b ); 92 inline Point3D& Abs() in Abs() 137 inline Point3D operator+( const Point3D& in ) const 141 inline Point3D operator-( const Point3D& in ) const 145 inline Point3D operator*( const Point3D& in ) const 193 void Normalize( Point3D& ); [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/include/pcl/surface/3rdparty/poisson4/ |
H A D | geometry.h | 50 struct Point3D struct 67 Point3D<Real> RandomBallPoint(void); 70 Point3D<Real> RandomSpherePoint(void); 73 double Length(const Point3D<Real>& p); 79 double Distance(const Point3D<Real>& p1,const Point3D<Real>& p2); 82 double SquareDistance(const Point3D<Real>& p1,const Point3D<Real>& p2); 85 void CrossProduct(const Point3D<Real>& p1,const Point3D<Real>& p2,Point3D<Real>& p); 171 std::vector<Point3D<Real> > points; 220 Point3D< float > start , end; 223 … Vertex( Point3D< float > s , Point3D< float > e , float v ) { start = s , end = e , value = v; } in Vertex() [all …]
|
/dports/devel/upp/upp/bazaar/Surface/ |
H A D | Surface.h | 41 class Point3D : public Moveable<Point3D> { 45 Point3D() {} in Point3D() function 47 Point3D(const Point3D &p) : x(p.x), y(p.y), z(p.z) {} in Point3D() function 79 …friend Point3D operator%(const Point3D& a, const Point3D& b) {return Point3D(a.y*b.z-a.z*b.y, a.z*… 81 …friend Point3D operator+(const Point3D& a, const Point3D& b) {return Point3D(a.x+b.x, a.y+b.y, a.z… 82 …friend Point3D operator-(const Point3D& a, const Point3D& b) {return Point3D(a.x-b.x, a.y-b.y, a.z… 83 friend Point3D operator*(const Point3D& a, double b) {return Point3D(a.x*b, a.y*b, a.z*b);} 186 Point3D GetCentroid(const Point3D &a, const Point3D &b); 187 Point3D GetCentroid(const Point3D &a, const Point3D &b, const Point3D &c); 188 Vector3D GetNormal(const Point3D &a, const Point3D &b, const Point3D &c); [all …]
|
/dports/science/gabedit/GabeditSrc251_300720/src/Symmetry/ |
H A D | Element.h | 44 Point3D point; 45 Point3D normal; 46 Point3D axis; 52 Point3D (*doOperation)(Element* element, Point3D* oldPoint); 62 gboolean (*eqPoint)(Element* e, Point3D* p1, Point3D* p2); 63 gboolean (*eqAxes)(Element* e, Point3D* p1, Point3D* p2); 65 Point3D* (*getPoint)(Element* element); 67 Point3D* (*getAxis)(Element* element); 73 Element newElementReflection(Point3D* center, Point3D* normal); 74 Element newElementRotation(Point3D* center, Point3D* axis, gint n); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/SemaObjC/ |
H A D | attr-swift_name.m | 7 } Point3D; typedef 96 struct Point3D rotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(self:radians:… struct 97 struct Point3D badRotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(radians:)"… struct 100 extern struct Point3D identityPoint SWIFT_NAME("Point3D.identity"); struct 102 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 106 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 109 float Point3DPreGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.preRadius(self:)"); 152 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 153 void setZeroPoint(Point3D point) SWIFT_NAME("setter:Point3D.zero(newValue:)"); 154 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/SemaObjC/ |
H A D | attr-swift_name.m | 8 } Point3D; typedef 97 struct Point3D rotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(self:radians:… struct 98 struct Point3D badRotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(radians:)"… struct 101 extern struct Point3D identityPoint SWIFT_NAME("Point3D.identity"); struct 103 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 107 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 110 float Point3DPreGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.preRadius(self:)"); 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 154 void setZeroPoint(Point3D point) SWIFT_NAME("setter:Point3D.zero(newValue:)"); 155 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/SemaObjC/ |
H A D | attr-swift_name.m | 8 } Point3D; typedef 97 struct Point3D rotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(self:radians:… struct 98 struct Point3D badRotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(radians:)"… struct 101 extern struct Point3D identityPoint SWIFT_NAME("Point3D.identity"); struct 103 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 107 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 110 float Point3DPreGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.preRadius(self:)"); 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 154 void setZeroPoint(Point3D point) SWIFT_NAME("setter:Point3D.zero(newValue:)"); 155 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/SemaObjC/ |
H A D | attr-swift_name.m | 8 } Point3D; typedef 97 struct Point3D rotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(self:radians:… struct 98 struct Point3D badRotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(radians:)"… struct 101 extern struct Point3D identityPoint SWIFT_NAME("Point3D.identity"); struct 103 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 107 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 110 float Point3DPreGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.preRadius(self:)"); 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 154 void setZeroPoint(Point3D point) SWIFT_NAME("setter:Point3D.zero(newValue:)"); 155 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/SemaObjC/ |
H A D | attr-swift_name.m | 8 } Point3D; typedef 97 struct Point3D rotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(self:radians:… struct 98 struct Point3D badRotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(radians:)"… struct 101 extern struct Point3D identityPoint SWIFT_NAME("Point3D.identity"); struct 103 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 107 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 110 float Point3DPreGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.preRadius(self:)"); 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 154 void setZeroPoint(Point3D point) SWIFT_NAME("setter:Point3D.zero(newValue:)"); 155 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); [all …]
|
/dports/lang/clang-mesa/clang-13.0.1.src/test/SemaObjC/ |
H A D | attr-swift_name.m | 8 } Point3D; typedef 97 struct Point3D rotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(self:radians:… struct 98 struct Point3D badRotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(radians:)"… struct 101 extern struct Point3D identityPoint SWIFT_NAME("Point3D.identity"); struct 103 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 107 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 110 float Point3DPreGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.preRadius(self:)"); 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 154 void setZeroPoint(Point3D point) SWIFT_NAME("setter:Point3D.zero(newValue:)"); 155 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/SemaObjC/ |
H A D | attr-swift_name.m | 8 } Point3D; typedef 97 struct Point3D rotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(self:radians:… struct 98 struct Point3D badRotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(radians:)"… struct 101 extern struct Point3D identityPoint SWIFT_NAME("Point3D.identity"); struct 103 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 107 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 110 float Point3DPreGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.preRadius(self:)"); 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 154 void setZeroPoint(Point3D point) SWIFT_NAME("setter:Point3D.zero(newValue:)"); 155 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/SemaObjC/ |
H A D | attr-swift_name.m | 8 } Point3D; typedef 97 struct Point3D rotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(self:radians:… struct 98 struct Point3D badRotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(radians:)"… struct 101 extern struct Point3D identityPoint SWIFT_NAME("Point3D.identity"); struct 103 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 107 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 110 float Point3DPreGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.preRadius(self:)"); 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 154 void setZeroPoint(Point3D point) SWIFT_NAME("setter:Point3D.zero(newValue:)"); 155 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/SemaObjC/ |
H A D | attr-swift_name.m | 8 } Point3D; typedef 97 struct Point3D rotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(self:radians:… struct 98 struct Point3D badRotatePoint3D(Point3D point, float radians) SWIFT_NAME("Point3D.rotate(radians:)"… struct 101 extern struct Point3D identityPoint SWIFT_NAME("Point3D.identity"); struct 103 float Point3DGetMagnitude(Point3D point) SWIFT_NAME("getter:Point3D.magnitude(self:)"); 107 float Point3DGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.radius(self:)"); 110 float Point3DPreGetRadius(Point3D point) SWIFT_NAME("getter:Point3D.preRadius(self:)"); 153 Point3D getZeroPoint(void) SWIFT_NAME("getter:Point3D.zero()"); 154 void setZeroPoint(Point3D point) SWIFT_NAME("setter:Point3D.zero(newValue:)"); 155 Point3D getZeroPointNoPrototype() SWIFT_NAME("getter:Point3D.zeroNoPrototype()"); [all …]
|