Home
last modified time | relevance | path

Searched refs:halfLengths (Results 1 – 17 of 17) sorted by relevance

/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Geometry/include/simmath/internal/
H A DGeo_Box.h62 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 DContactGeometry.h1110 explicit Brick(const Vec3& halfLengths);
1116 void setHalfLengths(const Vec3& halfLengths);
/dports/science/simbody/simbody-Simbody-3.7/SimTKmath/Geometry/src/
H A DContactGeometry_Brick.cpp51 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 DContactGeometryImpl.h935 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 DDzhanibekovEffect.cpp76 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 DExampleCustomConstraint.cpp173 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 DMassProperties.h510 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 DDecorativeGeometry.h433 explicit DecorativeBrick(const Vec3& halfLengths = Vec3(Real(0.5)));
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/Mechanics/include/SimTKcommon/internal/
H A DMassProperties.h498 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 DDecorativeGeometryRep.h377 : 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 DGeometry.h533 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 DShapeDrawable.cpp1091 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 DShape214 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 DShape214 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 DGrQuadUtils.cpp1147 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 DGrQuadUtils.cpp1175 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 DDecorativeGeometry.h428 explicit DecorativeBrick(const Vec3& halfLengths = Vec3(Real(0.5)));