All Frameworks  Object Hierarchy  This Framework  Indexes   

Ellipse2D (Object)

Class defining an ellipse in 2D Space.

Property Index

CenterPoint
Returns the center point of the ellipse.
MajorRadius
Returns the radius of the ellipse major axis
MinorRadius
Returns the radius of the ellipse minor axis

Method Index

GetCenter
Returns the center of the ellipse in 2D space
GetMajorAxis
Returns the unit vector of the major axis of the ellipse in 2D space
GetMinorAxis
Returns the unit vector of the minor axis of the ellipse in 2D space
SetData
Modifies the caracteristics of the ellipse

Properties


o Property CenterPoint() As
Returns the center point of the ellipse.
Parameters:
iCenterPoint
The center point of the ellipse
o Property MajorRadius() As (Read Only)
Returns the radius of the ellipse major axis
Parameters:
oMajorRadius
The radius of the major axis
o Property MinorRadius() As (Read Only)
Returns the radius of the ellipse minor axis
Parameters:
oMinorRadius
The radius of the minor axis

Methods


o Sub GetCenter( oCenter)
Returns the center of the ellipse in 2D space
Parameters:
oCenter[0]
The X Coordinate of the center point of the ellipse
oCenter[1]
The Y Coordinate of the center point of the ellipse
o Sub GetMajorAxis( oMajorAxis)
Returns the unit vector of the major axis of the ellipse in 2D space
Parameters:
oMajorAxis[0]
The length of the major axis
oMajorAxis[1]
The length of the major axis
o Sub GetMinorAxis( oMajorAxis)
Returns the unit vector of the minor axis of the ellipse in 2D space
Parameters:
oMinorAxis[0]
The length of the major axis
oMinorAxis[1]
The length of the major axis
o Sub SetData( iCenterX,
iCenterY,
iMajorX,
iMajorY,
iMajorRadius,
iMinorRadius)
Modifies the caracteristics of the ellipse
Parameters:
iCenterX
The X Coordinate of the ellipse center
iCenterY
The Y Coordinate of the ellipse center
iMajorX
The X coordinate of the Major axis direction
iMajorY
The Y coordinate of the Major axis direction
iMajorRadius
The length of the major axis
iMinorRadius
The length of the minor axis

Copyright © 2003, Dassault Systèmes. All rights reserved.