Package org.robwork.sdurw_geometry
Class TriTriIntersectDeviller_fPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.TriTriIntersectDeviller_fPtr
-
public class TriTriIntersectDeviller_fPtr extends java.lang.ObjectPtr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description TriTriIntersectDeviller_fPtr()Default constructor yielding a NULL-pointer.TriTriIntersectDeviller_fPtr(long cPtr, boolean cMemoryOwn)TriTriIntersectDeviller_fPtr(TriTriIntersectDeviller_f ptr)Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TriTriIntersectDeviller_f__ref__()Dereferencing operator.TriTriIntersectDeviller_fCPtrcptr()voiddelete()TriTriIntersectDeviller_fderef()The pointer stored in the object.booleanequals(TriTriIntersectDeviller_f p)static longgetCPtr(TriTriIntersectDeviller_fPtr obj)TriTriIntersectDeviller_fgetDeref()Member access operator.booleaninCollision(Triangle_f P, Triangle_f Q)booleaninCollision(Triangle_f P, Triangle_f Q, Transform3Df PTQ)booleaninCollision(Vector3Df P1, Vector3Df P2, Vector3Df P3, Vector3Df Q1, Vector3Df Q2, Vector3Df Q3)booleanisNull()checks if the pointer is nullbooleanisShared()check if this Ptr has shared ownership or none
ownership
-
-
-
Constructor Detail
-
TriTriIntersectDeviller_fPtr
public TriTriIntersectDeviller_fPtr(long cPtr, boolean cMemoryOwn)
-
TriTriIntersectDeviller_fPtr
public TriTriIntersectDeviller_fPtr()
Default constructor yielding a NULL-pointer.
-
TriTriIntersectDeviller_fPtr
public TriTriIntersectDeviller_fPtr(TriTriIntersectDeviller_f ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(TriTriIntersectDeviller_fPtr obj)
-
delete
public void delete()
-
deref
public TriTriIntersectDeviller_f deref()
The pointer stored in the object.
-
__ref__
public TriTriIntersectDeviller_f __ref__()
Dereferencing operator.
-
getDeref
public TriTriIntersectDeviller_f getDeref()
Member access operator.
-
equals
public boolean equals(TriTriIntersectDeviller_f p)
-
isShared
public boolean isShared()
check if this Ptr has shared ownership or none
ownership- Returns:
- true if Ptr has shared ownership, false if it has no ownership.
-
isNull
public boolean isNull()
checks if the pointer is null- Returns:
- Returns true if the pointer is null
-
cptr
public TriTriIntersectDeviller_fCPtr cptr()
-
inCollision
public boolean inCollision(Vector3Df P1, Vector3Df P2, Vector3Df P3, Vector3Df Q1, Vector3Df Q2, Vector3Df Q3)
-
inCollision
public boolean inCollision(Triangle_f P, Triangle_f Q)
-
inCollision
public boolean inCollision(Triangle_f P, Triangle_f Q, Transform3Df PTQ)
-
-