Blender V2.61 - r43446
Variables

Projections.cpp File Reference

#include <math.h>
#include "Projections.h"

Go to the source code of this file.

Variables

const int vertmap [8][3]
const int centmap [3][3][3][2]
const int edgemap [12][2]
const int facemap [6][4]

Variable Documentation

const int centmap[3][3][3][2]
Initial value:
 {
    {{{0, 0}, {0, 1}, {1, 1}},
     {{0, 2}, {0, 3}, {1, 3}},
     {{2, 2}, {2, 3}, {3, 3}}
    },
    
    {{{0, 4}, {0, 5}, {1, 5}},
     {{0, 6}, {0, 7}, {1, 7}},
     {{2, 6}, {2, 7}, {3, 7}}
    },
    
    {{{4, 4}, {4, 5}, {5, 5}},
     {{4, 6}, {4, 7}, {5, 7}},
     {{6, 6}, {6, 7}, {7, 7}}
    }
}

Definition at line 37 of file Projections.cpp.

const int edgemap[12][2]
Initial value:
 {
    {0, 4},
    {1, 5},
    {2, 6},
    {3, 7},
    {0, 2},
    {1, 3},
    {4, 6},
    {5, 7},
    {0, 1},
    {2, 3},
    {4, 5},
    {6, 7}
}

Definition at line 54 of file Projections.cpp.

Referenced by Projections::getIntersection(), and Projections::isIntersecting().

const int facemap[6][4]
Initial value:
 {
    {0, 1, 2, 3},
    {4, 5, 6, 7},
    {0, 1, 4, 5},
    {2, 3, 6, 7},
    {0, 2, 4, 6},
    {1, 3, 5, 7}
}

Definition at line 69 of file Projections.cpp.

Referenced by Projections::isIntersecting().

const int vertmap[8][3]
Initial value:
 {
    {0, 0, 0},
    {0, 0, 1},
    {0, 1, 0},
    {0, 1, 1},
    {1, 0, 0},
    {1, 0, 1},
    {1, 1, 0},
    {1, 1, 1}
}

Structures and classes for computing projections of triangles onto separating axes during scan conversion

Author:
Tao Ju

Definition at line 26 of file Projections.cpp.

Referenced by Projections::getIntersection(), Projections::isIntersecting(), and Projections::Projections().