Package org.robwork.sdurw_geometry
Class QuadraticCurveCPtr
- java.lang.Object
-
- org.robwork.sdurw_geometry.QuadraticCurveCPtr
-
public class QuadraticCurveCPtr extends java.lang.Object
Ptr stores a pointer and optionally takes ownership of the value.
-
-
Constructor Summary
Constructors Constructor Description QuadraticCurveCPtr()
Default constructor yielding a NULL-pointer.QuadraticCurveCPtr(long cPtr, boolean cMemoryOwn)
QuadraticCurveCPtr(QuadraticCurve 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 QuadraticCurve
__ref__()
Dereferencing operator.Vector3D
c()
The point c.QuadraticCurvePtr
clone()
SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t
closestPoints(Vector3D p)
double
closestTime(Vector3D p)
vector_d
closestTimes(Vector3D p)
double
curvature(double t)
boolean
CurveEqual(CurveCPtr curve, double eps)
Vector3D
ddx(double t)
void
delete()
QuadraticCurve
deref()
The pointer stored in the object.SWIGTYPE_p_std__listT_rw__math__Vector3DT_double_t_t
discretizeAdaptive(double stepsPerRevolution)
Vector3D
dx(double t)
boolean
equals(QuadraticCurve p)
pair_d_d
extremums(Vector3D dir)
static long
getCPtr(QuadraticCurveCPtr obj)
QuadraticCurve
getDeref()
Member access operator.boolean
hasLimits()
boolean
inLimits(double t)
boolean
isNull()
checks if the pointer is nullboolean
isShared()
check if this Ptr has shared ownership or none
ownershippair_d_d
limits()
OBB
obr()
QuadraticCurvePtr
reverse()
QuadraticCurvePtr
scale(double factor)
QuadraticCurvePtr
transform(Transform3D T)
rw::math::Transform3D<double>&) constQuadraticCurvePtr
transform(Vector3D P)
rw::math::Vector3D<double>&) constQuadraticCurve.Type
type()
Get the type of curve.Vector3D
u()
The vector u.Vector3D
v()
The vector v.Vector3D
x(double t)
-
-
-
Constructor Detail
-
QuadraticCurveCPtr
public QuadraticCurveCPtr(long cPtr, boolean cMemoryOwn)
-
QuadraticCurveCPtr
public QuadraticCurveCPtr()
Default constructor yielding a NULL-pointer.
-
QuadraticCurveCPtr
public QuadraticCurveCPtr(QuadraticCurve ptr)
Do not take ownership of ptr.
ptr can be null.
The constructor is implicit on purpose.
-
-
Method Detail
-
getCPtr
public static long getCPtr(QuadraticCurveCPtr obj)
-
delete
public void delete()
-
deref
public QuadraticCurve deref()
The pointer stored in the object.
-
__ref__
public QuadraticCurve __ref__()
Dereferencing operator.
-
getDeref
public QuadraticCurve getDeref()
Member access operator.
-
equals
public boolean equals(QuadraticCurve 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
-
transform
public QuadraticCurvePtr transform(Transform3D T)
rw::math::Transform3D<double>&) const
-
transform
public QuadraticCurvePtr transform(Vector3D P)
rw::math::Vector3D<double>&) const
-
scale
public QuadraticCurvePtr scale(double factor)
-
reverse
public QuadraticCurvePtr reverse()
-
clone
public QuadraticCurvePtr clone()
-
discretizeAdaptive
public SWIGTYPE_p_std__listT_rw__math__Vector3DT_double_t_t discretizeAdaptive(double stepsPerRevolution)
-
obr
public OBB obr()
-
closestPoints
public SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t closestPoints(Vector3D p)
-
CurveEqual
public boolean CurveEqual(CurveCPtr curve, double eps)
-
x
public Vector3D x(double t)
-
dx
public Vector3D dx(double t)
-
ddx
public Vector3D ddx(double t)
-
hasLimits
public boolean hasLimits()
-
limits
public pair_d_d limits()
-
inLimits
public boolean inLimits(double t)
-
curvature
public double curvature(double t)
-
closestTime
public double closestTime(Vector3D p)
-
c
public Vector3D c()
The point c.- Returns:
- the point c \in \mathbb{R}^3 .
-
u
public Vector3D u()
The vector u.- Returns:
- the vector u \in \mathbb{R}^3 .
-
v
public Vector3D v()
The vector v.- Returns:
- the vector v \in \mathbb{R}^3 .
-
type
public QuadraticCurve.Type type()
Get the type of curve.- Returns:
- the type of curve.
-
-