RasterGeometry Class
Represents a geometry that consists of a Raster at a specific location.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CECore assembly)
Syntax
public class RasterGeometry : GeometryRemarks
A RasterGeometry is a rectangular raster that has a location that is defined by a bounding rectangle.
A Feature with a RasterGeometry is visualized by a RasterVisualizer.
Inheritance Hierarchy
System.Object
EngineObject
Geometry
RasterGeometry
Platforms
Windows, Linux, Android
RasterGeometry Members
The RasterGeometry type has the following members.
Constructors
| Name | Description |
|---|---|
| RasterGeometry | Initializes a new instance of the RasterGeometry class. |
Properties
| Name | Description |
|---|---|
| Bounds | Gets or sets the bounding rectangle of the RasterGeometry. |
| CellHeight | Gets the height of a cell in the raster. |
| CellWidth | Gets the width of a cell in the raster. |
| IsDisposed | Gets a value that tells whether the current RasterGeometry has been disposed. Inherited from EngineObject |
| IsReadOnly | Gets a value indicating whether the RasterGeometry is read-only or not. Inherited from Geometry |
| IsValid | Gets a value indicating whether the RasterGeometry is valid or not. Inherited from Geometry |
| NativeHandle | Gets the native Carmenta Engine kernel object the current RasterGeometry represents. Inherited from EngineObject |
| Raster | Gets the Raster of the RasterGeometry. |
| Type | Gets the geometry type of a RasterGeometry. Inherited from Geometry |
Methods
| Name | Description |
|---|---|
| CalculateBounds | Returns the bounding rectangle of the Geometry. Inherited from Geometry |
| Clone | Creates a copy of an object. Inherited from EngineObject |
| Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
| Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
| Overloaded. Initializes a new Geometry instance from a WKB representation. Inherited from Geometry | |
| Overloaded. Initializes a new Geometry instance from a WKT representation. Inherited from Geometry | |
| GetCellValue | Overloaded. Gets the value at the given position inside the raster. |
| GetFloatValue | Overloaded. Gets the value at the given position inside the raster. |
| Move | Moves the Geometry by the specified offset. Inherited from Geometry |
| ToWellKnownBinary | Converts a Geometry instance into WKB representation. Inherited from Geometry |
| ToWellKnownText | Converts a Geometry instance into WKT representation. Inherited from Geometry |
| Transform | Applies a 2D transform to the geometry. Inherited from Geometry |