docs.unity3d.com
    Show / Hide Table of Contents

    Class GfRange1f

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

    Constructors

    GfRange1f()

    Declaration
    public GfRange1f()

    GfRange1f(Single, Single)

    Declaration
    public GfRange1f(float min, float max)
    Parameters
    Type Name Description
    Single min
    Single 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(GfRange1f)

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

    Contains(Single)

    Declaration
    public bool Contains(float point)
    Parameters
    Type Name Description
    Single point
    Returns
    Type Description
    Boolean

    Dispose()

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

    Equals(GfRange1f, GfRange1f)

    Declaration
    public static bool Equals(GfRange1f lhs, GfRange1f rhs)
    Parameters
    Type Name Description
    GfRange1f lhs
    GfRange1f 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(GfRange1f)

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

    ExtendBy(Single)

    Declaration
    public void ExtendBy(float point)
    Parameters
    Type Name Description
    Single point

    Finalize()

    Declaration
    protected void Finalize()

    GetDistanceSquared(Single)

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

    GetHashCode()

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

    GetIntersection(GfRange1f, GfRange1f)

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

    GetMax()

    Declaration
    public float GetMax()
    Returns
    Type Description
    Single

    GetMidpoint()

    Declaration
    public float GetMidpoint()
    Returns
    Type Description
    Single

    GetMin()

    Declaration
    public float GetMin()
    Returns
    Type Description
    Single

    GetSize()

    Declaration
    public float GetSize()
    Returns
    Type Description
    Single

    GetUnion(GfRange1f, GfRange1f)

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

    Intersection(GfRange1f, GfRange1f)

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

    IntersectWith(GfRange1f)

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

    IsEmpty()

    Declaration
    public bool IsEmpty()
    Returns
    Type Description
    Boolean

    IsInside(GfRange1f)

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

    IsInside(Single)

    Declaration
    public bool IsInside(float point)
    Parameters
    Type Name Description
    Single point
    Returns
    Type Description
    Boolean

    IsOutside(GfRange1f)

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

    SetEmpty()

    Declaration
    public void SetEmpty()

    SetMax(Single)

    Declaration
    public void SetMax(float max)
    Parameters
    Type Name Description
    Single max

    SetMin(Single)

    Declaration
    public void SetMin(float min)
    Parameters
    Type Name Description
    Single min

    Union(GfRange1f, GfRange1f)

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

    Union(Single)

    Declaration
    public GfRange1f Union(float b)
    Parameters
    Type Name Description
    Single b
    Returns
    Type Description
    GfRange1f

    UnionWith(GfRange1f)

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

    UnionWith(Single)

    Declaration
    public GfRange1f UnionWith(float b)
    Parameters
    Type Name Description
    Single b
    Returns
    Type Description
    GfRange1f

    Operators

    Equality(GfRange1f, GfRange1f)

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

    Inequality(GfRange1f, GfRange1f)

    Declaration
    public static bool operator !=(GfRange1f lhs, GfRange1f rhs)
    Parameters
    Type Name Description
    GfRange1f lhs
    GfRange1f 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