/dports/science/axom/axom-0.6.1/src/axom/primal/tests/ |
H A D | primal_plane.cpp | 50 EXPECT_DOUBLE_EQ(p1.getNormal()[i], p2.getNormal()[i]); in check_copy_constructor() 79 EXPECT_DOUBLE_EQ(p1.getNormal()[i], p2.getNormal()[i]); in check_assignment_operator() 99 EXPECT_DOUBLE_EQ(P.getNormal()[0], 0.0); in TEST() 100 EXPECT_DOUBLE_EQ(P.getNormal()[1], 0.0); in TEST() 101 EXPECT_DOUBLE_EQ(P.getNormal()[2], 1.0); in TEST() 109 ensure_unit_norm(P2.getNormal()); in TEST() 122 EXPECT_DOUBLE_EQ(P.getNormal()[0], 0.0); in TEST() 123 EXPECT_DOUBLE_EQ(P.getNormal()[1], 0.0); in TEST() 131 ensure_unit_norm(P2.getNormal()); in TEST() 144 ensure_unit_norm(P.getNormal()); in TEST() [all …]
|
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/src/org/rstudio/core/client/layout/ |
H A D | AnimationHelper.java | 72 top.getNormal(), in create() 73 bottom.getNormal(), in create() 86 return window.getNormal().isVisible() ? window.getNormal() : in getVisible() 207 assert top.getNormal().isVisible() || bottom.getNormal().isVisible(); in focusGoesOnTop() 209 return !top.getNormal().isVisible(); in focusGoesOnTop()
|
/dports/games/scorched3d/scorched/src/client/sky/ |
H A D | SkyRoof.cpp | 86 Vector na = rmap.getNormal(i,0).asVector(); in makeList() 88 Vector nb = rmap.getNormal(i + 1, 0).asVector(); in makeList() 94 Vector nb = rmap.getNormal(i, rmap.getMapHeight()).asVector(); in makeList() 97 Vector na = rmap.getNormal(i + 1, rmap.getMapHeight()).asVector(); in makeList() 105 Vector nb = rmap.getNormal(0, i).asVector(); in makeList() 107 Vector na = rmap.getNormal(0, i + 1).asVector(); in makeList() 113 Vector na = rmap.getNormal(rmap.getMapWidth(), i).asVector(); in makeList() 116 Vector nb = rmap.getNormal(rmap.getMapWidth(), i + 1).asVector(); in makeList()
|
/dports/games/jvgs/jvgs-0.5.1-src/src/math/ |
H A D | Line.cpp | 11 signedDistanceConstant = - (getNormal() * point); in Line() 28 Vector2D Line::getNormal() const in getNormal() function in jvgs::math::Line 47 return (getNormal() * p) + signedDistanceConstant; in getSignedDistance()
|
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/ |
H A D | PlaneTest.java | 45 p.getOffset(new Vector3D(1.0, p1, 0.3, p.getNormal())), in testOffset() 48 p.getOffset(new Vector3D(1.0, p1, -0.3, p.getNormal())), in testOffset() 75 Vector3D oldNormal = p.getNormal(); in testRotate() 106 p = p.translate(new Vector3D(-1.2, p.getNormal())); in testTranslate() 111 p = p.translate(new Vector3D(+1.2, p.getNormal())); in testTranslate() 126 … new Vector3D(10, 10, 10).add(p.getNormal().orthogonal()), in testIntersection() 164 Vector3D shift = new Vector3D(0.3, pA.getNormal()); in testSimilar()
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/items/ |
H A D | rubber_ball.cpp | 120 DriveGraph::get()->getNode(getCurrentGraphNode())->getNormal(); in onFireFlyable() 405 DriveGraph::get()->getNode(getCurrentGraphNode())->getNormal(); in updateAndDelete() 437 TerrainInfo::update(next_xyz + getNormal()*vertical_offset, -getNormal()); in updateAndDelete() 480 next_xyz = getHitPoint() + getNormal() * (height * scale); in updateAndDelete() 510 diff = diff - diff.dot(getNormal())*getNormal(); in moveTowardsTarget() 513 *next_xyz = getXYZ() - getNormal()*m_previous_height; in moveTowardsTarget() 517 *next_xyz = getXYZ() - getNormal()*m_previous_height in moveTowardsTarget() 752 Vec3 from(next_xyz + vertical_offset*getNormal()); in getTunnelHeight() 753 Vec3 to(next_xyz + 10000.0f*getNormal()); in getTunnelHeight() 785 float height_diff = fabsf((m_target->getXYZ() - getXYZ()).dot(getNormal().normalized())); in updateDistanceToTarget()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/tools/ |
H A D | obj_rec_ransac_model_opps.cpp | 205 …->InsertNextTuple3 (data_pair.first->getNormal ()[0], data_pair.first->getNormal ()[1], data_pai… in showModelOpps() 206 …>InsertNextTuple3 (data_pair.second->getNormal ()[0], data_pair.second->getNormal ()[1], data_pair… in showModelOpps()
|
/dports/devel/love10/love-0.10.2/src/common/ |
H A D | Vector.h | 79 Vector getNormal() const; 87 Vector getNormal(float scale) const; 193 inline Vector Vector::getNormal() const in getNormal() function 198 inline Vector Vector::getNormal(float scale) const in getNormal() function
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/basegfx/source/polygon/ |
H A D | b3dpolygon.cxx | 88 ::basegfx::B3DVector getNormal() const in getNormal() function in __anonf9345c750111::CoordinateDataArray3D 993 const ::basegfx::B3DVector& getNormal() const in getNormal() function in ImplB3DPolygon 1008 return mpNormals->getNormal(nIndex); in getNormal() 1249 … const bool bNormalsEqual(!mpNormals || (mpNormals->getNormal(0) == mpNormals->getNormal(nIndex))); in hasDoublePoints() 1273 … const bool bNormalsEqual(!mpNormals || (mpNormals->getNormal(a) == mpNormals->getNormal(a + 1))); in hasDoublePoints() 1313 if(bRemove && mpNormals && mpNormals->getNormal(0) != mpNormals->getNormal(nIndex)) in removeDoublePointsAtBeginEnd() 1348 … if(bRemove && mpNormals && mpNormals->getNormal(nIndex) != mpNormals->getNormal(nNextIndex)) in removeDoublePointsWholeTrack() 1470 B3DVector const & B3DPolygon::getNormal() const in getNormal() function in basegfx::B3DPolygon 1472 return mpPolygon->getNormal(); in getNormal() 1479 return mpPolygon->getNormal(nIndex); in getNormal() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/basegfx/source/polygon/ |
H A D | b3dpolygon.cxx | 84 ::basegfx::B3DVector getNormal() const in getNormal() function in CoordinateDataArray3D 987 const ::basegfx::B3DVector& getNormal() const in getNormal() function in ImplB3DPolygon 1002 return mpNormals->getNormal(nIndex); in getNormal() 1243 … const bool bNormalsEqual(!mpNormals || (mpNormals->getNormal(0) == mpNormals->getNormal(nIndex))); in hasDoublePoints() 1267 … const bool bNormalsEqual(!mpNormals || (mpNormals->getNormal(a) == mpNormals->getNormal(a + 1))); in hasDoublePoints() 1306 … if(bRemove && mpNormals && mpNormals->getNormal(0) != mpNormals->getNormal(nIndex)) in removeDoublePointsAtBeginEnd() 1342 … if(bRemove && mpNormals && mpNormals->getNormal(nIndex) != mpNormals->getNormal(nNextIndex)) in removeDoublePointsWholeTrack() 1464 B3DVector const & B3DPolygon::getNormal() const in getNormal() function in basegfx::B3DPolygon 1466 return mpPolygon->getNormal(); in getNormal() 1473 return mpPolygon->getNormal(nIndex); in getNormal() [all …]
|
/dports/misc/usd/USD-21.11/pxr/base/gf/ |
H A D | wrapPlane.cpp | 66 object getNormal = make_function(&This::GetNormal, in wrapPlane() local 89 .add_property( "normal", getNormal) in wrapPlane() 94 .def( "GetNormal", getNormal) in wrapPlane()
|
/dports/misc/dartsim/dart-6.11.1/dart/gui/osg/render/ |
H A D | HeightmapShapeNode.hpp | 275 Eigen::Matrix<S, 3, 1> getNormal( in getNormal() function 284 inline ::osg::Vec3f getNormal( in getNormal() function 293 inline ::osg::Vec3d getNormal( in getNormal() function 426 sum += getNormal(ptCurr, vertices[p2], vertices[p3]); in setVertices() 429 sum += getNormal(ptCurr, vertices[p3], vertices[p5]); in setVertices() 432 sum += getNormal(ptCurr, vertices[p5], vertices[p4]); in setVertices() 435 sum += getNormal(ptCurr, vertices[p4], vertices[p2]); in setVertices()
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/base/ |
H A D | SbDPPlane.cpp | 267 SbDPPlane::getNormal(void) const in getNormal() function in SbDPPlane 353 p1.getNormal() == p2.getNormal()) return TRUE; in operator ==() 376 this->getNormal().print(fp); in print() 481 …check_compare(fp1.getNormal(),dp1.getNormal(),"Comparing normals yields different results",.000001… in BOOST_AUTO_TEST_CASE()
|
H A D | SbPlane.cpp | 268 SbPlane::getNormal(void) const in getNormal() function in SbPlane 358 p1.getNormal() == p2.getNormal()) return TRUE; in operator ==() 381 this->getNormal().print(fp); in print()
|
/dports/biology/ugene/ugene-40.1/src/plugins_3rdparty/ball/src/ |
H A D | SAS.cpp | 70 face.n[0][coordIndex] = surface.getNormal(triangle.v1)[coordIndex]; in calculate() 71 face.n[1][coordIndex] = surface.getNormal(triangle.v2)[coordIndex]; in calculate() 72 face.n[2][coordIndex] = surface.getNormal(triangle.v3)[coordIndex]; in calculate()
|
H A D | SES.cpp | 129 face.n[0][coordIndex] = surface.getNormal(triangle.v1)[coordIndex]; in calculate() 130 face.n[1][coordIndex] = surface.getNormal(triangle.v2)[coordIndex]; in calculate() 131 face.n[2][coordIndex] = surface.getNormal(triangle.v3)[coordIndex]; in calculate()
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/graphics/ |
H A D | skid_marks.cpp | 170 const Vec3 up_offset = (m_kart.getNormal() * 0.05f); in update() 172 raycast_left + delta + up_offset, m_kart.getNormal(), distance); in update() 174 raycast_right + delta + up_offset, m_kart.getNormal(), distance); in update() 206 m_kart.getNormal(), m_material, m_shader, m_avoid_z_fighting, in update() 211 m_kart.getNormal(), m_material, m_shader, m_avoid_z_fighting, in update()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/g2d/motor/ |
H A D | Triangle.java | 136 Vector3d n = Vector3d.product(getNormal(), o.getNormal()); in breakObject() 165 …List<ConvexObject> list1 = breakTriangleOnLine(this, p, Vector3d.product(getNormal(), vertices[0].… in breakObject() 240 Vector3d n = Vector3d.product(getNormal(), np); in breakObject() 263 getNormal(); in isPointInside() 283 double sc = vertices[0].scalar(getNormal()); in isCoplanar() 288 double sc = vertices[0].scalar(getNormal()); in isCoplanar() 319 double c = v3.scalar(getNormal()); in isSegmentIntersects() 337 double c = v.scalar(getNormal()) / s.v0.scalar(getNormal()); in getSegmentIntersection() 379 t.getNormal(); in breakTriangleOnLine() 580 Vector3d n = Vector3d.product(t1.getNormal(), t2.getNormal()); in breakIntersectingTriangles()
|
H A D | ConvexObject.java | 84 double sc = vertices[0].scalar(getNormal()); in areCoplanar() 99 getNormal(); in areCoplanar() 100 o.getNormal(); in areCoplanar() 133 ret = check(o, getNormal()); in isBehind() 138 ret = check(o, o.getNormal()); in isBehind()
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/shapenodes/ |
H A D | soshape_trianglesort.cpp | 131 nearp = SbPlane(-nearp.getNormal(), -nearp.getDistanceFromOrigin()); in endShape() 196 glNormal3fv(v->getNormal().getValue()); in endShape() 202 glNormal3fv(v->getNormal().getValue()); in endShape() 208 glNormal3fv(v->getNormal().getValue()); in endShape()
|
/dports/games/scorched3d/scorched/src/common/landscapemap/ |
H A D | HeightMap.cpp | 155 FixedVector &HeightMap::getNormal(int w, int h) in getNormal() function in HeightMap 227 FixedVector &normalA = getNormal(ihx.asInt(), ihy.asInt()); in getInterpNormal() 228 FixedVector &normalB = getNormal(ihx.asInt(), ihy2.asInt()); in getInterpNormal() 229 FixedVector &normalC = getNormal(ihx2.asInt(), ihy.asInt()); in getInterpNormal() 230 FixedVector &normalD = getNormal(ihx2.asInt(), ihy2.asInt()); in getInterpNormal()
|
/dports/biology/gatk/gatk-4.2.0.0/src/main/java/org/broadinstitute/hellbender/tools/funcotator/metadata/ |
H A D | TumorNormalPair.java | 20 public String getNormal() { in getNormal() method in TumorNormalPair 26 return "Tumor: " + getTumor() + ", Normal: " + getNormal(); in toString()
|
/dports/science/jmol/jmol-14.32.7/src/javajs/util/ |
H A D | Quat.java | 424 return newVA(getNormal(), getTheta() + x); in add() 430 newVA(getNormal(), getTheta() * x)); in mul() 505 public V3 getNormal() { in getNormal() method in Quat 538 V3 v = getNormal(); in getNormalDirected() 558 V3 v = getNormal(); in getThetaDirected() 575 V3 v = getNormal(); in getThetaDirectedV() 600 V3 v = getNormal(); in toAxisAngle4f() 704 V3 v = ndata[0].getNormal(); in simpleAverage() 759 v = dq.getNormal(); in newMean()
|
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/COLLADAMax/src/ |
H A D | COLLADAMaxTexTangentCalculator.cpp | 146 normalVertex[0] = mMesh->getNormal( normalIndex1 ); in calculateTriangleMeshTextangents() 147 normalVertex[1] = mMesh->getNormal( normalIndex2 ); in calculateTriangleMeshTextangents() 148 normalVertex[2] = mMesh->getNormal( normalIndex3 ); in calculateTriangleMeshTextangents() 201 Vector3 normal = mMesh->getNormal( vertexIdentifier.normalIndex ); in normalizeTangentsAndCalculateBiTangents()
|
/dports/games/bzflag-server/bzflag-2.4.22/include/ |
H A D | MeshFace.h | 51 void getNormal(const float* p, float* n) const; 74 const float* getNormal(int index) const; 199 inline const float* MeshFace::getNormal(int index) const in getNormal() function
|