Package org.robwork.sdurw_geometry
Class TriTriIntersectMoller_fPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.TriTriIntersectMoller_fPtr
-
public class TriTriIntersectMoller_fPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description TriTriIntersectMoller_fPtr()
Default constructor yielding a NULL-pointer.TriTriIntersectMoller_fPtr(long cPtr, boolean cMemoryOwn)
TriTriIntersectMoller_fPtr(TriTriIntersectMoller_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 TriTriIntersectMoller_f
__ref__()
Dereferencing operator.TriTriIntersectMoller_fCPtr
cptr()
void
delete()
TriTriIntersectMoller_f
deref()
The pointer stored in the object.boolean
equals(TriTriIntersectMoller_f p)
static long
getCPtr(TriTriIntersectMoller_fPtr obj)
TriTriIntersectMoller_f
getDeref()
Member access operator.boolean
inCollision(Triangle_f P, Triangle_f Q)
boolean
inCollision(Triangle_f P, Triangle_f Q, Transform3Df PTQ)
boolean
inCollision(Vector3Df P1, Vector3Df P2, Vector3Df P3, Vector3Df Q1, Vector3Df Q2, Vector3Df Q3)
boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownership
-
-
-
Constructor Detail
-
TriTriIntersectMoller_fPtr
public TriTriIntersectMoller_fPtr(long cPtr, boolean cMemoryOwn)
-
TriTriIntersectMoller_fPtr
public TriTriIntersectMoller_fPtr()
Default constructor yielding a NULL-pointer.
-
TriTriIntersectMoller_fPtr
public TriTriIntersectMoller_fPtr(TriTriIntersectMoller_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(TriTriIntersectMoller_fPtr obj)
-
delete
public void delete()
-
deref
public TriTriIntersectMoller_f deref()
The pointer stored in the object.
-
__ref__
public TriTriIntersectMoller_f __ref__()
Dereferencing operator.
-
getDeref
public TriTriIntersectMoller_f getDeref()
Member access operator.
-
equals
public boolean equals(TriTriIntersectMoller_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 TriTriIntersectMoller_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)
-
-