Descriptor¶
- class bagPy.Descriptor[source]¶
Bases:
objectProxy of C++ BAG::Descriptor class.
__init__(Descriptor self) -> Descriptor __init__(Descriptor self, Metadata metadata) -> Descriptor
- Parameters:
metadata (BAG::Metadata const &) –
Attributes Summary
The membership flag
Methods Summary
getDims(Descriptor self)getGridSpacing(Descriptor self)getHorizontalReferenceSystem(Descriptor self)getLayerDescriptor(Descriptor self, BAG)- param id:
getLayerDescriptors(Descriptor self)getLayerIds(Descriptor self)getLayerTypes(Descriptor self)getOrigin(Descriptor self)getProjectedCover(Descriptor self)getVersion(Descriptor self)getVerticalReferenceSystem(Descriptor self)isReadOnly(Descriptor self)setDims(Descriptor self, uint32_t rows, ...)- param rows:
setGridSpacing(Descriptor self, ...)- param xSpacing:
- param horizontalReferenceSystem:
setOrigin(Descriptor self, double llX, ...)- param llX:
setProjectedCover(Descriptor self, ...)- param llX:
setReadOnly(Descriptor self, bool readOnly)- param readOnly:
setVersion(Descriptor self, std)- param inVersion:
setVerticalReferenceSystem(Descriptor self, std)- param verticalReferenceSystem:
Attributes Documentation
- thisown¶
The membership flag
Methods Documentation
- getDims(Descriptor self) UInt32Pair[source]¶
- getGridSpacing(Descriptor self) DoublePair[source]¶
- getLayerDescriptor(Descriptor self, BAG::LayerType id) LayerDescriptor[source]¶
- Parameters:
id (enum BAG::LayerType) –
self (getLayerDescriptor(Descriptor) –
type (enum BAG::LayerType) –
LayerDescriptor (std::string const & name) ->) –
type –
name (std::string const &) –
- getLayerDescriptors(Descriptor self) WeakLayerDescVector[source]¶
- getLayerIds(Descriptor self) UInt32Vector[source]¶
- getLayerTypes(Descriptor self) LayerTypeVector[source]¶
- getOrigin(Descriptor self) DoublePair[source]¶
- setDims(Descriptor self, uint32_t rows, uint32_t columns) Descriptor[source]¶
- Parameters:
rows (uint32_t) –
columns (uint32_t) –
- setGridSpacing(Descriptor self, double xSpacing, double ySpacing) Descriptor[source]¶
- Parameters:
xSpacing (double) –
ySpacing (double) –
- setHorizontalReferenceSystem(Descriptor self, std::string const & horizontalReferenceSystem) Descriptor[source]¶
- Parameters:
horizontalReferenceSystem (std::string const &) –
- setOrigin(Descriptor self, double llX, double llY) Descriptor[source]¶
- Parameters:
llX (double) –
llY (double) –
- setProjectedCover(Descriptor self, double llX, double llY, double urX, double urY) Descriptor[source]¶
- Parameters:
llX (double) –
llY (double) –
urX (double) –
urY (double) –
- setReadOnly(Descriptor self, bool readOnly) Descriptor[source]¶
- Parameters:
readOnly (bool) –
- setVersion(Descriptor self, std::string inVersion) Descriptor[source]¶
- Parameters:
inVersion (std::string) –
- setVerticalReferenceSystem(Descriptor self, std::string const & verticalReferenceSystem) Descriptor[source]¶
- Parameters:
verticalReferenceSystem (std::string const &) –
- __init__(Descriptor self) Descriptor[source]¶
- __init__(Descriptor self, Metadata metadata) Descriptor
- Parameters:
metadata (BAG::Metadata const &) –
- getDims(Descriptor self) UInt32Pair[source]¶
- getGridSpacing(Descriptor self) DoublePair[source]¶
- getLayerDescriptor(Descriptor self, BAG::LayerType id) LayerDescriptor[source]¶
- Parameters:
id (enum BAG::LayerType) –
self (getLayerDescriptor(Descriptor) –
type (enum BAG::LayerType) –
LayerDescriptor (std::string const & name) ->) –
type –
name (std::string const &) –
- getLayerDescriptors(Descriptor self) WeakLayerDescVector[source]¶
- getLayerIds(Descriptor self) UInt32Vector[source]¶
- getLayerTypes(Descriptor self) LayerTypeVector[source]¶
- getOrigin(Descriptor self) DoublePair[source]¶
- setDims(Descriptor self, uint32_t rows, uint32_t columns) Descriptor[source]¶
- Parameters:
rows (uint32_t) –
columns (uint32_t) –
- setGridSpacing(Descriptor self, double xSpacing, double ySpacing) Descriptor[source]¶
- Parameters:
xSpacing (double) –
ySpacing (double) –
- setHorizontalReferenceSystem(Descriptor self, std::string const & horizontalReferenceSystem) Descriptor[source]¶
- Parameters:
horizontalReferenceSystem (std::string const &) –
- setOrigin(Descriptor self, double llX, double llY) Descriptor[source]¶
- Parameters:
llX (double) –
llY (double) –
- setProjectedCover(Descriptor self, double llX, double llY, double urX, double urY) Descriptor[source]¶
- Parameters:
llX (double) –
llY (double) –
urX (double) –
urY (double) –
- setReadOnly(Descriptor self, bool readOnly) Descriptor[source]¶
- Parameters:
readOnly (bool) –
- setVersion(Descriptor self, std::string inVersion) Descriptor[source]¶
- Parameters:
inVersion (std::string) –
- setVerticalReferenceSystem(Descriptor self, std::string const & verticalReferenceSystem) Descriptor[source]¶
- Parameters:
verticalReferenceSystem (std::string const &) –
- property thisown¶
The membership flag