Drake
SurfaceVertex< T > Class Template Reference

Detailed Description

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

SurfaceVertex represents a vertex in SurfaceMesh.

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

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

Public Member Functions

 SurfaceVertex (const Vector3< T > &r_MV)
 Constructs SurfaceVertex. 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...
 
void TransformInPlace (const math::RigidTransform< T > &X_NM)
 Transforms this vertex position from its initial frame M to a new frame N. More...
 
Implements CopyConstructible, CopyAssignable, MoveConstructible, MoveAssignable
 SurfaceVertex (const SurfaceVertex &)=default
 
SurfaceVertexoperator= (const SurfaceVertex &)=default
 
 SurfaceVertex (SurfaceVertex &&)=default
 
SurfaceVertexoperator= (SurfaceVertex &&)=default
 

Constructor & Destructor Documentation

◆ SurfaceVertex() [1/3]

SurfaceVertex ( const SurfaceVertex< T > &  )
default

◆ SurfaceVertex() [2/3]

SurfaceVertex ( SurfaceVertex< T > &&  )
default

◆ SurfaceVertex() [3/3]

SurfaceVertex ( const Vector3< T > &  r_MV)
explicit

Constructs SurfaceVertex.

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

SurfaceVertex& operator= ( SurfaceVertex< 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.

◆ TransformInPlace()

void TransformInPlace ( const math::RigidTransform< T > &  X_NM)

Transforms this vertex position from its initial frame M to a new frame N.


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