Package org.robwork.sdurw_geometry
Class QuadraticFace
- java.lang.Object
-
- org.robwork.sdurw_geometry.GeometryData
-
- org.robwork.sdurw_geometry.QuadraticFace
-
public class QuadraticFace extends GeometryData
A Quadratic surface patch bounded by Quadratic curves.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robwork.sdurw_geometry.GeometryData
GeometryData.GeometryType
-
-
Constructor Summary
Constructors Constructor Description QuadraticFace(long cPtr, boolean cMemoryOwn)
-
Method Summary
-
Methods inherited from class org.robwork.sdurw_geometry.GeometryData
getCPtr, getTriMesh, getTriMesh, getType, isConvex, toString
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(QuadraticFace obj)
-
delete
public void delete()
- Overrides:
delete
in classGeometryData
-
surface
public QuadraticSurface surface()
-
curveCount
public long curveCount()
-
getCurve
public QuadraticCurve getCurve(long i)
-
vertices
public SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t vertices()
-
transform
public void transform(Vector3D P)
rw::math::Vector3D<double>&)
-
transform
public void transform(Transform3D T)
rw::math::Transform3D<>&)
-
getCurves
public SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__QuadraticCurve_const_t_t getCurves()
Get the Quadratic curves.- Returns:
- vector with the curves.
-
setSurface
public void setSurface(QuadraticSurfaceCPtr surface)
Set Quadratic surface.- Parameters:
surface
- [in] the surface.
-
setSurface
public void setSurface(QuadraticSurface surface)
Set surface.- Parameters:
surface
- [in] the surface.
-
setCurve
public void setCurve(long vertex, QuadraticCurveCPtr curve)
Set Quadratic curve (a curve has direction)- Parameters:
vertex
- [in] the start vertex.curve
- [in] the curve.
-
setCurves
public void setCurves(SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__QuadraticCurve_const_t_t curves)
Set the Quadratic curves.- Parameters:
curves
- [in] vector of directed curves.
-
setVertex
public void setVertex(long index, Vector3D vertex)
Set vertex.- Parameters:
index
- [in] vertex index to set.vertex
- [in] the vertex point.
-
setVertices
public void setVertices(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t vertices)
Set the vertices.- Parameters:
vertices
- [in] vector of vertices.
-
-