docs.unity3d.com
    Show / Hide Table of Contents

    Class GfRange1d

    Inheritance
    Object
    GfRange1d
    Inherited Members
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: pxr
    Syntax
    public class GfRange1d : IDisposable

    Constructors

    GfRange1d()

    Declaration
    public GfRange1d()

    GfRange1d(Double, Double)

    Declaration
    public GfRange1d(double min, double max)
    Parameters
    Type Name Description
    Double min
    Double max

    Fields

    dimension

    Declaration
    public static readonly uint dimension
    Field Value
    Type Description
    UInt32

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Methods

    Contains(GfRange1d)

    Declaration
    public bool Contains(GfRange1d range)
    Parameters
    Type Name Description
    GfRange1d range
    Returns
    Type Description
    Boolean

    Contains(Double)

    Declaration
    public bool Contains(double point)
    Parameters
    Type Name Description
    Double point
    Returns
    Type Description
    Boolean

    Dispose()

    Declaration
    public virtual void Dispose()
    Implements
    IDisposable.Dispose()

    Equals(GfRange1d, GfRange1d)

    Declaration
    public static bool Equals(GfRange1d lhs, GfRange1d rhs)
    Parameters
    Type Name Description
    GfRange1d lhs
    GfRange1d rhs
    Returns
    Type Description
    Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object rhs)
    Parameters
    Type Name Description
    Object rhs
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)

    ExtendBy(GfRange1d)

    Declaration
    public void ExtendBy(GfRange1d range)
    Parameters
    Type Name Description
    GfRange1d range

    ExtendBy(Double)

    Declaration
    public void ExtendBy(double point)
    Parameters
    Type Name Description
    Double point

    Finalize()

    Declaration
    protected void Finalize()

    GetDistanceSquared(Double)

    Declaration
    public double GetDistanceSquared(double p)
    Parameters
    Type Name Description
    Double p
    Returns
    Type Description
    Double

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    GetIntersection(GfRange1d, GfRange1d)

    Declaration
    public static GfRange1d GetIntersection(GfRange1d a, GfRange1d b)
    Parameters
    Type Name Description
    GfRange1d a
    GfRange1d b
    Returns
    Type Description
    GfRange1d

    GetMax()

    Declaration
    public double GetMax()
    Returns
    Type Description
    Double

    GetMidpoint()

    Declaration
    public double GetMidpoint()
    Returns
    Type Description
    Double

    GetMin()

    Declaration
    public double GetMin()
    Returns
    Type Description
    Double

    GetSize()

    Declaration
    public double GetSize()
    Returns
    Type Description
    Double

    GetUnion(GfRange1d, GfRange1d)

    Declaration
    public static GfRange1d GetUnion(GfRange1d a, GfRange1d b)
    Parameters
    Type Name Description
    GfRange1d a
    GfRange1d b
    Returns
    Type Description
    GfRange1d

    Intersection(GfRange1d, GfRange1d)

    Declaration
    public static GfRange1d Intersection(GfRange1d a, GfRange1d b)
    Parameters
    Type Name Description
    GfRange1d a
    GfRange1d b
    Returns
    Type Description
    GfRange1d

    IntersectWith(GfRange1d)

    Declaration
    public GfRange1d IntersectWith(GfRange1d b)
    Parameters
    Type Name Description
    GfRange1d b
    Returns
    Type Description
    GfRange1d

    IsEmpty()

    Declaration
    public bool IsEmpty()
    Returns
    Type Description
    Boolean

    IsInside(GfRange1d)

    Declaration
    public bool IsInside(GfRange1d range)
    Parameters
    Type Name Description
    GfRange1d range
    Returns
    Type Description
    Boolean

    IsInside(Double)

    Declaration
    public bool IsInside(double point)
    Parameters
    Type Name Description
    Double point
    Returns
    Type Description
    Boolean

    IsOutside(GfRange1d)

    Declaration
    public bool IsOutside(GfRange1d range)
    Parameters
    Type Name Description
    GfRange1d range
    Returns
    Type Description
    Boolean

    SetEmpty()

    Declaration
    public void SetEmpty()

    SetMax(Double)

    Declaration
    public void SetMax(double max)
    Parameters
    Type Name Description
    Double max

    SetMin(Double)

    Declaration
    public void SetMin(double min)
    Parameters
    Type Name Description
    Double min

    Union(GfRange1d, GfRange1d)

    Declaration
    public static GfRange1d Union(GfRange1d a, GfRange1d b)
    Parameters
    Type Name Description
    GfRange1d a
    GfRange1d b
    Returns
    Type Description
    GfRange1d

    Union(Double)

    Declaration
    public GfRange1d Union(double b)
    Parameters
    Type Name Description
    Double b
    Returns
    Type Description
    GfRange1d

    UnionWith(GfRange1d)

    Declaration
    public GfRange1d UnionWith(GfRange1d b)
    Parameters
    Type Name Description
    GfRange1d b
    Returns
    Type Description
    GfRange1d

    UnionWith(Double)

    Declaration
    public GfRange1d UnionWith(double b)
    Parameters
    Type Name Description
    Double b
    Returns
    Type Description
    GfRange1d

    Operators

    Equality(GfRange1d, GfRange1d)

    Declaration
    public static bool operator ==(GfRange1d lhs, GfRange1d rhs)
    Parameters
    Type Name Description
    GfRange1d lhs
    GfRange1d rhs
    Returns
    Type Description
    Boolean

    Inequality(GfRange1d, GfRange1d)

    Declaration
    public static bool operator !=(GfRange1d lhs, GfRange1d rhs)
    Parameters
    Type Name Description
    GfRange1d lhs
    GfRange1d rhs
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023