Creates a partial ellipse given a center point, two points that specify the major and minor axis, and two points that define the elliptical start and end points.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateEllipticalArc( _
ByVal XC As Double, _
ByVal YC As Double, _
ByVal Zc As Double, _
ByVal XMajor As Double, _
ByVal YMajor As Double, _
ByVal ZMajor As Double, _
ByVal XMinor As Double, _
ByVal YMinor As Double, _
ByVal ZMinor As Double, _
ByVal X1 As Double, _
ByVal Y1 As Double, _
ByVal Z1 As Double, _
ByVal X2 As Double, _
ByVal Y2 As Double, _
ByVal Z2 As Double, _
ByVal Direction As Short _
) As SketchSegment |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim XC As Double
Dim YC As Double
Dim Zc As Double
Dim XMajor As Double
Dim YMajor As Double
Dim ZMajor As Double
Dim XMinor As Double
Dim YMinor As Double
Dim ZMinor As Double
Dim X1 As Double
Dim Y1 As Double
Dim Z1 As Double
Dim X2 As Double
Dim Y2 As Double
Dim Z2 As Double
Dim Direction As Short
Dim value As SketchSegment
value = instance.CreateEllipticalArc(XC, YC, Zc, XMajor, YMajor, ZMajor, XMinor, YMinor, ZMinor, X1, Y1, Z1, X2, Y2, Z2, Direction)
|
C# | |
---|
SketchSegment CreateEllipticalArc(
double XC,
double YC,
double Zc,
double XMajor,
double YMajor,
double ZMajor,
double XMinor,
double YMinor,
double ZMinor,
double X1,
double Y1,
double Z1,
double X2,
double Y2,
double Z2,
short Direction
) |
C++/CLI | |
---|
SketchSegment^ CreateEllipticalArc(
& double XC,
& double YC,
& double Zc,
& double XMajor,
& double YMajor,
& double ZMajor,
& double XMinor,
& double YMinor,
& double ZMinor,
& double X1,
& double Y1,
& double Z1,
& double X2,
& double Y2,
& double Z2,
& short Direction
) |
Parameters
- XC
- X coordinate for the ellipse center point
- YC
- Y coordinate for the ellipse center point
- Zc
- Z coordinate for the ellipse center point
- XMajor
- X coordinate for a point on the ellipse and on the major axis
- YMajor
- Y coordinate for a point on the ellipse and on the major axis
- ZMajor
- Z coordinate for a point on the ellipse and on the major axis
- XMinor
- X coordinate for a point on the ellipse and on the minor axis
- YMinor
- Y coordinate for a point on the ellipse and on the minor axis
- ZMinor
- Z coordinate for a point on the ellipse and on the minor axis
- X1
- X coordinate for counter-clockwise elliptical arc start point
- Y1
- Y coordinate for counter-clockwise elliptical arc start point
- Z1
- Z coordinate for counter-clockwise elliptical arc start point
- X2
- X coordinate for counter-clockwise elliptical arc end point
- Y2
- Y coordinate for counter-clockwise elliptical arc end point
- Z2
- Z coordinate for counter-clockwise elliptical arc end point
- Direction
- +1 : Go from the start point to the end point in a counter-clockwise direction
- -1 : Go from the start point to the end point in a clockwise direction
Return Value
Sketch segment for the elliptical arc
Remarks
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0