RevitLookup.Test.SDKSamples.CreateSheet.Views.GetOffset C# (CSharp) Method

GetOffset() private method

Retrieve the appropriate origin.
private GetOffset ( BoundingBoxUV bBox, double x, double y ) : UV
bBox BoundingBoxUV The 2D outline of the sheet
x double
y double
return UV
        private UV GetOffset(BoundingBoxUV bBox, double x, double y)
        {
            return new UV(bBox.Min.U + x * GOLDENSECTION, bBox.Min.V + y * GOLDENSECTION);
        }