Class GfRange1f
Namespace: pxr
Syntax
public class GfRange1f : IDisposable
Constructors
GfRange1f()
Declaration
GfRange1f(Single, Single)
Declaration
public GfRange1f(float min, float max)
Parameters
Fields
dimension
Declaration
public static readonly uint dimension
Field Value
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Methods
Contains(GfRange1f)
Declaration
public bool Contains(GfRange1f range)
Parameters
Returns
Contains(Single)
Declaration
public bool Contains(float point)
Parameters
Type |
Name |
Description |
Single |
point |
|
Returns
Dispose()
Declaration
public virtual void Dispose()
Implements
Equals(GfRange1f, GfRange1f)
Declaration
public static bool Equals(GfRange1f lhs, GfRange1f rhs)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object rhs)
Parameters
Type |
Name |
Description |
Object |
rhs |
|
Returns
Overrides
ExtendBy(GfRange1f)
Declaration
public void ExtendBy(GfRange1f range)
Parameters
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
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetIntersection(GfRange1f, GfRange1f)
Declaration
public static GfRange1f GetIntersection(GfRange1f a, GfRange1f b)
Parameters
Returns
GetMax()
Declaration
Returns
GetMidpoint()
Declaration
public float GetMidpoint()
Returns
GetMin()
Declaration
Returns
GetSize()
Declaration
Returns
GetUnion(GfRange1f, GfRange1f)
Declaration
public static GfRange1f GetUnion(GfRange1f a, GfRange1f b)
Parameters
Returns
Intersection(GfRange1f, GfRange1f)
Declaration
public static GfRange1f Intersection(GfRange1f a, GfRange1f b)
Parameters
Returns
IntersectWith(GfRange1f)
Declaration
public GfRange1f IntersectWith(GfRange1f b)
Parameters
Returns
IsEmpty()
Declaration
Returns
IsInside(GfRange1f)
Declaration
public bool IsInside(GfRange1f range)
Parameters
Returns
IsInside(Single)
Declaration
public bool IsInside(float point)
Parameters
Type |
Name |
Description |
Single |
point |
|
Returns
IsOutside(GfRange1f)
Declaration
public bool IsOutside(GfRange1f range)
Parameters
Returns
SetEmpty()
Declaration
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
Returns
Union(Single)
Declaration
public GfRange1f Union(float b)
Parameters
Type |
Name |
Description |
Single |
b |
|
Returns
UnionWith(GfRange1f)
Declaration
public GfRange1f UnionWith(GfRange1f b)
Parameters
Returns
UnionWith(Single)
Declaration
public GfRange1f UnionWith(float b)
Parameters
Type |
Name |
Description |
Single |
b |
|
Returns
Operators
Equality(GfRange1f, GfRange1f)
Declaration
public static bool operator ==(GfRange1f lhs, GfRange1f rhs)
Parameters
Returns
Inequality(GfRange1f, GfRange1f)
Declaration
public static bool operator !=(GfRange1f lhs, GfRange1f rhs)
Parameters
Returns
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.