SketchLines.addCenterPointRectangle Method
Parent Object:
SketchLinesDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/SketchLines.h>
Description
Creates four sketch lines representing a rectangle where the first point represents the center of the rectangle. The second point is the corner of the rectangle and can be either an existing SketchPoint or Point3D object. The four sketch lines are returned.
Syntax
"sketchLines_var" is a variable referencing a SketchLines object.returnValue = sketchLines_var.addCenterPointRectangle(centerPoint, cornerPoint)
|
"sketchLines_var" is a variable referencing a SketchLines object.
#include <Fusion/Sketch/SketchLines.h>
returnValue = sketchLines_var->addCenterPointRectangle(centerPoint, cornerPoint);
|
Return Value
SketchLineList |
Returns the four new sketch lines or null if the creation failed. |
Parameters
centerPoint |
Point3D |
The center point of the rectangle |
cornerPoint |
Base |
The corner of the rectangle. It can be a SketchPoint or Point3D object. |
Samples
Version
Introduced in version August 2014