Drake
VolumeVertex< T > Class Template Reference

Detailed Description

template<class T>
class drake::geometry::VolumeVertex< T >

VolumeVertex represents a vertex in VolumeMesh.

Template Parameters
TThe underlying scalar type for coordinates, e.g., double or AutoDiffXd. Must be a valid Eigen scalar.

#include <drake/geometry/proximity/volume_mesh.h>

Public Member Functions

 VolumeVertex (const Vector3< T > &r_MV)
 Constructs VolumeVertex. More...
 
 VolumeVertex (const T &Vx_M, const T &Vy_M, const T &Vz_M)
 Constructs VolumeVertex from the xyz components of a point V in a frame M. More...
 
const Vector3< T > & r_MV () const
 Returns the displacement vector from the origin of M's frame to this vertex, expressed in M's frame. More...
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 VolumeVertex (const VolumeVertex &)=default
 
VolumeVertexoperator= (const VolumeVertex &)=default
 
 VolumeVertex (VolumeVertex &&)=default
 
VolumeVertexoperator= (VolumeVertex &&)=default
 

Constructor & Destructor Documentation

◆ VolumeVertex() [1/4]

VolumeVertex ( const VolumeVertex< T > &  )
default

◆ VolumeVertex() [2/4]

VolumeVertex ( VolumeVertex< T > &&  )
default

◆ VolumeVertex() [3/4]

VolumeVertex ( const Vector3< T > &  r_MV)
explicit

Constructs VolumeVertex.

Parameters
r_MVdisplacement vector from the origin of M's frame to this vertex, expressed in M's frame.

◆ VolumeVertex() [4/4]

VolumeVertex ( const T &  Vx_M,
const T &  Vy_M,
const T &  Vz_M 
)

Constructs VolumeVertex from the xyz components of a point V in a frame M.

Member Function Documentation

◆ operator=() [1/2]

VolumeVertex& operator= ( const VolumeVertex< T > &  )
default

◆ operator=() [2/2]

VolumeVertex& operator= ( VolumeVertex< T > &&  )
default

◆ r_MV()

const Vector3<T>& r_MV ( ) const

Returns the displacement vector from the origin of M's frame to this vertex, expressed in M's frame.


The documentation for this class was generated from the following file: