USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::PointPair Class Reference

Define a point set of left, right and geometry at that location. More...

#include <GruenTypes.h>

Collaboration diagram for Isis::PointPair:
Collaboration graph

Public Member Functions

 PointPair (const double &line, const double &sample)
 
 PointPair (const Coordinate &left, const Coordinate &right=Coordinate())
 
bool isValid () const
 Left, right and geometry coordinates must all be good data.
 
const CoordinategetLeft () const
 
const CoordinategetRight () const
 
double getLine () const
 
double getSample () const
 
double getLeftLine () const
 
double getLeftSample () const
 
double getRightLine () const
 
double getRightSample () const
 

Public Attributes

Coordinate m_left
 
Coordinate m_right
 

Detailed Description

Define a point set of left, right and geometry at that location.

The structure defines a Gruen point set that may or may not contain a valid geometry. This supports the (efficient) growing feature of SMTK in that a grown point will have valid left and right points, but not neccesarily geomertry. Valid geometry requires using camera models and that is costly.

Default initialize sets all points to an invalid state.

Author
????-??-?? Unknown

Definition at line 187 of file GruenTypes.h.

Member Function Documentation

bool Isis::PointPair::isValid ( ) const
inline

Left, right and geometry coordinates must all be good data.

Definition at line 197 of file GruenTypes.h.

References Isis::Coordinate::isValid().


The documentation for this class was generated from the following file: