SourceObjectPosition.withPosition constructor
Creates a source object position instance.
Creates a source object position.
Parameters:
sourceIndex
— A source instance.sourceOid
— A source OID.position
— A position.
Implementation
factory SourceObjectPosition.withPosition({
required int sourceIndex,
required int sourceOid,
required double position,
}) {
_initializeArcGISEnvironmentIfNeeded();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_SourceObjectPosition_createWithPosition(
sourceIndex,
sourceOid,
position,
errorHandler,
);
});
return SourceObjectPosition._withHandle(handle);
}