Fermat
Public Methods | Public Members | List of all members
cugar::DifferentialGeometry Struct Reference

Detailed description

A simplified notion of the local differential geometry at a surface

#include <differential_geometry.h>

Inheritance diagram for cugar::DifferentialGeometry:
VertexGeometry

Public Methods

CUGAR_HOST_DEVICE Vector3f to_local (const Vector3f v) const
 
CUGAR_HOST_DEVICE Vector3f from_local (const Vector3f v) const
 
CUGAR_HOST_DEVICE float cos_theta_l (const Vector3f v) const
 
CUGAR_HOST_DEVICE float cos_theta_g (const Vector3f v) const
 

Public Members

Vector3f normal_s
 
Vector3f normal_g
 
Vector3f tangent
 
Vector3f binormal
 

Member Function Documentation

◆ cos_theta_g()

CUGAR_HOST_DEVICE float cugar::DifferentialGeometry::cos_theta_g ( const Vector3f  v) const
inline
cosine of theta of a vector expressed in global coordinates

◆ cos_theta_l()

CUGAR_HOST_DEVICE float cugar::DifferentialGeometry::cos_theta_l ( const Vector3f  v) const
inline
cosine of theta of a vector expressed in local coordinates

◆ from_local()

CUGAR_HOST_DEVICE Vector3f cugar::DifferentialGeometry::from_local ( const Vector3f  v) const
inline
transform back to world space

◆ to_local()

CUGAR_HOST_DEVICE Vector3f cugar::DifferentialGeometry::to_local ( const Vector3f  v) const
inline
transform to the local coordinate system

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