[−][src]Struct nphysics2d::joint::CartesianJoint
A joint that allows only all the translational degrees of freedom between two multibody links.
Implementations
impl<N: RealField> CartesianJoint<N>
[src]
pub fn new(position: Vector<N>) -> Self
[src]
Create a cartesian joint with an initial position given by position
.
Trait Implementations
impl<N: Clone + RealField> Clone for CartesianJoint<N>
[src]
pub fn clone(&self) -> CartesianJoint<N>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: Copy + RealField> Copy for CartesianJoint<N>
[src]
impl<N: Debug + RealField> Debug for CartesianJoint<N>
[src]
impl<N: RealField> Joint<N> for CartesianJoint<N>
[src]
pub fn ndofs(&self) -> usize
[src]
pub fn body_to_parent(
&self,
parent_shift: &Vector<N>,
body_shift: &Vector<N>
) -> Isometry<N>
[src]
&self,
parent_shift: &Vector<N>,
body_shift: &Vector<N>
) -> Isometry<N>
pub fn update_jacobians(&mut self, _: &Vector<N>, _: &[N])
[src]
pub fn jacobian(&self, _: &Isometry<N>, out: &mut JacobianSliceMut<'_, N>)
[src]
pub fn jacobian_dot(&self, _: &Isometry<N>, _: &mut JacobianSliceMut<'_, N>)
[src]
pub fn jacobian_dot_veldiff_mul_coordinates(
&self,
_: &Isometry<N>,
_: &[N],
_: &mut JacobianSliceMut<'_, N>
)
[src]
&self,
_: &Isometry<N>,
_: &[N],
_: &mut JacobianSliceMut<'_, N>
)
pub fn jacobian_mul_coordinates(&self, vels: &[N]) -> Velocity<N>
[src]
pub fn jacobian_dot_mul_coordinates(&self, _: &[N]) -> Velocity<N>
[src]
pub fn default_damping(&self, _: &mut DVectorSliceMut<'_, N>)
[src]
pub fn integrate(&mut self, parameters: &IntegrationParameters<N>, vels: &[N])
[src]
pub fn apply_displacement(&mut self, disp: &[N])
[src]
pub fn clone(&self) -> Box<dyn Joint<N>>
[src]
pub fn nimpulses(&self) -> usize
[src]
pub fn num_velocity_constraints(&self) -> usize
[src]
pub fn velocity_constraints(
&self,
_params: &IntegrationParameters<N>,
_multibody: &Multibody<N>,
_link: &MultibodyLink<N>,
_assembly_id: usize,
_dof_id: usize,
_ext_vels: &[N],
_ground_j_id: &mut usize,
_jacobians: &mut [N],
_velocity_constraints: &mut ConstraintSet<N, (), (), usize>
)
[src]
&self,
_params: &IntegrationParameters<N>,
_multibody: &Multibody<N>,
_link: &MultibodyLink<N>,
_assembly_id: usize,
_dof_id: usize,
_ext_vels: &[N],
_ground_j_id: &mut usize,
_jacobians: &mut [N],
_velocity_constraints: &mut ConstraintSet<N, (), (), usize>
)
pub fn num_position_constraints(&self) -> usize
[src]
pub fn position_constraint(
&self,
_i: usize,
_multibody: &Multibody<N>,
_link: &MultibodyLink<N>,
_handle: BodyPartHandle<()>,
_dof_id: usize,
_jacobians: &mut [N]
) -> Option<GenericNonlinearConstraint<N, ()>>
[src]
&self,
_i: usize,
_multibody: &Multibody<N>,
_link: &MultibodyLink<N>,
_handle: BodyPartHandle<()>,
_dof_id: usize,
_jacobians: &mut [N]
) -> Option<GenericNonlinearConstraint<N, ()>>
Auto Trait Implementations
impl<N> RefUnwindSafe for CartesianJoint<N> where
N: RefUnwindSafe + Scalar,
[src]
N: RefUnwindSafe + Scalar,
impl<N> Send for CartesianJoint<N> where
N: Scalar,
[src]
N: Scalar,
impl<N> Sync for CartesianJoint<N> where
N: Scalar,
[src]
N: Scalar,
impl<N> Unpin for CartesianJoint<N> where
N: Scalar + Unpin,
[src]
N: Scalar + Unpin,
impl<N> UnwindSafe for CartesianJoint<N> where
N: Scalar + UnwindSafe,
[src]
N: Scalar + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
[src]
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,