versor  3.0
C++11 library for Geometric algebra
Static Public Member Functions | List of all members
vsr::cga::Constrain Struct Reference

Methods for Evaluating Constrained Points using Intersections of Sphere-based Distances. More...

#include <vsr_rigid.h>

Static Public Member Functions

static DualSphere Distance (const Point &src, const Point &target)
 Construct a Distance Constraint from a source and target.
 
static Point Crease (const Point &a, const Point &dls, const DualLine d, bool mtn)
 
static Point Double (const Dls &da, const Dls &db, double amt)
 two distances and a theta around their meet
 
static Point Triple (const Dls &da, const Dls &db, const Dls &dc, bool mtn)
 three distances, counter clockwise (deprecated, use Tetral)
 
static Point Tetral (const Dls &da, const Dls &db, const Dls &dc, bool mtn)
 tetral constraint
 
static Point Planar (const Dls &da, const Dls &db, const Dls &dc, bool mtn)
 planar constraint: two distances and a plane
 
static Point Tangency (const Pnt &p, const Dls &da, const Dls &db)
 circle tangency constraint, two distances and an original point (closest to original)
 
static Point Tangency (const Pnt &p, const Dls &da)
 spherical tangency constrain, one distance and an original point (returns point on sphere closest to p);
 
static Point Tension (const Pnt &p, const Dls &da)
 Tension tangency constrain, one distance and an original point (returns point on sphere closest to p if p is outside da, otherwise just p);.
 
static Point Tension (const Pnt &p, const Dls &da, const Dls &db)
 tension constraint from two distances
 
static Point Triple0 (const Dls &da, const Dls &db, const Dls &dc)
 
static Point PointToCircle (const Point &p, const Circle &c)
 constrain a point p to a circle c More...
 

Detailed Description

Methods for Evaluating Constrained Points using Intersections of Sphere-based Distances.

Member Function Documentation

static Point vsr::cga::Constrain::PointToCircle ( const Point p,
const Circle c 
)
inlinestatic

constrain a point p to a circle c

dual sphere surround of c

line through center of circle and cen

meet of line and sphere

point on circle closest to p


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