Table of Contents

Interface IRegion1D2D

Namespace
VirtualLabAPI.Core.Numerics
Assembly
VirtualLabAPI.dll

Interface to connect 1D and 2D regions.

public interface IRegion1D2D : IDocument, IEquatable<IObjectBase>, ICloneable, IDisposable
Inherited Members
Extension Methods

Properties

BoundariesAreInside

Gets or sets whether or not the boundaries of the region belong to the inner region.

bool BoundariesAreInside { get; set; }

Property Value

bool

CommonMeasuredQuantityOfCoordinates

The measured quantity of the coordinate axis (for 1D regions) or axes (2D regions). Can be null in case of 2D regions with two different measured quantities.

MeasuredQuantity? CommonMeasuredQuantityOfCoordinates { get; }

Property Value

MeasuredQuantity

IsOneD

Gets whether this IRegion1D2D is 1D or 2D.

bool IsOneD { get; }

Property Value

bool

Name

The name which can be given to the region by the user.

string Name { get; set; }

Property Value

string

Methods

ScaleByFactor(double, bool)

Scales the region by the given factor. The center of the region remains unchanged.

void ScaleByFactor(double factor, bool keepCenter)

Parameters

factor double

The scaling factor (used for both x- and y-direction for 2D regions).

keepCenter bool

Whether the center of the region is kept (true) or scaled by the same factor (false).

See Also