populated abstract method

Bounded populated({
  1. bool onBounds = true,
  2. PositionScheme scheme = Position.scheme,
})

Returns an object of the same subtype as this with certain data members populated.

If nothing is populated then this is returned.

If onBounds is true (as by default):

  • The bounds in a returned bounded object is ensured to be populated (expect when cannot be calculated, for example in the case of an empty geometry).

Use scheme to set the position scheme:

  • Position.scheme for generic position data (geographic, projected or any other), this is also the default
  • Projected.scheme for projected position data
  • Geographic.scheme for geographic position data

See also unpopulated.

Implementation

Bounded populated({
  bool onBounds = true,
  PositionScheme scheme = Position.scheme,
});