The envelope builder allows you to create and modify envelope geometries incrementally. More...
Member Function Documentation[explicit]
EnvelopeBuilder::EnvelopeBuilder(const Esri::ArcGISRuntime::Envelope &envelope, QObject *parent = nullptr)
Creates an envelope builder from the specified Envelope.
The SpatialReference of the new envelope builder will match that of the given Envelope. Use this constructor in workflows that create a modified version of an existing geometry.
[explicit]
EnvelopeBuilder::EnvelopeBuilder(const Esri::ArcGISRuntime::SpatialReference &spatialReference, QObject *parent = nullptr)
Initializes an envelope builder from a SpatialReference.
[since Esri::ArcGISRuntime 100.3]
EnvelopeBuilder::EnvelopeBuilder(const Esri::ArcGISRuntime::Point ¢er, double width, double height, QObject *parent = nullptr)
Initializes an envelope builder with specified dimensions.
This function was introduced in Esri::ArcGISRuntime 100.3.
[since Esri::ArcGISRuntime 100.3]
EnvelopeBuilder::EnvelopeBuilder(const Esri::ArcGISRuntime::Point ¢er, double width, double height, double depth, QObject *parent = nullptr)
Initializes an envelope builder with specified dimensions.
This function was introduced in Esri::ArcGISRuntime 100.3.
[override virtual noexcept]
EnvelopeBuilder::~EnvelopeBuilder()
Destructor.
Esri::ArcGISRuntime::Point EnvelopeBuilder::center() constReturns the center point of the Envelope being constructed.
void EnvelopeBuilder::centerAtPoint(const Esri::ArcGISRuntime::Point &point)Centers the envelope at the specified point.
The point's spatial reference must be the same as the envelope builder's.
[since Esri::ArcGISRuntime 100.1]
double EnvelopeBuilder::depth() const
Returns the depth of the Envelope being constructed.
This is the difference between the minimum and maximum z values. A 2D envelope has zero depth.
This function was introduced in Esri::ArcGISRuntime 100.1.
void EnvelopeBuilder::expandByFactor(double factor)Expands the envelope by the given scale factor.
A factor of less than 1.0 shrinks the envelope and greater than 1.0 expands it. The envelope's center remains unchanged, but its corners change.
void EnvelopeBuilder::expandByFactor(double factor, const Esri::ArcGISRuntime::Point &anchorPoint)Expands the envelope at the anchor point by the given factor.
A factor of less than 1.0 shrinks the envelope and greater than 1.0 expands it.
double EnvelopeBuilder::height() constReturns the height of the Envelope being constructed.
This is the difference between the minimum and maximum y coordinates.
double EnvelopeBuilder::mMax() constReturns the m maximum value of the Envelope being constructed.
Returns NaN
if an error occurs.
See also setMMax().
double EnvelopeBuilder::mMin() constReturns the m minimum value of the Envelope being constructed.
Returns NaN
if an error occurs.
See also setMMin().
void EnvelopeBuilder::offsetBy(double offsetX, double offsetY)Moves the builder's envelope geometry by the given offsets in the x and y dimension.
Adjust the envelope's aspect ratio to match the ratio of the given width and height.
The operation preserves the center of the envelope and only increases either height or width, not both. If the new width would be greater than the old, the width is changed and the height remains the same. If the new width would be less than or equal to the old, the height is changed and the width remains the same.
void EnvelopeBuilder::setM(double mMin, double mMax)Set the m-values for the envelope.
Sets the mMax to mMax.
See also mMax.
void EnvelopeBuilder::setMMin(double mMin)Sets the mMin to mMin.
See also mMin.
void EnvelopeBuilder::setXMax(double xMax)Sets the xMax to xMax.
See also xMax.
void EnvelopeBuilder::setXMin(double xMin)Sets the xMin to xMin.
See also xMin.
void EnvelopeBuilder::setXY(double xMin, double yMin, double xMax, double yMax)Set the x,y coordinates for the envelope.
Sets the yMax to yMax.
See also yMax.
void EnvelopeBuilder::setYMin(double yMin)Sets the yMin to yMin.
See also yMin.
void EnvelopeBuilder::setZ(double zMin, double zMax)Set the z-values for the envelope.
Sets the zMax to zMax.
See also zMax.
void EnvelopeBuilder::setZMin(double zMin)Sets the zMin to zMin.
See also zMin.
Esri::ArcGISRuntime::Envelope EnvelopeBuilder::toEnvelope() constReturns the envelope this builder is constructing or modifying. This is a convenience method to avoid needing to cast the return value.
[override virtual]
Esri::ArcGISRuntime::Geometry EnvelopeBuilder::toGeometry() const
Reimplements: GeometryBuilder::toGeometry() const.
Returns the envelope this builder is constructing or modifying.
void EnvelopeBuilder::unionWithEnvelope(const Esri::ArcGISRuntime::Envelope &envelope)Finds the union of the builder's envelope and the specified envelope and updates the envelope builder with the result.
Finds the union of the builder's envelope and the specified point and updates the envelope builder with the result.
Returns the width of the Envelope being constructed.
This is the difference between the minimum and maximum x coordinates.
double EnvelopeBuilder::xMax() constReturns the x maximum value of the Envelope being constructed.
Returns NaN
if an error occurs.
See also setXMax().
double EnvelopeBuilder::xMin() constReturns the x minimum value of the Envelope being constructed.
Returns NaN
if an error occurs.
See also setXMin().
double EnvelopeBuilder::yMax() constReturns the y maximum value of the Envelope being constructed.
Returns NaN
if an error occurs.
See also setYMax().
double EnvelopeBuilder::yMin() constReturns the y minimum value of the Envelope being constructed.
Returns NaN
if an error occurs.
See also setYMin().
double EnvelopeBuilder::zMax() constReturns the z maximum value of the Envelope being constructed.
Returns NaN
if an error occurs.
See also setZMax().
double EnvelopeBuilder::zMin() constReturns the z minimum value of the Envelope being constructed.
Returns NaN
if an error occurs.
See also setZMin().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4