Changeset 6732 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Mar 29, 2006, 5:36:41 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r6613 r6732 1 %%% $Id: psLibSDRS.tex,v 1.38 8 2006-03-17 00:05:48 eugene Exp $1 %%% $Id: psLibSDRS.tex,v 1.389 2006-03-30 03:36:41 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 982 982 PS_DATA_POLYNOMIAL4D, ///< psPolynomial4D 983 983 PS_DATA_PROJECTION, ///< psProjection 984 PS_DATA_REGION, ///< psRegion 984 985 PS_DATA_SCALAR, ///< psScalar 985 986 PS_DATA_SPHERE, ///< psSphere … … 2902 2903 header. 2903 2904 \begin{prototype} 2905 psMetadataItem *psMetadataItemCopy(const psMetadataItem *in); 2904 2906 psMetadata *psMetadataCopy(psMetadata *out, const psMetadata *in); 2905 2907 \end{prototype} 2908 \code{psMetadataItemCopy} shall create a new copy of the input 2909 \code{psMetadataItem}. Since it is not feasible (at this time) to be 2910 able to copy every type, data of the standard numeric types plus 2911 \code{PS_DATA_VECTOR}, \code{PS_DATA_TIME}, \code{PS_DATA_METADATA} 2912 and \code{PS_DATA_REGION} shall be copied; other pointer types may 2913 simply be copied with a warning \tbd{for now}. 2914 2906 2915 \code{psMetadataCopy} shall create a new copy of all 2907 2916 \code{psMetadataItem}s in the \code{in} metadata, and place them in 2908 2917 the \code{out} metadata, or a new \code{psMetadata} if \code{out} is 2909 \code{NULL}. Now, it is not feasible (at this time) to be able to 2910 copy every type that we might put on a \code{psMetadata}. Therefore, 2911 \code{psMetadataCopy} shall copy only the numerical types and strings. 2912 Other pointer types may simply have the pointer copied (with the 2913 reference counter incremented appropriately), with the total number of 2914 such copies (if positive) reported in a warning at the end of the 2915 function. 2918 \code{NULL}. 2916 2919 2917 2920 \subsubsection{Configuration files} … … 3634 3637 floats, and is defined statically. Functions which accept or return a 3635 3638 \code{psRegion} shall do so by value, not by pointer. 3639 3640 In the limited cases where we wish to store a \code{psRegion} on one 3641 of the containers, we need an attached \code{psMemBlock}, which can 3642 be obtained by calling \code{psRegionAlloc}: 3643 \begin{prototype} 3644 psRegion *psRegionAlloc(float x0, float x1, float y0, float y1); 3645 \end{prototype} 3636 3646 3637 3647 All functions which use a \code{psRegion} must interpret the
Note:
See TracChangeset
for help on using the changeset viewer.
