Class GfRange2d
Namespace: pxr
Syntax
public class GfRange2d : IDisposable
Constructors
GfRange2d()
Declaration
GfRange2d(GfVec2d, GfVec2d)
Declaration
public GfRange2d(GfVec2d min, GfVec2d max)
Parameters
Fields
dimension
Declaration
public static readonly uint dimension
Field Value
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Properties
UnitSquare
Declaration
public static GfRange2d UnitSquare { get; }
Property Value
Methods
Contains(GfRange2d)
Declaration
public bool Contains(GfRange2d range)
Parameters
Returns
Contains(GfVec2d)
Declaration
public bool Contains(GfVec2d point)
Parameters
Type |
Name |
Description |
GfVec2d |
point |
|
Returns
Dispose()
Declaration
public virtual void Dispose()
Implements
Equals(GfRange2d, GfRange2d)
Declaration
public static bool Equals(GfRange2d lhs, GfRange2d rhs)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object rhs)
Parameters
Type |
Name |
Description |
Object |
rhs |
|
Returns
Overrides
ExtendBy(GfRange2d)
Declaration
public void ExtendBy(GfRange2d range)
Parameters
ExtendBy(GfVec2d)
Declaration
public void ExtendBy(GfVec2d point)
Parameters
Type |
Name |
Description |
GfVec2d |
point |
|
Finalize()
Declaration
protected void Finalize()
GetCorner(UInt32)
Declaration
public GfVec2d GetCorner(uint i)
Parameters
Type |
Name |
Description |
UInt32 |
i |
|
Returns
GetDistanceSquared(GfVec2d)
Declaration
public double GetDistanceSquared(GfVec2d p)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetIntersection(GfRange2d, GfRange2d)
Declaration
public static GfRange2d GetIntersection(GfRange2d a, GfRange2d b)
Parameters
Returns
GetMax()
Declaration
Returns
GetMidpoint()
Declaration
public GfVec2d GetMidpoint()
Returns
GetMin()
Declaration
Returns
GetQuadrant(UInt32)
Declaration
public GfRange2d GetQuadrant(uint i)
Parameters
Type |
Name |
Description |
UInt32 |
i |
|
Returns
GetSize()
Declaration
Returns
GetUnion(GfRange2d, GfRange2d)
Declaration
public static GfRange2d GetUnion(GfRange2d a, GfRange2d b)
Parameters
Returns
Intersection(GfRange2d, GfRange2d)
Declaration
public static GfRange2d Intersection(GfRange2d a, GfRange2d b)
Parameters
Returns
IntersectWith(GfRange2d)
Declaration
public GfRange2d IntersectWith(GfRange2d b)
Parameters
Returns
IsEmpty()
Declaration
Returns
IsInside(GfRange2d)
Declaration
public bool IsInside(GfRange2d range)
Parameters
Returns
IsInside(GfVec2d)
Declaration
public bool IsInside(GfVec2d point)
Parameters
Type |
Name |
Description |
GfVec2d |
point |
|
Returns
IsOutside(GfRange2d)
Declaration
public bool IsOutside(GfRange2d range)
Parameters
Returns
SetEmpty()
Declaration
SetMax(GfVec2d)
Declaration
public void SetMax(GfVec2d max)
Parameters
SetMin(GfVec2d)
Declaration
public void SetMin(GfVec2d min)
Parameters
Union(GfRange2d, GfRange2d)
Declaration
public static GfRange2d Union(GfRange2d a, GfRange2d b)
Parameters
Returns
Union(GfVec2d)
Declaration
public GfRange2d Union(GfVec2d b)
Parameters
Returns
UnionWith(GfRange2d)
Declaration
public GfRange2d UnionWith(GfRange2d b)
Parameters
Returns
UnionWith(GfVec2d)
Declaration
public GfRange2d UnionWith(GfVec2d b)
Parameters
Returns
Operators
Equality(GfRange2d, GfRange2d)
Declaration
public static bool operator ==(GfRange2d lhs, GfRange2d rhs)
Parameters
Returns
Inequality(GfRange2d, GfRange2d)
Declaration
public static bool operator !=(GfRange2d lhs, GfRange2d 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.