next up previous 264
Next: MaxAxes - Maximum number of Frame axes to match
Up: AST Attribute Descriptions
Previous: MapLocked - Prevent new entries being added to a KeyMap?


MatchEnd - Match trailing axes?

Description:
This attribute is a boolean value which controls how a Frame behaves when it is used (by astFindFrame) as a template to match another (target) Frame. It applies only in the case where a match occurs between template and target Frames with different numbers of axes.

If the MatchEnd value of the template Frame is zero, then the axes which occur first in the target Frame will be matched and any trailing axes (in either the target or template) will be disregarded. If it is non-zero, the final axes in each Frame will be matched and any un-matched leading axes will be disregarded instead.

Type:
Integer (boolean).
Class Applicability:
Frame
The default MatchEnd value for a Frame is zero, so that trailing axes are disregarded.
FrameSet
The MatchEnd attribute of a FrameSet is the same as that of its current Frame (as specified by the Current attribute).


next up previous 264
Next: MaxAxes - Maximum number of Frame axes to match
Up: AST Attribute Descriptions
Previous: MapLocked - Prevent new entries being added to a KeyMap?

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council