Class GfRay
Namespace: pxr
Syntax
public class GfRay : IDisposable
Constructors
GfRay()
Declaration
GfRay(GfVec3d, GfVec3d)
Declaration
public GfRay(GfVec3d startPoint, GfVec3d direction)
Parameters
Fields
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Methods
Dispose()
Declaration
public virtual void Dispose()
Implements
Equals(GfRay, GfRay)
Declaration
public static bool Equals(GfRay lhs, GfRay rhs)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object rhs)
Parameters
Type |
Name |
Description |
Object |
rhs |
|
Returns
Overrides
Finalize()
Declaration
protected void Finalize()
FindClosestPoint(GfVec3d)
Declaration
public GfVec3d FindClosestPoint(GfVec3d point)
Parameters
Type |
Name |
Description |
GfVec3d |
point |
|
Returns
FindClosestPoint(GfVec3d, out Double)
Declaration
public GfVec3d FindClosestPoint(GfVec3d point, out double rayDistance)
Parameters
Returns
GetDirection()
Declaration
public GfVec3d GetDirection()
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetPoint(Double)
Declaration
public GfVec3d GetPoint(double distance)
Parameters
Type |
Name |
Description |
Double |
distance |
|
Returns
GetStartPoint()
Declaration
public GfVec3d GetStartPoint()
Returns
Intersect(GfBBox3d)
Declaration
public bool Intersect(GfBBox3d box)
Parameters
Returns
Intersect(GfBBox3d, out Double)
Declaration
public bool Intersect(GfBBox3d box, out double enterDistance)
Parameters
Returns
Intersect(GfBBox3d, out Double, out Double)
Declaration
public bool Intersect(GfBBox3d box, out double enterDistance, out double exitDistance)
Parameters
Returns
Intersect(GfPlane)
Declaration
public bool Intersect(GfPlane plane)
Parameters
Type |
Name |
Description |
GfPlane |
plane |
|
Returns
Intersect(GfPlane, out Double)
Declaration
public bool Intersect(GfPlane plane, out double distance)
Parameters
Returns
Intersect(GfPlane, out Double, out Boolean)
Declaration
public bool Intersect(GfPlane plane, out double distance, out bool frontFacing)
Parameters
Returns
Intersect(GfRange3d)
Declaration
public bool Intersect(GfRange3d box)
Parameters
Returns
Intersect(GfRange3d, out Double)
Declaration
public bool Intersect(GfRange3d box, out double enterDistance)
Parameters
Returns
Intersect(GfRange3d, out Double, out Double)
Declaration
public bool Intersect(GfRange3d box, out double enterDistance, out double exitDistance)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, GfVec3d)
Declaration
public bool Intersect(GfVec3d p0, GfVec3d p1, GfVec3d p2)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, GfVec3d, out Double)
Declaration
public bool Intersect(GfVec3d p0, GfVec3d p1, GfVec3d p2, out double distance)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, GfVec3d, out Double, GfVec3d)
Declaration
public bool Intersect(GfVec3d p0, GfVec3d p1, GfVec3d p2, out double distance, GfVec3d barycentricCoords)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, GfVec3d, out Double, GfVec3d, out Boolean)
Declaration
public bool Intersect(GfVec3d p0, GfVec3d p1, GfVec3d p2, out double distance, GfVec3d barycentricCoords, out bool frontFacing)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, GfVec3d, out Double, GfVec3d, out Boolean, Double)
Declaration
public bool Intersect(GfVec3d p0, GfVec3d p1, GfVec3d p2, out double distance, GfVec3d barycentricCoords, out bool frontFacing, double maxDist)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, Double)
Declaration
public bool Intersect(GfVec3d origin, GfVec3d axis, double radius)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, Double, Double)
Declaration
public bool Intersect(GfVec3d origin, GfVec3d axis, double radius, double height)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, Double, Double, out Double)
Declaration
public bool Intersect(GfVec3d origin, GfVec3d axis, double radius, double height, out double enterDistance)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, Double, Double, out Double, out Double)
Declaration
public bool Intersect(GfVec3d origin, GfVec3d axis, double radius, double height, out double enterDistance, out double exitDistance)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, Double, out Double)
Declaration
public bool Intersect(GfVec3d origin, GfVec3d axis, double radius, out double enterDistance)
Parameters
Returns
Intersect(GfVec3d, GfVec3d, Double, out Double, out Double)
Declaration
public bool Intersect(GfVec3d origin, GfVec3d axis, double radius, out double enterDistance, out double exitDistance)
Parameters
Returns
Intersect(GfVec3d, Double)
Declaration
public bool Intersect(GfVec3d center, double radius)
Parameters
Returns
Intersect(GfVec3d, Double, out Double)
Declaration
public bool Intersect(GfVec3d center, double radius, out double enterDistance)
Parameters
Returns
Intersect(GfVec3d, Double, out Double, out Double)
Declaration
public bool Intersect(GfVec3d center, double radius, out double enterDistance, out double exitDistance)
Parameters
Returns
SetEnds(GfVec3d, GfVec3d)
Declaration
public void SetEnds(GfVec3d startPoint, GfVec3d endPoint)
Parameters
SetPointAndDirection(GfVec3d, GfVec3d)
Declaration
public void SetPointAndDirection(GfVec3d startPoint, GfVec3d direction)
Parameters
Declaration
public GfRay Transform(GfMatrix4d matrix)
Parameters
Returns
Operators
Equality(GfRay, GfRay)
Declaration
public static bool operator ==(GfRay lhs, GfRay rhs)
Parameters
Returns
Inequality(GfRay, GfRay)
Declaration
public static bool operator !=(GfRay lhs, GfRay rhs)
Parameters
Returns