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 classImplicitBREP.CommonParametricCurveSetConvenience 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 voidaddEdge(ParametricCurve curve, long v1, long v2)Add a ParametricCurve to the BREP.
Notice that the curve has direction.ImplicitBREPPtrclone()voiddelete()SWIGTYPE_p_rw__core__PtrT_rw__geometry__ImplicitBREP__CommonParametricCurveSet_const_tgetCommonCurves(SWIGTYPE_p_std__setT_unsigned_long_t faces)static longgetCPtr(ImplicitBREP obj)ParametricCurvegetCurve(long curveIndex)SWIGTYPE_p_std__vectorT_rw__core__PtrT_rw__geometry__ParametricCurve_t_tgetCurves(long loopIdx)ImplicitSurfacegetSurface(long surfaceIndex)GeometryData.GeometryTypegetType()the type of this primitivevoidscale(double factor)voidsetFace(ImplicitSurface surface, long loop)Attach an ImplicitSurface to a face of the BREP.ImplicitShellCPtrshellProxy()-
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:
deletein classGeometryData
-
getType
public GeometryData.GeometryType getType()
Description copied from class:GeometryDatathe type of this primitive- Overrides:
getTypein 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.
-
-