LinesClosestResult (object)

LinesClosestResult LinesClosestResult LinesClosestResult ClosestResult ClosestResult LinesClosestResult->ClosestResult

Members

Vec3 position  
Vec3 scaling  
Boolean hasScaling  
GeometryLocation location  
Ref<LinesSpatialQueryCache> queryCache  

Methods

  LinesClosestResult ( in LinesClosestResult other )
  LinesClosestResult ( in Ref<LinesSpatialQueryCache> queryCache )
  LinesClosestResult ()
LinesClosestResult clone ? ()
Boolean compareAndUpdate ! ( in Size objectIndex, out Scalar maxScaledSquaredDistance )
  copyResultFrom ! ( in Ref<ClosestResult> other )
  reset ! ( in Vec3 position, in Vec3 scaling, in Boolean hasScaling )

Methods in detail

LinesClosestResult ( in LinesClosestResult other )

copy constructor


LinesClosestResult ( in Ref<LinesSpatialQueryCache> queryCache )


LinesClosestResult ()

default constructor


LinesClosestResult LinesClosestResult.clone? ()

clone method


Boolean LinesClosestResult.compareAndUpdate! ( in Size objectIndex, out Scalar maxScaledSquaredDistance )

If the getClosest resulting squared scaled distance is <= maxScaledSquaredDistance, returns ‘true’ and the object should preserve location information for that best candidate.


LinesClosestResult.copyResultFrom! ( in Ref<ClosestResult> other )

Sets the resulting getClosest location from the other ClosestResult (same type)


LinesClosestResult.reset! ( in Vec3 position, in Vec3 scaling, in Boolean hasScaling )

Resets the content of the query (new getClosest beginning). If ‘hasScaling’, then ‘scaling’ will contain a non-uniform scaling vector. Else, ‘scaling’ will be :ref:`Vec3 <vec3>`(1,1,1).