/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Geometry/include/simmath/internal/ |
H A D | Geo_Box.h | 62 Box_(const Vec3P& halfLengths) {setHalfLengths(halfLengths);} in Box_() argument 66 Box_& setHalfLengths(const Vec3P& halfLengths) { in setHalfLengths() argument 69 (double)halfLengths[0],(double)halfLengths[1],(double)halfLengths[2]); in setHalfLengths() 70 h = halfLengths; in setHalfLengths() 471 AlignedBox_(const Vec3P& center, const Vec3P& halfLengths) in AlignedBox_() argument 472 : center(center), box(halfLengths) {} in AlignedBox_() 479 AlignedBox_& setHalfLengths(const Vec3P& halfLengths) in setHalfLengths() argument 480 { box.setHalfLengths(halfLengths); return *this; } in setHalfLengths() 546 : X_FB(X_FB), box(halfLengths) {} in OrientedBox_() 554 OrientedBox_& setHalfLengths(const Vec3P& halfLengths) in setHalfLengths() argument [all …]
|
H A D | ContactGeometry.h | 1110 explicit Brick(const Vec3& halfLengths); 1116 void setHalfLengths(const Vec3& halfLengths);
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Geometry/src/ |
H A D | ContactGeometry_Brick.cpp | 51 ContactGeometry::Brick::Brick(const Vec3& halfLengths) in Brick() argument 52 : ContactGeometry(new Brick::Impl(halfLengths)) {} in Brick() 54 void ContactGeometry::Brick::setHalfLengths(const Vec3& halfLengths) in setHalfLengths() argument 55 { updImpl().setHalfLengths(halfLengths); } in setHalfLengths()
|
H A D | ContactGeometryImpl.h | 935 explicit Impl(const Vec3& halfLengths) : m_box(halfLengths) { in Impl() argument 944 void setHalfLengths(const Vec3& halfLengths) { in setHalfLengths() argument 945 m_box.setHalfLengths(halfLengths); in setHalfLengths()
|
/dports/science/simbody/simbody-Simbody-3.7/examples/ |
H A D | DzhanibekovEffect.cpp | 76 const Vec3 halfLengths(.02,.04,.3); in main() local 78 UnitInertia::brick(halfLengths))); in main() 80 DecorativeBrick(halfLengths).setColor(Blue)); in main() 85 barBody, Vec3(halfLengths[0],0,0)); in main()
|
H A D | ExampleCustomConstraint.cpp | 173 const Vec3 halfLengths(.5, .1, .25); // half-size of brick (m) in main() local 176 mass*UnitInertia::brick(halfLengths))); in main() 178 DecorativeBrick(halfLengths).setColor(Red)); in main()
|
/dports/science/opensim-core/opensim-core-4.1/Bindings/SWIGSimTK/ |
H A D | MassProperties.h | 510 inline static Inertia_ brick(const Vec3& halfLengths); 516 inline static Inertia_ ellipsoid(const Vec3& halfLengths); 918 static UnitInertia_ brick(const Vec3& halfLengths) in brick() argument 919 { return brick(halfLengths[0],halfLengths[1],halfLengths[2]); } in brick() 928 static UnitInertia_ ellipsoid(const Vec3& halfLengths) in ellipsoid() argument 929 { return ellipsoid(halfLengths[0],halfLengths[1],halfLengths[2]); } in ellipsoid() 962 brick(const Vec3& halfLengths) in brick() argument 963 { return UnitInertia_<P>::brick(halfLengths); } in brick() 968 ellipsoid(const Vec3& halfLengths) in ellipsoid() argument 969 { return UnitInertia_<P>::ellipsoid(halfLengths); } in ellipsoid()
|
H A D | DecorativeGeometry.h | 433 explicit DecorativeBrick(const Vec3& halfLengths = Vec3(Real(0.5)));
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/Mechanics/include/SimTKcommon/internal/ |
H A D | MassProperties.h | 498 inline static Inertia_ brick(const Vec<3,P>& halfLengths); 504 inline static Inertia_ ellipsoid(const Vec<3,P>& halfLengths); 904 static UnitInertia_ brick(const Vec3P& halfLengths) in brick() argument 905 { return brick(halfLengths[0],halfLengths[1],halfLengths[2]); } in brick() 914 static UnitInertia_ ellipsoid(const Vec3P& halfLengths) in ellipsoid() argument 915 { return ellipsoid(halfLengths[0],halfLengths[1],halfLengths[2]); } in ellipsoid() 948 brick(const Vec<3,P>& halfLengths) in brick() argument 949 { return UnitInertia_<P>::brick(halfLengths); } in brick() 954 ellipsoid(const Vec<3,P>& halfLengths) in ellipsoid() argument 955 { return UnitInertia_<P>::ellipsoid(halfLengths); } in ellipsoid()
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/Geometry/src/ |
H A D | DecorativeGeometryRep.h | 377 : halfLengths(xyzHalfLengths) { in DecorativeBrickRep() 378 assert(halfLengths[0]>0&&halfLengths[1]>0&&halfLengths[2]>0); // TODO in DecorativeBrickRep() 383 halfLengths = hl; in setHalfLengths() 385 const Vec3& getHalfLengths() const {return halfLengths;} in getHalfLengths() 399 Vec3 halfLengths;
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Simulation/Model/ |
H A D | Geometry.h | 533 Brick(const SimTK::Vec3& halfLengths) : in Brick() argument 537 upd_half_lengths() = halfLengths; in Brick()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osg/ |
H A D | ShapeDrawable.cpp | 1091 Vec3 halfLengths(sphere.getRadius(),sphere.getRadius(),sphere.getRadius()); in apply() local 1092 _bb.expandBy(sphere.getCenter()-halfLengths); in apply() 1093 _bb.expandBy(sphere.getCenter()+halfLengths); in apply() 1161 Vec3 halfLengths(cylinder.getRadius(),cylinder.getRadius(),cylinder.getHeight()*0.5f); in apply() local 1162 _bb.expandBy(cylinder.getCenter()-halfLengths); in apply() 1163 _bb.expandBy(cylinder.getCenter()+halfLengths); in apply() 1198 …Vec3 halfLengths(capsule.getRadius(),capsule.getRadius(),capsule.getHeight()*0.5f + capsule.getRad… in apply() local 1199 _bb.expandBy(capsule.getCenter()-halfLengths); in apply() 1200 _bb.expandBy(capsule.getCenter()+halfLengths); in apply()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/include/osg/ |
H A D | Shape | 214 inline void set(const Vec3& center,const Vec3& halfLengths) 217 _halfLengths = halfLengths; 223 inline void setHalfLengths(const Vec3& halfLengths) { _halfLengths = halfLengths; }
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/include/osg/ |
H A D | Shape | 214 inline void set(const Vec3& center,const Vec3& halfLengths) 217 _halfLengths = halfLengths; 223 inline void setHalfLengths(const Vec3& halfLengths) { _halfLengths = halfLengths; }
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/geometry/ |
H A D | GrQuadUtils.cpp | 1147 V4f halfLengths = -0.5f / next_cw(fEdgeVectors.fInvLengths); // Negate to inset in adjustDegenerateVertices() local 1148 M4f crossedEdges = halfLengths > signedEdgeDistances; in adjustDegenerateVertices() 1149 V4f safeInsets = if_then_else(crossedEdges, halfLengths, signedEdgeDistances); in adjustDegenerateVertices()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/geometry/ |
H A D | GrQuadUtils.cpp | 1175 V4f halfLengths = -0.5f / next_cw(fEdgeVectors.fInvLengths); // Negate to inset in adjustDegenerateVertices() local 1176 M4f crossedEdges = halfLengths > signedEdgeDistances; in adjustDegenerateVertices() 1177 V4f safeInsets = if_then_else(crossedEdges, halfLengths, signedEdgeDistances); in adjustDegenerateVertices()
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/Geometry/include/SimTKcommon/internal/ |
H A D | DecorativeGeometry.h | 428 explicit DecorativeBrick(const Vec3& halfLengths = Vec3(Real(0.5)));
|