Homogeneous coordinate vector. More...
#include <HomXform.hpp>
Public Member Functions | |
HomCoord () | |
constructors More... | |
HomCoord (const int coords[], const int num_coords=4) | |
HomCoord (const int coord0, const int coord1, const int coord2, const int coord3) | |
HomCoord (const int coord0, const int coord1, const int coord2) | |
HomCoord (const HomCoord &coord) | |
void | set (const int coords[]) |
set function More... | |
void | set (const int i, const int j, const int k, const int h=1) |
const int * | hom_coord () const |
get function More... | |
int | i () const |
parameter-based access functions More... | |
int | j () const |
int | k () const |
int | h () const |
int | length_squared () const |
squared length More... | |
int | length () const |
length More... | |
void | normalize () |
normalize More... | |
HomCoord & | operator*= (const HomXform &rhs2) |
operators More... | |
HomCoord | operator* (const HomXform &rhs2) const |
HomCoord & | operator*= (const int mult) |
HomCoord | operator* (const int mult) const |
HomCoord & | operator/= (const HomXform &rhs2) |
HomCoord | operator/ (const HomXform &rhs2) const |
HomCoord & | operator/= (const int mult) |
HomCoord | operator/ (const int mult) const |
HomCoord & | operator+= (const HomCoord &rhs1) |
HomCoord | operator+ (const HomCoord &rhs1) const |
HomCoord & | operator-= (const HomCoord &rhs1) |
HomCoord | operator- (const HomCoord &rhs1) const |
HomCoord & | operator= (const HomCoord &rhs) |
int | operator% (const HomCoord &rhs) const |
HomCoord | operator* (const HomCoord &rhs) const |
HomCoord & | operator*= (const HomCoord &rhs) |
bool | operator== (const HomCoord &rhs1) const |
bool | operator!= (const HomCoord &rhs1) const |
bool | operator>= (const HomCoord &rhs1) const |
bool | operator<= (const HomCoord &rhs1) const |
bool | operator> (const HomCoord &rhs1) const |
bool | operator< (const HomCoord &rhs1) const |
int | operator[] (const int ¶m) const |
int & | operator[] (const int ¶m) |
Static Public Member Functions | |
static HomCoord & | getUnitv (int c) |
Static Public Attributes | |
static MOAB_EXPORT HomCoord | unitv [3] = { HomCoord( 1, 0, 0 ), HomCoord( 0, 1, 0 ), HomCoord( 0, 0, 1 ) } |
static MOAB_EXPORT HomCoord | IDENTITY |
Private Attributes | |
int | homCoord [4] |
coordinate data More... | |
Friends | |
class | HomXform |
Homogeneous coordinate vector.
Definition at line 48 of file HomXform.hpp.
|
inline |
constructors
Definition at line 215 of file HomXform.hpp.
References homCoord.
Referenced by operator*(), operator*=(), operator+(), operator-(), and operator/().
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
get function
Definition at line 77 of file HomXform.hpp.
References homCoord.
Referenced by moab::ScdVertexData::get_vertex(), moab::SweptVertexData::get_vertex(), moab::ScdVertexData::i_max(), moab::SweptVertexData::i_max(), moab::ScdVertexData::i_min(), moab::SweptVertexData::i_min(), moab::ScdVertexData::j_max(), moab::SweptVertexData::j_max(), moab::ScdVertexData::j_min(), moab::SweptVertexData::j_min(), moab::ScdVertexData::k_max(), moab::SweptVertexData::k_max(), moab::ScdVertexData::k_min(), and moab::SweptVertexData::k_min().
|
inline |
parameter-based access functions
Definition at line 86 of file HomXform.hpp.
References homCoord.
Referenced by moab::ScdElementData::contains(), moab::ScdElementData::contains_vertex(), moab::SequenceManager::create_scd_sequence(), moab::SequenceManager::create_sweep_sequence(), moab::StructuredElementSeq::get_element(), moab::SweptElementSeq::get_element(), moab::ScdElementData::get_params(), moab::SweptElementData::get_params(), moab::ScdVertexData::get_params(), moab::SweptVertexData::get_params(), moab::StructuredElementSeq::i_max(), moab::SweptElementSeq::i_max(), moab::StructuredElementSeq::i_min(), moab::SweptElementSeq::i_min(), moab::StructuredElementSeq::max_params(), moab::SweptElementSeq::max_params(), moab::StructuredElementSeq::min_params(), moab::SweptElementSeq::min_params(), moab::operator<<(), moab::Skinner::skin_box(), and moab::HomXform::three_pt_xform().
|
inline |
Definition at line 90 of file HomXform.hpp.
References homCoord.
Referenced by moab::ScdElementData::contains(), moab::ScdElementData::contains_vertex(), moab::SequenceManager::create_scd_sequence(), moab::SequenceManager::create_sweep_sequence(), moab::StructuredElementSeq::get_element(), moab::SweptElementSeq::get_element(), moab::ScdElementData::get_params(), moab::SweptElementData::get_params(), moab::ScdVertexData::get_params(), moab::SweptVertexData::get_params(), moab::StructuredElementSeq::j_max(), moab::SweptElementSeq::j_max(), moab::StructuredElementSeq::j_min(), moab::SweptElementSeq::j_min(), moab::StructuredElementSeq::max_params(), moab::SweptElementSeq::max_params(), moab::StructuredElementSeq::min_params(), moab::SweptElementSeq::min_params(), moab::operator<<(), moab::Skinner::skin_box(), and moab::HomXform::three_pt_xform().
|
inline |
Definition at line 94 of file HomXform.hpp.
References homCoord.
Referenced by moab::ScdElementData::contains(), moab::ScdElementData::contains_vertex(), moab::SequenceManager::create_scd_sequence(), moab::SequenceManager::create_sweep_sequence(), moab::StructuredElementSeq::get_element(), moab::SweptElementSeq::get_element(), moab::ScdElementData::get_params(), moab::SweptElementData::get_params(), moab::ScdVertexData::get_params(), moab::SweptVertexData::get_params(), moab::StructuredElementSeq::k_max(), moab::SweptElementSeq::k_max(), moab::StructuredElementSeq::k_min(), moab::SweptElementSeq::k_min(), moab::StructuredElementSeq::max_params(), moab::SweptElementSeq::max_params(), moab::StructuredElementSeq::min_params(), moab::SweptElementSeq::min_params(), moab::operator<<(), moab::Skinner::skin_box(), and moab::HomXform::three_pt_xform().
|
inline |
length
Definition at line 298 of file HomXform.hpp.
References length_squared().
Referenced by normalize().
|
inline |
|
inline |
normalize
Definition at line 304 of file HomXform.hpp.
References length().
Referenced by moab::HomXform::three_pt_xform().
|
inline |
|
inline |
Definition at line 368 of file HomXform.hpp.
References HomCoord(), homCoord, and moab::HomXform::xForm.
|
inline |
Definition at line 417 of file HomXform.hpp.
References HomCoord(), and homCoord.
operators
Definition at line 392 of file HomXform.hpp.
References HomCoord(), homCoord, and moab::HomXform::xForm.
|
inline |
Definition at line 456 of file HomXform.hpp.
References HomCoord().
Definition at line 443 of file HomXform.hpp.
References HomCoord().
Definition at line 469 of file HomXform.hpp.
References HomCoord().
|
inline |
Definition at line 430 of file HomXform.hpp.
References HomCoord(), and homCoord.
Definition at line 474 of file HomXform.hpp.
References moab::HomXform::inverse().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 486 of file HomXform.hpp.
References homCoord.
|
inline |
Definition at line 481 of file HomXform.hpp.
References homCoord.
|
inline |
set function
Definition at line 266 of file HomXform.hpp.
References homCoord.
Referenced by moab::ScdInterface::construct_box(), and moab::HomXform::three_pt_xform().
|
inline |
|
friend |
Definition at line 60 of file HomXform.hpp.
|
private |
coordinate data
Definition at line 56 of file HomXform.hpp.
Referenced by h(), hom_coord(), HomCoord(), i(), j(), k(), length_squared(), operator!=(), operator%(), operator*(), operator*=(), operator+=(), operator-=(), operator/(), operator/=(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), operator[](), set(), and moab::HomXform::three_pt_xform().
|
static |
Definition at line 63 of file HomXform.hpp.
|
static |
Definition at line 62 of file HomXform.hpp.
Referenced by moab::SequenceManager::add_vsequence(), moab::ScdElementData::boundary_complete(), moab::SweptElementData::boundary_complete(), and getUnitv().