Package org.robwork.sdurw_geometry
Class AnalyticUtil
- java.lang.Object
-
- org.robwork.sdurw_geometry.AnalyticUtil
-
public class AnalyticUtil extends java.lang.Object
Utility functions for functions dealing with analytic geometry.
-
-
Constructor Summary
Constructors Constructor Description AnalyticUtil(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SWIGTYPE_p_std__listT_std__vectorT_rw__math__Vector3DT_double_t_t_t
combinePolygons(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t border, SWIGTYPE_p_std__listT_std__vectorT_unsigned_long_t_t subborder, VectorQuadraticCurve curves, double stepsPerRevolution)
Combine discretized borders with curves to form polygons.
The curves are themselves discretized to form the polygon.
void
delete()
static long
getCPtr(AnalyticUtil obj)
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(AnalyticUtil obj)
-
delete
public void delete()
-
combinePolygons
public static SWIGTYPE_p_std__listT_std__vectorT_rw__math__Vector3DT_double_t_t_t combinePolygons(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t border, SWIGTYPE_p_std__listT_std__vectorT_unsigned_long_t_t subborder, VectorQuadraticCurve curves, double stepsPerRevolution)
Combine discretized borders with curves to form polygons.
The curves are themselves discretized to form the polygon.
- Parameters:
border
- [in] the full list of points.subborder
- [in] a list of border sections.
Each section is a vector of indices into border.curves
- [in] the curves to combine with the border
sections.stepsPerRevolution
- [in] the resolution for discretization
of the curves.- Returns:
- a list of polygons. Each polygon is a list of points.
-
-