AnyCAD Rapid SDK  2020
The Rapid CAD SDK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
SketchBuilder Class Reference

Public Member Functions

synchronized void delete ()
 

Static Public Member Functions

static TopoShape MakeVertex (GPnt pt)
 
static TopoShape MakeLine (GPnt start, GPnt end)
 
static TopoShape MakeCircle (GPnt center, double radius, GDir zdir)
 
static TopoShape MakeEllipse (GPnt center, double majorRadius, double minorRadius, GDir xdir, GDir zdir)
 
static TopoShape MakeArcOfCircle (GCirc circle, GPnt start, GPnt end)
 
static TopoShape MakeArcOfCircle (GCirc circle, double start, double end)
 
static TopoShape MakeArcOfCircle (GPnt start, GPnt end, GPnt middle)
 
static TopoShape MakeArcOfEllipse (GElips elips, double start, double end)
 
static TopoShape MakeRectangle (GAx2 coord, double len, double width, double radius, boolean bFiled)
 
static TopoShape MakePolygon (GPntList points, boolean bClosed)
 
static TopoShape MakePolygon (GPntList points, double radius, boolean bFilled)
 
static TopoShape MakeBSpline (GPntList points, boolean periodicFlag)
 
static TopoShape MakeBSpline (GPntList points)
 
static TopoShape MakeBSpline (GPntList poles, DoubleList parameters, boolean periodicFlag)
 
static TopoShape MakeBSpline (GPntList poles, DoubleList parameters)
 
static TopoShape MakeBSpline (GPntList poles, DoubleList weights, DoubleList knots, Uint32List multiplicities, long degree, boolean periodicFlag, boolean checkRational)
 
static TopoShape MakeBSpline (GPntList poles, DoubleList weights, DoubleList knots, Uint32List multiplicities, long degree, boolean periodicFlag)
 
static TopoShape MakeBSpline (GPntList poles, DoubleList weights, DoubleList knots, Uint32List multiplicities, long degree)
 
static TopoShape MakeSpiral (double radius, double interval, double count, GAx3 ax)
 
static TopoShape ToBSplineCurve (TopoShapeList curves, EnumConvertParameterisationType type)
 
static TopoShape ToBSplineCurve (TopoShapeList curves)
 
static TopoShape ToBSplineCurve (TopoShape curve, EnumConvertParameterisationType type)
 
static TopoShape ToBSplineCurve (TopoShape curve)
 
static TopoShape MakeWire (TopoShape edge)
 
static TopoShape MakeWire (TopoShapeList edges)
 
static TopoShape MakePolygonFace (GPntList points)
 
static TopoShape MakePlanarFace (TopoShape closedWire)
 
static TopoShape MakePlanarFace (GPln plane, double minU, double maxU, double minV, double maxV)
 
static TopoShape TrimCurve (TopoShape curve, double startP, double endP)
 
static TopoShape AddHole (TopoShape face, TopoShape wireOfHole)
 
static TopoShape AddHoles (TopoShape face, TopoShapeList wiresOfHoles)
 

Protected Member Functions

 SketchBuilder (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (SketchBuilder obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description


ShapeBuilder

Method to build basic shapes.

Member Function Documentation

static TopoShape SketchBuilder.MakeBSpline ( GPntList  points,
boolean  periodicFlag 
)
static

Make BSpline

Parameters
pointsthe control points.
periodicFlagif true the constrained BSpline curve will be periodic and closed.
In this case, the junction point is the first point of the table Points.
static TopoShape SketchBuilder.MakeBSpline ( GPntList  points)
static

Make BSpline

Parameters
pointsthe control points.
static TopoShape SketchBuilder.MakeBSpline ( GPntList  poles,
DoubleList  parameters,
boolean  periodicFlag 
)
static

Make BSpline
Warning

  • There must be at least 2 points in the table Points.
  • If PeriodicFlag is false, there must be as
    many parameters in the array Parameters as
    there are points in the array Points.
  • If PeriodicFlag is true, there must be one
    more parameter in the table Parameters: this
    is used to give the parameter on the
    resulting BSpline curve of the junction point
    of the curve (which is also the first point of the table Points).
static TopoShape SketchBuilder.MakeBSpline ( GPntList  poles,
DoubleList  parameters 
)
static

Make BSpline
Warning

  • There must be at least 2 points in the table Points.
  • If PeriodicFlag is false, there must be as
    many parameters in the array Parameters as
    there are points in the array Points.
  • If PeriodicFlag is true, there must be one
    more parameter in the table Parameters: this
    is used to give the parameter on the
    resulting BSpline curve of the junction point
    of the curve (which is also the first point of the table Points).