Lines Matching refs:AstFrame

303 static void Clear##attribute( AstFrame *this_frame, int *status ) { \
306 AstFrame *fr; /* Pointer to current Frame */ \
357 static void Clear##attribute( AstFrame *this_frame, int axis, int *status ) { \
360 AstFrame *fr; /* Pointer to current Frame */ \
415 static type Get##attribute( AstFrame *this_frame, int *status ) { \
418 AstFrame *fr; /* Pointer to current Frame */ \
478 static type Get##attribute( AstFrame *this_frame, int axis, int *status ) { \
481 AstFrame *fr; /* Pointer to current Frame */ \
543 static void Set##attribute( AstFrame *this_frame, type value, int *status ) { \
546 AstFrame *fr; /* Pointer to current Frame */ \
599 static void Set##attribute( AstFrame *this_frame, int axis, type value, int *status ) { \
602 AstFrame *fr; /* Pointer to current Frame */ \
656 static int Test##attribute( AstFrame *this_frame, int *status ) { \
659 AstFrame *fr; /* Pointer to current Frame */ \
718 static int Test##attribute( AstFrame *this_frame, int axis, int *status ) { \
721 AstFrame *fr; /* Pointer to current Frame */ \
828 static AstFrame *integrity_frame = NULL; /* Pointer to copy of current Frame */
846 static AstAxis *GetAxis( AstFrame *, int, int * );
847 static AstFrame *GetFrame( AstFrameSet *, int, int * );
848 static AstFrame *PickAxes( AstFrame *, int, const int[], AstMapping **, int * );
849 static AstFrameSet *Convert( AstFrame *, AstFrame *, const char *, int * );
850 static AstFrameSet *ConvertX( AstFrame *, AstFrame *, const char *, int * );
851 static AstFrameSet *FindFrame( AstFrame *, AstFrame *, const char *, int * );
852 static AstLineDef *LineDef( AstFrame *, const double[2], const double[2], int * );
858 static AstPointSet *FrameGrid( AstFrame *, int, const double *, const double *, int * );
859 static AstPointSet *ResolvePoints( AstFrame *, const double [], const double [], AstPointSet *, Ast…
861 static AstSystemType SystemCode( AstFrame *, const char *, int * );
862 static AstSystemType ValidateSystem( AstFrame *, AstSystemType, const char *, int * );
863 static const char *Abbrev( AstFrame *, int, const char *, const char *, const char *, int * );
864 static const char *Format( AstFrame *, int, double, int * );
866 static const char *GetDomain( AstFrame *, int * );
867 static const char *GetFormat( AstFrame *, int, int * );
868 static const char *GetLabel( AstFrame *, int, int * );
869 static const char *GetSymbol( AstFrame *, int, int * );
870 static const char *GetTitle( AstFrame *, int * );
871 static const char *GetUnit( AstFrame *, int, int * );
873 static const char *SystemString( AstFrame *, AstSystemType, int * );
874 static const int *GetPerm( AstFrame *, int * );
875 static double Angle( AstFrame *, const double[], const double[], const double[], int * );
876 static double AxAngle( AstFrame *, const double[], const double[], int, int * );
877 static double AxDistance( AstFrame *, int, double, double, int * );
878 static double AxOffset( AstFrame *, int, double, double, int * );
879 static double Distance( AstFrame *, const double[], const double[], int * );
880 static double Gap( AstFrame *, int, double, int *, int * );
881 static double Offset2( AstFrame *, const double[2], double, double, double[2], int * );
885 static int Fields( AstFrame *, int, const char *, const char *, int, char **, int *, double *, int …
887 static int GetActiveUnit( AstFrame *, int * );
890 static int GetDigits( AstFrame *, int * );
891 static int GetDirection( AstFrame *, int, int * );
893 static int GetMatchEnd( AstFrame *, int * );
894 static int GetMaxAxes( AstFrame *, int * );
895 static int GetMinAxes( AstFrame *, int * );
896 static int GetNaxes( AstFrame *, int * );
901 static int GetPermute( AstFrame *, int * );
902 static int GetPreserveAxes( AstFrame *, int * );
906 static int IsUnitFrame( AstFrame *, int * );
907 static int LineContains( AstFrame *, AstLineDef *, int, double *, int * );
908 static int LineCrossing( AstFrame *, AstLineDef *, AstLineDef *, double **, int * );
909 static int Match( AstFrame *, AstFrame *, int, int **, int **, AstMapping **, AstFrame **, int * );
910 static int Span( AstFrameSet *, AstFrame **, int, int, int, AstMapping **, int *, int * );
911 static int SubFrame( AstFrame *, AstFrame *, int, const int *, const int *, AstMapping **, AstFrame
912 static int TestActiveUnit( AstFrame *, int * );
916 static int TestDigits( AstFrame *, int * );
917 static int TestDirection( AstFrame *, int, int * );
918 static int TestDomain( AstFrame *, int * );
919 static int TestFormat( AstFrame *, int, int * );
920 static int TestLabel( AstFrame *, int, int * );
921 static int TestMatchEnd( AstFrame *, int * );
922 static int TestMaxAxes( AstFrame *, int * );
923 static int TestMinAxes( AstFrame *, int * );
924 static int TestPermute( AstFrame *, int * );
925 static int TestPreserveAxes( AstFrame *, int * );
926 static int TestSymbol( AstFrame *, int, int * );
927 static int TestTitle( AstFrame *, int * );
928 static int TestUnit( AstFrame *, int, int * );
929 static int Unformat( AstFrame *, int, const char *, double *, int * );
930 static int ValidateAxis( AstFrame *, int, int, const char *, int * );
932 static void AddFrame( AstFrameSet *, int, AstMapping *, AstFrame *, int * );
933 static void AppendAxes( AstFrameSet *, AstFrame *, int * );
934 static void CheckPerm( AstFrame *, const int *, const char *, int * );
939 static void ClearDigits( AstFrame *, int * );
940 static void ClearDirection( AstFrame *, int, int * );
941 static void ClearDomain( AstFrame *, int * );
942 static void ClearFormat( AstFrame *, int, int * );
943 static void ClearLabel( AstFrame *, int, int * );
944 static void ClearMatchEnd( AstFrame *, int * );
945 static void ClearMaxAxes( AstFrame *, int * );
946 static void ClearMinAxes( AstFrame *, int * );
947 static void ClearPermute( AstFrame *, int * );
948 static void ClearPreserveAxes( AstFrame *, int * );
949 static void ClearSymbol( AstFrame *, int, int * );
950 static void ClearTitle( AstFrame *, int * );
951 static void ClearUnit( AstFrame *, int, int * );
955 static void Intersect( AstFrame *, const double[2], const double[2], const double[2], const double[…
956 static void LineOffset( AstFrame *, AstLineDef *, double, double, double[2], int * );
957 static void MatchAxes( AstFrame *, AstFrame *, int *, int * );
958 static void MatchAxesX( AstFrame *, AstFrame *, int *, int * );
959 static void Norm( AstFrame *, double[], int * );
960 static void NormBox( AstFrame *, double[], double[], AstMapping *, int * );
961 static void Offset( AstFrame *, const double[], const double[], double, double[], int * );
962 static void Overlay( AstFrame *, const int *, AstFrame *, int * );
963 static void PermAxes( AstFrame *, const int[], int * );
964 static void PrimaryFrame( AstFrame *, int, AstFrame **, int *, int * );
972 static void Resolve( AstFrame *, const double [], const double [], const double [], double [], doub…
974 static void SetActiveUnit( AstFrame *, int, int * );
976 static void SetAxis( AstFrame *, int, AstAxis *, int * );
979 static void SetDigits( AstFrame *, int, int * );
980 static void SetDirection( AstFrame *, int, int, int * );
981 static void SetDomain( AstFrame *, const char *, int * );
982 static void SetFormat( AstFrame *, int, const char *, int * );
983 static void SetLabel( AstFrame *, int, const char *, int * );
984 static void SetMatchEnd( AstFrame *, int, int * );
985 static void SetMaxAxes( AstFrame *, int, int * );
986 static void SetMinAxes( AstFrame *, int, int * );
987 static void SetPermute( AstFrame *, int, int * );
988 static void SetPreserveAxes( AstFrame *, int, int * );
989 static void SetSymbol( AstFrame *, int, const char *, int * );
990 static void SetTitle( AstFrame *, const char *, int * );
991 static void SetUnit( AstFrame *, int, const char *, int * );
994 static void ValidateAxisSelection( AstFrame *, int, const int *, const char *, int * );
996 static double GetBottom( AstFrame *, int, int * );
997 static int TestBottom( AstFrame *, int, int * );
998 static void ClearBottom( AstFrame *, int, int * );
999 static void SetBottom( AstFrame *, int, double, int * );
1001 static double GetTop( AstFrame *, int, int * );
1002 static int TestTop( AstFrame *, int, int * );
1003 static void ClearTop( AstFrame *, int, int * );
1004 static void SetTop( AstFrame *, int, double, int * );
1006 static double GetEpoch( AstFrame *, int * );
1007 static int TestEpoch( AstFrame *, int * );
1008 static void ClearEpoch( AstFrame *, int * );
1009 static void SetEpoch( AstFrame *, double, int * );
1011 static double GetObsAlt( AstFrame *, int * );
1012 static int TestObsAlt( AstFrame *, int * );
1013 static void ClearObsAlt( AstFrame *, int * );
1014 static void SetObsAlt( AstFrame *, double, int * );
1016 static double GetObsLat( AstFrame *, int * );
1017 static int TestObsLat( AstFrame *, int * );
1018 static void ClearObsLat( AstFrame *, int * );
1019 static void SetObsLat( AstFrame *, double, int * );
1021 static double GetObsLon( AstFrame *, int * );
1022 static int TestObsLon( AstFrame *, int * );
1023 static void ClearObsLon( AstFrame *, int * );
1024 static void SetObsLon( AstFrame *, double, int * );
1028 static AstSystemType GetSystem( AstFrame *, int * );
1029 static int TestSystem( AstFrame *, int * );
1030 static void ClearSystem( AstFrame *, int * );
1031 static void SetSystem( AstFrame *, AstSystemType, int * );
1033 static AstSystemType GetAlignSystem( AstFrame *, int * );
1034 static int TestAlignSystem( AstFrame *, int * );
1035 static void ClearAlignSystem( AstFrame *, int * );
1036 static void SetAlignSystem( AstFrame *, AstSystemType, int * );
1049 static const char *Abbrev( AstFrame *this_frame, int axis, const char *fmt, in Abbrev()
1117 AstFrame *fr; /* Pointer to current Frame */ in Abbrev()
1145 AstFrame *frame, int *status ) { in AddFrame()
1272 AstFrame *fr; /* Pointer to Frame identified by "iframe" */ in AddFrame()
1361 sizeof( AstFrame * ) ); in AddFrame()
1424 this->frame = astGrow( this->frame, nframe, sizeof( AstFrame * ) ); in AddFrame()
1666 AstFrame *frm; in AddVariant()
1667 AstFrame *tfrm; in AddVariant()
1668 AstFrame *vfrm; in AddVariant()
1809 static double Angle( AstFrame *this_frame, const double a[], in Angle()
1869 AstFrame *fr; /* Pointer to current Frame */ in Angle()
1892 static void AppendAxes( AstFrameSet *this, AstFrame *frame, int *status ) { in AppendAxes()
1949 this->frame[ iframe ] = (AstFrame *) frm; in AppendAxes()
1992 static double AxAngle( AstFrame *this_frame, const double a[], const double b[], int axis, int *sta… in AxAngle()
2050 AstFrame *fr; /* Pointer to current Frame */ in AxAngle()
2077 static double AxDistance( AstFrame *this_frame, int axis, double v1, double v2, int *status ) { in AxDistance()
2129 AstFrame *fr; /* Pointer to current Frame */ in AxDistance()
2156 static double AxOffset( AstFrame *this_frame, int axis, double v1, double dist, int *status ) { in AxOffset()
2208 AstFrame *fr; /* Pointer to current Frame */ in AxOffset()
2281 AstFrame *cfrm; in Cast()
2323 static void CheckPerm( AstFrame *this_frame, const int *perm, const char *method, int *status ) { in CheckPerm()
2376 AstFrame *fr; /* Pointer to current Frame */ in CheckPerm()
2438 AstFrame *save_frame; /* Saved pointer to integrity Frame */ in Clear()
2521 AstFrame *fr; /* Pointer to current Frame */ in ClearAttrib()
2736 AstFrame *frm; in ClearVariant()
2904 static AstFrameSet *Convert( AstFrame *from, AstFrame *to, in Convert()
3002 static AstFrameSet *ConvertX( AstFrame *to, AstFrame *from, in ConvertX()
3036 AstFrame *from_frame; /* Pointer to "from" Frame */ in ConvertX()
3037 AstFrame *to_frame; /* Pointer to "to" Frame */ in ConvertX()
3314 static double Distance( AstFrame *this_frame, in Distance()
3364 AstFrame *fr; /* Pointer to current Frame */ in Distance()
3485 static int Fields( AstFrame *this_frame, int axis, const char *fmt, in Fields()
3564 AstFrame *fr; /* Pointer to current Frame */ in Fields()
3591 static AstFrameSet *FindFrame( AstFrame *target_frame, AstFrame *template, in FindFrame()
3672 AstFrame *base_frame; /* Pointer to target base Frame */ in FindFrame()
3673 AstFrame *frame; /* Pointer to result Frame */ in FindFrame()
3674 AstFrame *selected_frame; /* Pointer to selected target Frame */ in FindFrame()
3824 static AstPointSet *FrameGrid( AstFrame *this_frame, int size, const double *lbnd, in FrameGrid()
3876 AstFrame *fr; /* Pointer to current Frame */ in FrameGrid()
3949 AstFrame *frame; /* Pointer to Frame */ in ForceCopy()
3950 AstFrame *tmp; /* Temporary Frame pointer */ in ForceCopy()
3997 static const char *Format( AstFrame *this_frame, int axis, double value, int *status ) { in Format()
4051 AstFrame *fr; /* Pointer to current Frame */ in Format()
4078 static double Gap( AstFrame *this_frame, int axis, double gap, int *ntick, int *status ) { in Gap()
4129 AstFrame *fr; /* Pointer to current Frame */ in Gap()
4286 AstFrame *fr; /* Pointer to current Frame */ in GetAttrib()
4463 static AstAxis *GetAxis( AstFrame *this_frame, int axis, int *status ) { in GetAxis()
4511 AstFrame *fr; /* Pointer to current Frame */ in GetAxis()
4675 static AstFrame *GetFrame( AstFrameSet *this, int iframe, int *status ) { in GetFrame()
4732 AstFrame *result; /* Pointer value to return */ in GetFrame()
4877 AstFrame *fr; /* Temporary pointer to Frame */ in GetMapping()
4878 AstFrame **frames; /* Pointer to array of Frames */ in GetMapping()
4909 frames = astMalloc( sizeof( AstFrame * ) * (size_t) ( this->nnode ) ); in GetMapping()
4988 static int GetNaxes( AstFrame *this_frame, int *status ) { in GetNaxes()
5027 AstFrame *fr; /* Pointer to current Frame */ in GetNaxes()
5139 AstFrame *fr; /* Pointer to base Frame */ in GetNin()
5212 return GetNaxes( (AstFrame *) this_mapping, status ); in GetNout()
5215 static const int *GetPerm( AstFrame *this_frame, int *status ) { in GetPerm()
5267 AstFrame *fr; /* Pointer to current Frame */ in GetPerm()
5459 AstFrame *fr; /* Pointer to current Frame */ in GetUseDefs()
5592 AstFrame *frm; in GetVariant()
5593 AstFrame *vfs; in GetVariant()
5928 static void Intersect( AstFrame *this_frame, const double a1[2], in Intersect()
5998 AstFrame *fr; /* Pointer to current Frame */ in Intersect()
6016 static int IsUnitFrame( AstFrame *this_frame, int *status ){ in IsUnitFrame()
6054 AstFrame *fr; /* Pointer to FrameSet's current Frame */ in IsUnitFrame()
6083 static int LineContains( AstFrame *this_frame, AstLineDef *l, int def, double *point, int *status )… in LineContains()
6135 AstFrame *fr; /* Pointer to current Frame */ in LineContains()
6151 static int LineCrossing( AstFrame *this_frame, AstLineDef *l1, AstLineDef *l2, in LineCrossing()
6220 AstFrame *fr; /* Pointer to current Frame */ in LineCrossing()
6236 static AstLineDef *LineDef( AstFrame *this_frame, const double start[2], in LineDef()
6287 AstFrame *fr; /* Pointer to current Frame */ in LineDef()
6303 static void LineOffset( AstFrame *this_frame, AstLineDef *line, double par, in LineOffset()
6352 AstFrame *fr; /* Pointer to current Frame */ in LineOffset()
6407 AstFrame *frm; in GetAllVariants()
6408 AstFrame *vfrm; in GetAllVariants()
6670 static int Match( AstFrame *this_frame, AstFrame *target, int matchsub, in Match()
6672 AstMapping **map, AstFrame **result, int *status ) { in Match()
6782 AstFrame *fr; /* Pointer to FrameSet's current Frame */ in Match()
6823 static void MatchAxes( AstFrame *frm1_frame, AstFrame *frm2, int *axes, in MatchAxes()
6880 AstFrame *frm1; in MatchAxes()
6895 static void MatchAxesX( AstFrame *frm2_frame, AstFrame *frm1, int *axes, in MatchAxesX()
6950 AstFrame *frm2; in MatchAxesX()
7074 static void Norm( AstFrame *this_frame, double value[], int *status ) { in Norm()
7119 AstFrame *fr; /* Pointer to the current Frame */ in Norm()
7136 static void NormBox( AstFrame *this_frame, double lbnd[], double ubnd[], in NormBox()
7188 AstFrame *fr; /* Pointer to the current Frame */ in NormBox()
7205 static void Offset( AstFrame *this_frame, const double point1[], in Offset()
7269 AstFrame *fr; /* Pointer to current Frame */ in Offset()
7285 static double Offset2( AstFrame *this_frame, const double point1[2], in Offset2()
7358 AstFrame *fr; /* Pointer to current Frame */ in Offset2()
7381 static void Overlay( AstFrame *template_frame, const int *template_axes, in Overlay()
7382 AstFrame *result, int *status ) { in Overlay()
7439 AstFrame *fr; /* Pointer to current Frame */ in Overlay()
7456 static void PermAxes( AstFrame *this_frame, const int perm[], int *status ) { in PermAxes()
7499 AstFrame *fr; /* Pointer to current Frame */ in PermAxes()
7548 static AstFrame *PickAxes( AstFrame *this_frame, int naxes, const int axes[], in PickAxes()
7626 AstFrame *fr; /* Pointer to current Frame */ in PickAxes()
7627 AstFrame *frame; /* Pointer to Frame to be returned */ in PickAxes()
7661 static void PrimaryFrame( AstFrame *this_frame, int axis1, in PrimaryFrame()
7662 AstFrame **frame, int *axis2, int *status ) { in PrimaryFrame()
7721 AstFrame *fr; /* Pointer to current Frame */ in PrimaryFrame()
7874 AstFrame *current; /* Pointer to current Frame */ in RecordIntegrity()
7980 AstFrame *fr; /* Pointer to Frame */ in RemapFrame()
8345 AstFrame **newfrms; /* Array of new Frames */ in RemoveRegions()
8365 newfrms = astMalloc( sizeof( AstFrame *)*( this->nframe ) ); in RemoveRegions()
8488 AstFrame *base_frame; /* Pointer to current Frame */ in ReportPoints()
8489 AstFrame *current_frame; /* Pointer to base Frame */ in ReportPoints()
8560 static void Resolve( AstFrame *this_frame, const double point1[], in Resolve()
8631 AstFrame *fr; /* Pointer to current Frame */ in Resolve()
8648 static AstPointSet *ResolvePoints( AstFrame *this_frame, const double point1[], in ResolvePoints()
8720 AstFrame *fr; /* Pointer to current Frame */ in ResolvePoints()
8783 AstFrame *current; /* Pointer to current Frame */ in RestoreIntegrity()
8919 AstFrame *fr; /* Pointer to current Frame */ in SetAttrib()
9103 static void SetAxis( AstFrame *this_frame, int axis, AstAxis *newaxis, int *status ) { in SetAxis()
9143 AstFrame *fr; /* Pointer to current Frame */ in SetAxis()
9309 AstFrame *frm; in SetVariant()
9310 AstFrame *vfrm; in SetVariant()
9616 static int Span( AstFrameSet *this, AstFrame **frames, int inode1, int inode2, in Span()
9710 AstFrame *frame; /* Pointer to Frame associated with inode1 */ in Span()
9831 static int SubFrame( AstFrame *this_frame, AstFrame *template, in SubFrame()
9834 AstMapping **map, AstFrame **result, int *status ) { in SubFrame()
9929 AstFrame *fr; /* Pointer to FrameSet's current Frame */ in SubFrame()
9966 static AstSystemType SystemCode( AstFrame *this_frame, const char *system, int *status ) { in SystemCode()
10012 AstFrame *fr; /* Pointer to FrameSet's current Frame */ in SystemCode()
10037 static const char *SystemString( AstFrame *this_frame, AstSystemType system, int *status ) { in SystemString()
10082 AstFrame *fr; /* Pointer to FrameSet's current Frame */ in SystemString()
10152 AstFrame *fr; /* Pointer to current Frame */ in TestAttrib()
10404 AstFrame *frm; in TestVariant()
10711 static int Unformat( AstFrame *this_frame, int axis, const char *string, in Unformat()
10776 AstFrame *fr; /* Pointer to current Frame */ in Unformat()
10813 static int ValidateAxis( AstFrame *this_frame, int axis, int fwd, in ValidateAxis()
10878 AstFrame *fr; /* Pointer to current Frame */ in ValidateAxis()
10928 static void ValidateAxisSelection( AstFrame *this_frame, int naxes, in ValidateAxisSelection()
10978 AstFrame *fr; /* Pointer to current Frame */ in ValidateAxisSelection()
11090 static int ValidateSystem( AstFrame *this_frame, AstSystemType system, const char *method, int *sta… in ValidateSystem()
11140 AstFrame *fr; /* Pointer to FrameSet's current Frame */ in ValidateSystem()
11232 AstFrame *save_frame; /* Saved pointer to integrity Frame */ in VSet()
11700 out->frame = astMalloc( sizeof( AstFrame * ) * (size_t) in->nframe ); in MAKE_CLEAR()
12078 AstFrame *frame; /* Pointer to Frame structure */ in astMAKE_ISA()
12123 AstFrame *frame, int *status ) { in astInitFrameSet_()
12225 new->frame = astMalloc( sizeof( AstFrame * ) ); in astInitFrameSet_()
12262 new->frame = astMalloc( sizeof( AstFrame * ) * (size_t) old->nframe ); in astInitFrameSet_()
12473 new->frame = astMalloc( sizeof( AstFrame *) * (size_t) new->nframe ); in astLoadFrameSet_()
12574 AstFrame *frame, int *status ) { in astAddFrame_()
12602 AstFrame *astGetFrame_( AstFrameSet *this, int iframe, int *status ) { in astGetFrame_()
12826 AstFrame *frame; /* Pointer to Frame structure */ in astFrameSetId_()