SketchArc Class
The commands in the SketchArc class are described below.
.
More...
Inherits SketchItem.
Public Member Functions | |
| virtual void | AddPropertyByReference (String &name, ReferenceObject *value) |
| Adds ReferenceObject object to a specified variable. More... | |
| SketchVertex * | GetCenterVertex () |
| Returns the center point of the arc. More... | |
| SketchVertex * | GetEndVertex () |
| Returns the end point of the arc. More... | |
| ItemObject * | GetItem (Variant &value) |
| Returns an item displayed in the [Model Manager] tree such as assembly, part and sketch. Index is numbered in the order of the each items shown in the tree. More... | |
| String | GetName () |
| Returns a name. More... | |
| virtual Variant | GetProperty (String &name) |
| Returns the value of the property with the specified name. More... | |
| double | GetRadius () |
| Returns the radius of the arc. More... | |
| String | GetScriptTypeName () |
| Returns the name of the object type as a string. More... | |
| SketchVertex * | GetStartVertex () |
| Returns the start point of the arc. More... | |
| virtual bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumItems () |
| Returns the number of items. More... | |
| void | SetCenter (double center_x, double center_y) |
| Specifies the center point of the arc in the coordinate. More... | |
| void | SetCenterVertex (SketchVertex *v) |
| Specifies the center point of the arc to be the same position as the existing point. More... | |
| void | SetData (double center_x, double center_y, double radius) |
| Specifies the center point of the arc in the coordinate and the radius of the arc. More... | |
| void | SetEnd (double end_x, double end_y) |
| Specifies the end point of the arc in the coordinate. More... | |
| void | SetEndVertex (SketchVertex *v) |
| Specifies the end point of the arc to be the same position as the existing point. More... | |
| void | SetName (String &name) |
| Specifies a name. More... | |
| void | SetProperty (String &name, Variant &value) |
| Specifies a value of property. More... | |
| virtual void | SetPropertyByReference (String &name, ReferenceObject *value) |
| Specifies the values in properties by ReferenceObject object. More... | |
| void | SetRadius (double r) |
| Specifies the radius of the arc. More... | |
| void | SetStart (double start_x, double start_y) |
| Specifies the start point of the arc in the coordinate. More... | |
| void | SetStartVertex (SketchVertex *v) |
| Specifies the start point of the arc to be the same position as the existing point. More... | |
SketchArc Class
The commands in the SketchArc class are described below.
.
The SketchArc class includes the commands for the following operation.
For more information about the properties for this class, see here .
|
virtualinherited |
Adds ReferenceObject object to a specified variable.
| name | Property name |
| value | ReferenceObject object (target) |
| SketchVertex * SketchArc::GetCenterVertex | ( | ) |
Returns the center point of the arc.
| SketchVertex * SketchArc::GetEndVertex | ( | ) |
Returns the end point of the arc.
|
inherited |
Returns an item displayed in the [Model Manager] tree such as assembly, part and sketch. Index is numbered in the order of the each items shown in the tree.
| value | Item name or index |
|
inherited |
Returns a name.
|
virtualinherited |
Returns the value of the property with the specified name.
| name | Property name |
| double SketchArc::GetRadius | ( | ) |
Returns the radius of the arc.
|
inherited |
Returns the name of the object type as a string.
| SketchVertex * SketchArc::GetStartVertex | ( | ) |
Returns the start point of the arc.
|
virtualinherited |
Returns True if an object is valid.
Reimplemented from ItemObject.
|
inherited |
Returns the number of items.
| void SketchArc::SetCenter | ( | double | center_x, |
| double | center_y | ||
| ) |
Specifies the center point of the arc in the coordinate.
| center_x | Center point in the X coordinate |
| center_y | Center point in the Y coordinate |
| void SketchArc::SetCenterVertex | ( | SketchVertex * | v | ) |
Specifies the center point of the arc to be the same position as the existing point.
| v | SketchVertex object |
| void SketchArc::SetData | ( | double | center_x, |
| double | center_y, | ||
| double | radius | ||
| ) |
Specifies the center point of the arc in the coordinate and the radius of the arc.
| center_x | Center point in the X coordinate |
| center_y | Center point in the Y coordinate |
| radius |
| void SketchArc::SetEnd | ( | double | end_x, |
| double | end_y | ||
| ) |
Specifies the end point of the arc in the coordinate.
| end_x | End point in the X coordinate |
| end_y | End point in the Y coordinate |
| void SketchArc::SetEndVertex | ( | SketchVertex * | v | ) |
Specifies the end point of the arc to be the same position as the existing point.
| v | SketchVertex object |
|
inherited |
Specifies a name.
| name | Item name |
|
virtualinherited |
Specifies a value of property.
| name | Property name |
| value | Value of properties |
Reimplemented from ItemObject.
|
virtualinherited |
Specifies the values in properties by ReferenceObject object.
| name | Property name |
| value | ReferenceObject object (target) |
| void SketchArc::SetRadius | ( | double | r | ) |
Specifies the radius of the arc.
| r | Radius of the arc |
| void SketchArc::SetStart | ( | double | start_x, |
| double | start_y | ||
| ) |
Specifies the start point of the arc in the coordinate.
| start_x | Start point in the X coordinate |
| start_y | Start point in the Y coordinate |
| void SketchArc::SetStartVertex | ( | SketchVertex * | v | ) |
Specifies the start point of the arc to be the same position as the existing point.
| v | SketchVertex object |