Follow this link to skip to the main content

2d_point.h File Reference

#include "claraty/share.h"
#include <iostream>
#include <math.h>
#include "claraty/fdm.h"
#include "claraty/math_limits.h"
#include "claraty/operator_def.h"
#include "claraty/operator.h"
#include "claraty/scalar_operator.h"

Include dependency graph for 2d_point.h:

Go to the source code of this file.

Namespaces

namespace  claraty

Classes

class  claraty::N_2D_Point< T >

Defines

#define CL_OP_GENERATE   ( CL_OP_NOT_EQUAL )
#define CL_OP_TEMPLATE   template < typename T >
#define CL_OP_CLASS   N_2D_Point<T>
#define CL_OP_TEMPLATE   template < typename T >
#define CL_OP_CLASS   N_2D_Point<T>
#define CL_OP_SCALAR   T

Typedefs

typedef N_2D_Point< double > claraty::N_2D_Point_d
typedef N_2D_Point< float > claraty::N_2D_Point_f
typedef N_2D_Point< int > claraty::N_2D_Point_i

Functions

template<class T>
bool claraty::operator== (const N_2D_Point< T > &, const N_2D_Point< T > &)
template<class T>
N_2D_Point< T > claraty::operator+ (const N_2D_Point< T > &, const N_2D_Point< T > &)
template<class T>
N_2D_Point< T > claraty::operator- (const N_2D_Point< T > &, const N_2D_Point< T > &)
template<class T>
N_2D_Point< T > claraty::operator- (const N_2D_Point< T > &)
template<class T>
N_2D_Point< T > claraty::operator * (double, const N_2D_Point< T > &)
template<class T>
N_2D_Point< T > claraty::operator/ (const N_2D_Point< T > &, double)
template<class T>
N_2D_Point< T > claraty::operator * (const N_2D_Point< T > &v, double s)
template<typename elem_type>
std::ostream & claraty::operator<< (std::ostream &os, const N_2D_Point< elem_type > &p)
template<class T>
std::istream & claraty::operator>> (std::istream &is, N_2D_Point< T > &p)
template<class T>
bool claraty::io_object (FDM_Untyped_Node node, N_2D_Point< T > &rhs)
template<class T>
bool claraty::cl_isnan (const N_2D_Point< T > &pt)
template<class T>
void claraty::cl_setnan (N_2D_Point< T > &pt)


Detailed Description

Defines 2D point class for planar coordinate point manipulation.


Designer(s): Stanley Lippman
Author(s): Stanley Lippman
Date: October 22, 2001

Software License:

http://claraty.jpl.nasa.gov/license/open_src/ or file: license/open_src.txt

© 2006, Jet Propulsion Laboratory, California Institute of Technology

Revision
1.8

Definition in file 2d_point.h.


Define Documentation

#define CL_OP_CLASS   N_2D_Point<T>

Definition at line 821 of file 2d_point.h.

#define CL_OP_CLASS   N_2D_Point<T>

Definition at line 821 of file 2d_point.h.

#define CL_OP_GENERATE   ( CL_OP_NOT_EQUAL )

Definition at line 815 of file 2d_point.h.

#define CL_OP_SCALAR   T

Definition at line 822 of file 2d_point.h.

#define CL_OP_TEMPLATE   template < typename T >

Definition at line 820 of file 2d_point.h.

#define CL_OP_TEMPLATE   template < typename T >

Definition at line 820 of file 2d_point.h.