Package org.robwork.sdurw_geometry
Class ImplicitFace
- java.lang.Object
-
- org.robwork.sdurw_geometry.ImplicitFace
-
public class ImplicitFace extends java.lang.Object
Type of Face, where the surface is an ImplicitSurface and the
edges are of type ParametricCurve.
-
-
Constructor Summary
Constructors Constructor Description ImplicitFace()
Constructor.ImplicitFace(long cPtr, boolean cMemoryOwn)
ImplicitFace(ImplicitSurfaceCPtr surface, SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t vertices)
Construct face with surface and vertices given initially.
Curves must be set afterwards.
-
Method Summary
-
-
-
Constructor Detail
-
ImplicitFace
public ImplicitFace(long cPtr, boolean cMemoryOwn)
-
ImplicitFace
public ImplicitFace()
Constructor.
-
ImplicitFace
public ImplicitFace(ImplicitSurfaceCPtr surface, SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t vertices)
Construct face with surface and vertices given initially.
Curves must be set afterwards.
- Parameters:
surface
- [in] the surface data.vertices
- [in] vector of vertices.
-
-
Method Detail
-
getCPtr
public static long getCPtr(ImplicitFace obj)
-
delete
public void delete()
-
surface
public ImplicitSurface surface()
Get the surface of the face.- Returns:
- a reference to the surface data.
-
curveCount
public long curveCount()
-
getCurve
public ParametricCurve 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__ParametricCurve_const_t_t getCurves()
Get the parametric curves.- Returns:
- vector with the curves.
-
setSurface
public void setSurface(ImplicitSurfaceCPtr surface)
Set implicit surface.- Parameters:
surface
- [in] the surface.
-
setSurface
public void setSurface(ImplicitSurface surface)
Set surface.- Parameters:
surface
- [in] the surface.
-
setCurve
public void setCurve(long vertex, ParametricCurveCPtr curve)
Set parametric 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__ParametricCurve_const_t_t curves)
Set the parametric 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.
-
-