Project
Loading...
Searching...
No Matches
o2::cad::surface::ParametricMetric Struct Reference

How a wire converts a parametric separation into a 3D length: the owning surface's first fundamental form, or the identity. More...

#include <BoundedSurface.h>

Public Types

using Evaluate = void(*)(const void *context, const Vec2 &uv, double &gUU, double &gUV, double &gVV)
 

Public Member Functions

double lengthSq (const Vec2 &uv, const Vec2 &delta) const
 The 3D length squared spanned by the parametric displacement delta starting at uv.
 
double distanceSq (const Vec2 &from, const Vec2 &to) const
 The 3D distance squared between two nearby parametric points, with the form evaluated at from.
 
double maxScale (const Vec2 &uv) const
 The largest 3D length a unit parametric displacement spans at uv: the square root of the larger eigenvalue.
 

Public Attributes

Evaluate evaluate = nullptr
 
const voidcontext = nullptr
 

Detailed Description

How a wire converts a parametric separation into a 3D length: the owning surface's first fundamental form, or the identity.

Definition at line 111 of file BoundedSurface.h.

Member Typedef Documentation

◆ Evaluate

using o2::cad::surface::ParametricMetric::Evaluate = void (*)(const void* context, const Vec2& uv, double& gUU, double& gUV, double& gVV)

Definition at line 112 of file BoundedSurface.h.

Member Function Documentation

◆ distanceSq()

double o2::cad::surface::ParametricMetric::distanceSq ( const Vec2 from,
const Vec2 to 
) const
inline

The 3D distance squared between two nearby parametric points, with the form evaluated at from.

Definition at line 131 of file BoundedSurface.h.

◆ lengthSq()

double o2::cad::surface::ParametricMetric::lengthSq ( const Vec2 uv,
const Vec2 delta 
) const
inline

The 3D length squared spanned by the parametric displacement delta starting at uv.

Definition at line 118 of file BoundedSurface.h.

◆ maxScale()

double o2::cad::surface::ParametricMetric::maxScale ( const Vec2 uv) const
inline

The largest 3D length a unit parametric displacement spans at uv: the square root of the larger eigenvalue.

Definition at line 134 of file BoundedSurface.h.

Member Data Documentation

◆ context

const void* o2::cad::surface::ParametricMetric::context = nullptr

Definition at line 115 of file BoundedSurface.h.

◆ evaluate

Evaluate o2::cad::surface::ParametricMetric::evaluate = nullptr

Definition at line 114 of file BoundedSurface.h.


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