Go to Overview over all GrAL packages.
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dimension_dependent_primitives_2d Struct Template Reference

#include <primitives2d.h>

Inheritance diagram for dimension_dependent_primitives_2d:

Inheritance graph
[legend]
Collaboration diagram for dimension_dependent_primitives_2d:

Collaboration graph
[legend]
List of all members.

Static Public Methods

double det2 (const POINT &p1, const POINT &p2)
double signed_triangle_area (const POINT &p1, const POINT &p2, const POINT &p3)
double triangle_area (const POINT &p1, const POINT &p2, const POINT &p3)
POINT normal_with_same_length (const POINT &p)
POINT normed_normal (const POINT &p)
void transpose (POINT &p, POINT &q)
void solve2 (POINT const &A1, POINT const &A2, POINT &X, POINT const &b)
void solveA (POINT A1, POINT A2, POINT &X, POINT b)

template<class POINT>
struct dimension_dependent_primitives_2d< POINT >


Member Function Documentation

template<class POINT>
double dimension_dependent_primitives_2d< POINT >::det2 const POINT &    p1,
const POINT &    p2
[inline, static]
 

Definition at line 22 of file primitives2d.h.

Referenced by signed_triangle_area, and solve2.

template<class POINT>
double dimension_dependent_primitives_2d< POINT >::signed_triangle_area const POINT &    p1,
const POINT &    p2,
const POINT &    p3
[inline, static]
 

Definition at line 30 of file primitives2d.h.

References det2.

Referenced by triangle_area.

template<class POINT>
double dimension_dependent_primitives_2d< POINT >::triangle_area const POINT &    p1,
const POINT &    p2,
const POINT &    p3
[inline, static]
 

Definition at line 36 of file primitives2d.h.

References signed_triangle_area.

template<class POINT>
POINT dimension_dependent_primitives_2d< POINT >::normal_with_same_length const POINT &    p [inline, static]
 

Definition at line 42 of file primitives2d.h.

Referenced by normed_normal.

template<class POINT>
POINT dimension_dependent_primitives_2d< POINT >::normed_normal const POINT &    p [inline, static]
 

Definition at line 48 of file primitives2d.h.

References basic_algebraic_primitives::norm_2, and normal_with_same_length.

template<class POINT>
void dimension_dependent_primitives_2d< POINT >::transpose POINT &    p,
POINT &    q
[inline, static]
 

Definition at line 54 of file primitives2d.h.

References swap.

template<class POINT>
void dimension_dependent_primitives_2d< POINT >::solve2 POINT const &    A1,
POINT const &    A2,
POINT &    X,
POINT const &    b
[inline, static]
 

Definition at line 59 of file primitives2d.h.

References det2, and basic_algebraic_primitives::scalar.

template<class POINT>
void dimension_dependent_primitives_2d< POINT >::solveA POINT    A1,
POINT    A2,
POINT &    X,
POINT    b
[inline, static]
 

Definition at line 67 of file primitives2d.h.

References basic_algebraic_primitives::scalar, and swap.


The documentation for this struct was generated from the following file:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 15:57:33 2002 for Geometry by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000