SketcherInterfaces Circle2D (Object)
All Frameworks Object Hierarchy This Framework Previous Next Indexes
Circle2D (Object)
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---AnyObject
|
+---GeometricElement
|
+---Geometry2D
|
+---Curve2D
|
+---Circle2D
Class defining a circle in 2D Space.
Property Index
-
CenterPoint
- Returns the center point of the circle.
-
Radius
- Returns the radius of the circle
Method Index
-
GetCenter
- Returns the center of the circle
-
SetData
- Modifies the caracteristics of the circle
Properties
-
Returns the center point of the circle.
- Parameters:
-
- oCenterPoint
- The center point of the circle
o Property Radius( | ) As double (Read Only) |
-
Returns the radius of the circle
- Parameters:
-
- oRadius
- The radius of the circle
Methods
-
Returns the center of the circle
- Parameters:
-
- oData[0]
- The X Coordinate of the circle center point
- oData[1]
- The Y Coordinate of the circle center point
- Example:
- The following example reads the coordinates of the center
of the circle myCircle:
double center(1)
myCircle.GetCenter center
o Sub SetData( | double | iCenterX, |
| double | iCenterY, |
| double | iRadius) |
-
Modifies the caracteristics of the circle
- Parameters:
-
- iCenterX
- The X Coordinate of the circle center
- iCenterY
- The Y Coordinate of the circle center
- iRadius
- The radius of the circle
Copyright © 2003, Dassault Systèmes. All rights reserved.