SourceXtractorPlusPlus 0.22
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ReferenceCoordinatesTask.cpp
Go to the documentation of this file.
1
17
19
23
24namespace SourceXtractor {
25
27
29
30 // Either detection or first measurement image
31 try {
32 ref_coords = source.getProperty<DetectionFrameCoordinates>().getCoordinateSystem();
33 }
35 ref_coords = source.getProperty<MeasurementFrameCoordinates>(0).getCoordinateSystem();
36 }
37
38 source.setProperty<ReferenceCoordinates>(ref_coords);
39}
40
41} // SEImplementation namespace
42
An exception indicating that a Property was not available and could not be computed on demand.
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
The SourceInterface is an abstract "source" that has properties attached to it.
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.