Coordinate axis definition. More...
#include <mi32/spatref.h>
Coordinate axis definition.
Coordinate Axis ID numbers.
| SPATREF::COORDAXIS::COORDAXIS | ( | ) |
Default constructor.
| SPATREF::COORDAXIS::COORDAXIS | ( | const COORDAXIS & | rhs | ) |
Copy constructor.
| SPATREF::COORDAXIS::~COORDAXIS | ( | ) |
Destructor.
| ERRVALUE SPATREF::COORDAXIS::Assign | ( | const IDENTIFIER & | Id | ) |
Assign by IDENTIFIER.
| ERRVALUE SPATREF::COORDAXIS::Create | ( | const UOM::UNIT & | unit, | |
| const MISTRING & | name, | |||
| const MISTRING & | SymbolPositive, | |||
| const MISTRING & | SymbolNegative | |||
| ) |
Create coordinate axis.
| unit | Coordinate unit | |
| name | Axis name | |
| SymbolPositive | Symbol for coordinate | |
| SymbolNegative | Symbol for negative coordinate, blank if same as for positive |
| const MISTRING& SPATREF::COORDAXIS::GetAbbr | ( | ) | const |
Get abbreviation.
| void SPATREF::COORDAXIS::GetDisplay | ( | MISTRING & | string, | |
| int | indent, | |||
| GETDISPLAY | flags = GETDISPLAY_None | |||
| ) | const |
Get multiline string suitable for display.
| string | String returned, will be initially cleared if indent is 0 | |
| indent | Indent level | |
| flags | Flags for extra items to display |
| const IDENTIFIERLIST& SPATREF::COORDAXIS::GetIdList | ( | ) | const |
Get identifer list.
| IDNUM SPATREF::COORDAXIS::GetIdNum | ( | ) | const |
Get MicroImages identification number.
| const MISTRING& SPATREF::COORDAXIS::GetName | ( | ) | const |
Get name.
| MISTRING SPATREF::COORDAXIS::GetNameFitted | ( | int | maxchars, | |
| bool | IncludeUnitSymbol | |||
| ) | const |
Get name fitted to limited space.
Used where name is displayed in limited space such as a table column heading or field name. Returned name may contain spaces, and may contain symbol for axis if no other availble name will fit. If unit symbol is included, returned string will be in the form of "name (unitsym)".
| maxchars | Maximum string length returned | |
| IncludeUnitSymbol | Include unit symbol in name |
| const MISTRING& SPATREF::COORDAXIS::GetSymbol | ( | SYMBOLUSAGE | usage = SYMBOLUSAGE_Unspecified |
) | const |
Get symbol for specified usage.
| const UOM::UNIT& SPATREF::COORDAXIS::GetUnit | ( | ) | const |
Get axis measurement unit.
| const DOUBLE_RANGE& SPATREF::COORDAXIS::GetValidRange | ( | ) | const |
Get valid range for ordinates on this axis.
| XMLNODE* SPATREF::COORDAXIS::GetXML | ( | XMLNODE * | parentnode, | |
| const char * | nodename = "CoordAxis" | |||
| ) | const |
Get XMLNODE representation.
| nodename | Parent for contain node to be created |
| bool SPATREF::COORDAXIS::HasSymbolNegative | ( | ) | const |
Determine if has different symbol for negative values than for positive.
| void SPATREF::COORDAXIS::SetName | ( | const MISTRING & | textitem | ) |
Set name for axis.
| void SPATREF::COORDAXIS::SetSymbolNegative | ( | const MISTRING & | symbol | ) |
Set symbol for reporting 'negative' values.
| void SPATREF::COORDAXIS::SetSymbolPositive | ( | const MISTRING & | symbol | ) |
Set symbol for reporting 'positive' values.
Will use for all values if no 'negative' symbol specified.
| void SPATREF::COORDAXIS::SetUnit | ( | const UOM::UNIT & | unit | ) |
Set new measurement unit for axis.
Does not alter valid range if any.
| void SPATREF::COORDAXIS::SetValidRange | ( | const DOUBLE_RANGE & | ValidRange | ) |
Set valid range for axis values.
| ValidRange | Range to set |
1.6.1