Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Proj Namespace Reference

Generic auxiliary routines for 3D axes. More...

Classes

class  Pt2
 
class  Pt3
 
class  TransfMat3x4
 

Enumerations

enum  VPState { VP_FINITE = 0 , VP_INFINITE }
 
enum  Axis {
  X = 0 , Y = 1 , Z = 2 , W = 3 ,
  NONE
}
 

Functions

char const * string_from_axis (Proj::Axis axis)
 
Box3D::Axis toAffine (Proj::Axis axis)
 

Variables

Axis axes [4] = { X, Y, Z, W }
 
const double epsilon = 1E-6
 

Detailed Description

Generic auxiliary routines for 3D axes.

3x4 transformation matrix to map points from projective 3-space into the projective plane

Authors: Maximilian Albert Anhal.nosp@m.ter4.nosp@m.2@gmx.nosp@m..de

Copyright (C) 2007 authors

Released under GNU GPL v2+, read the file 'COPYING' for more information.

Authors: Maximilian Albert Anhal.nosp@m.ter4.nosp@m.2@gmx.nosp@m..de

Copyright (C) 2007 Authors

Released under GNU GPL v2+, read the file 'COPYING' for more information.

Enumeration Type Documentation

◆ Axis

enum Proj::Axis
Enumerator
NONE 

Definition at line 30 of file axis-manip.h.

◆ VPState

Enumerator
VP_FINITE 
VP_INFINITE 

Definition at line 23 of file axis-manip.h.

Function Documentation

◆ string_from_axis()

char const * Proj::string_from_axis ( Proj::Axis  axis)
inline

Definition at line 41 of file axis-manip.h.

References NONE, W, X, Y, and Z.

Referenced by Box3D::VanishingPoint::axisString(), and Persp3D::print_debugging_info().

◆ toAffine()

Box3D::Axis Proj::toAffine ( Proj::Axis  axis)
inline

Definition at line 119 of file axis-manip.h.

References NONE, Box3D::NONE, X, Box3D::X, Y, Box3D::Y, Z, and Box3D::Z.

Referenced by box3d_check_for_swapped_coords().

Variable Documentation

◆ axes

◆ epsilon

const double Proj::epsilon = 1E-6

Definition at line 21 of file proj_pt.h.

Referenced by Proj::Pt2::affine(), Proj::Pt2::operator==(), and Proj::Pt3::operator==().