Package org.robwork.sdurw_geometry
Class ImplicitBREP
- java.lang.Object
-
- org.robwork.sdurw_geometry.GeometryData
-
- org.robwork.sdurw_geometry.ImplicitBREP
-
public class ImplicitBREP extends GeometryData
Type of BREP where all surfaces are of type ImplicitSurface,
and edges are of type ParametricCurve.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImplicitBREP.CommonParametricCurveSet
Convenience type for a set of curves in a BREP.-
Nested classes/interfaces inherited from class org.robwork.sdurw_geometry.GeometryData
GeometryData.GeometryType
-
-
Constructor Summary
Constructors Constructor Description ImplicitBREP(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEdge(ParametricCurve curve, long v1, long v2)
Add a ParametricCurve to the BREP.
Notice that the curve has direction.ImplicitBREPPtr
clone()
void
delete()
SWIGTYPE_p_rw__core__PtrT_rw__geometry__ImplicitBREP__CommonParametricCurveSet_const_t
getCommonCurves(SWIGTYPE_p_std__setT_unsigned_long_t faces)
static long
getCPtr(ImplicitBREP obj)
ParametricCurve
getCurve(long curveIndex)
SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__ParametricCurve_t_t
getCurves(long loopIdx)
ImplicitSurface
getSurface(long surfaceIndex)
GeometryData.GeometryType
getType()
the type of this primitivevoid
scale(double factor)
void
setFace(ImplicitSurface surface, long loop)
Attach an ImplicitSurface to a face of the BREP.ImplicitShellCPtr
shellProxy()
-
Methods inherited from class org.robwork.sdurw_geometry.GeometryData
getCPtr, getTriMesh, getTriMesh, isConvex, toString
-
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(ImplicitBREP obj)
-
delete
public void delete()
- Overrides:
delete
in classGeometryData
-
getType
public GeometryData.GeometryType getType()
Description copied from class:GeometryData
the type of this primitive- Overrides:
getType
in classGeometryData
-
getSurface
public ImplicitSurface getSurface(long surfaceIndex)
-
getCurve
public ParametricCurve getCurve(long curveIndex)
-
scale
public void scale(double factor)
-
clone
public ImplicitBREPPtr clone()
-
shellProxy
public ImplicitShellCPtr shellProxy()
-
getCurves
public SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__ParametricCurve_t_t getCurves(long loopIdx)
-
getCommonCurves
public SWIGTYPE_p_rw__core__PtrT_rw__geometry__ImplicitBREP__CommonParametricCurveSet_const_t getCommonCurves(SWIGTYPE_p_std__setT_unsigned_long_t faces)
-
addEdge
public void addEdge(ParametricCurve curve, long v1, long v2)
Add a ParametricCurve to the BREP.
Notice that the curve has direction. It is expected to have limits such that it starts in
vertex v1 and end in v2.
- Parameters:
curve
- [in] curve to add.v1
- [in] the start vertex.v2
- [in] the end vertex.
-
setFace
public void setFace(ImplicitSurface surface, long loop)
Attach an ImplicitSurface to a face of the BREP.- Parameters:
surface
- [in] surface to add.loop
- [in] the loop index for the loop to attach surface to.
-
-