Home | Trees | Indices | Help |
|
---|
|
init(MultipleInvocations)
Create an instance of an Arc geometry object.
init(threePoints)
Creates an arc using the 3 points contained in the tuple. If startPoint and endPoint (threePoints[0] and threePoints[2]) and are equal, then the arc will be coincident with the circle whose center point is midway between startPoint and midpoint (threePoints[0] and threePoints[1]).
Parameters
threePoints (tuple of FMEPoint)
- The tuple containing 3 points to
create the arc.
Returns: FMEArc
init(twoPoints, bulge)
Creates an arc using the 2 points contained in the tuple, and the supplied 'bulge' value. All angles are CCW up from the horizontal, and are measured in degrees.
Parameters
twoPoints (tuple of FMEPoint)
- The tuple containing 2 points to
create the arc.
bulge (float)
- The bulge value for the arc to be
created.
Returns: FMEArc
init(centerPoint, rotation, primaryRadius, secondaryRadius, startAngle, sweepAngle)
Creates an arc using the center point supplied, along with the supplied radii and angles. Measures on the center point will be ignored. All angles are CCW up from the horizontal, and are measured in degrees.
Parameters
centerPoint (FMEPoint)
- The centerPoint of the arc.
rotation (float)
- The rotation of the arc.
primaryRadius (float)
- The primary radius of the arc.
secondaryRadius (float)
- The secondary radius of the
arc.
startAngle (float)
- The start angle of the arc.
sweepAngle (float)
- The sweep angle of the arc.
Returns: FMEArc
init(centerPoint, rotation, primaryRadius, secondaryRadius, startAngle, sweepAngle, startPoint, endPoint)
Creates an arc using the center point supplied, along with the supplied radii, angles, and points. All angles are CCW up from the horizontal, and are measured in degrees.
Parameters
centerPoint (FMEPoint)
- The centerPoint of the arc.
rotation (float)
- The rotation of the arc.
primaryRadius (float)
- The primary radius of the arc.
secondaryRadius (float)
- The secondary radius of the
arc.
startAngle (float)
- The start angle of the arc.
sweepAngle (float)
- The sweep angle of the arc.
startPoint (FMEPoint)
- (Optional) The start point of the
arc.
endPoint (FMEPoint)
- (Optional) The end point of the
arc.
Returns: FMEArc
init(twoPoints, radius, counterClockwise)
Creates an arc using the 2 points contained in the tuple, and the
supplied 'radius' and points. startPoint and endPoint (twoPoints[0] and
twoPoints[1]) must not be None
.
Parameters
twoPoints (tuple of FMEPoint)
- The tuple containing 2 points to
create the arc.
radius (float)
- The radius value for the arc to be
created.
counterClockwise (bool)
- Whether to create a
counter-clockwise arc.
Returns: FMEArc
init(arc)
Create a copy of the passed in Arc geometry object.
Parameters
arc FMEArc
- The Arc geometry object to create a
copy of.
Returns: FMEArc
|
|||
|
|||
FMEPath |
|
||
None
|
|
||
None
|
|
||
None
|
|
||
float
|
|
||
FMEPoint |
|
||
tuple of float s
|
|
||
FMEPoint |
|
||
float
|
|
||
tuple of FMEPoints
|
|
||
tuple of FMEPoints and float
|
|
||
tuple of FMEPoints and float s
|
|
||
float
|
|
||
float
|
|
||
float
|
|
||
float
|
|
||
bool
|
|
||
bool
|
|
||
bool
|
|
||
int
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Returns an equivalent path consisting of two smaller arcs. These two arcs do not necessarily have equal length.
|
Converts to an arc by 3 points. If the arc is not circular (isCircular() returns
|
Converts to an arc by bulge. If the arc is not circular (isCircular() returns
|
Converts to an arc by center point. If the arc cannot be converted, then an error is returned.
|
Returns the bulge value. An error is returned if an error occurs.
|
Returns the center point of the arc. An error is returned if an error occurs.
|
Return the values of the measure named by 'measureName', otherwise
returns the values of the defaut measure. Returns an error if the measure
does not exist. If 'as3Points' is
|
Returns mid point, which will be interpolated halfway along the arc if the underlying storage is not by 3 points. If an arc is elliptical, an error is returned.
|
Returns the primary radius of the arc.
|
Returns the arc geometry as a tuple of three points. If the arc is elliptical, an error is returned. The structure of the tuple returned is as follows: (startPoint, midPoint, endPoint).
|
Returns the arc geometry as a tuple of two points and a bulge value. If the arc is elliptical, an error is returned. The structure of the tuple returned is as follows: (startPoint, midPoint, bulge).
|
Returns the arc properties. If 'withEnds' is The structure of the tuple returned if withEnds is The structure of the tuple returned if withEnds is
|
Returns the rotation of the arc. All angles are CCW up from the horizontal, and are measured in degrees.
|
Returns the secondary radius of the arc.
|
All angles are CCW up from the horizontal. Note: startAngle is a t angle. Refer to the @Arc (function) in the FME Functions and Factories manual for a detailed definition of startAngle.
|
All angles are CCW up from the horizontal. Note: sweepAngle is a t angle. Refer to the @Arc (function) in the FME Functions and Factories manual for a detailed definition of sweepAngle.
|
This returns
|
This returns
|
This returns
|
Returns the arc type whose parameters that define the arc can be retrieved most efficiently and accurately.
|
Sets the center point of the arc. The arc is converted to an arc by center point as a result of this method.
|
This assigns the values given in the tuple 'measureTuple' to the default measure, or the measure named by 'measureName' if given. This creates the measure if it doesn't already exist. If 'as3Points' is
|
Sets the midpoint of the arc. It only sets the midpoint if the arc can be successfully converted to an arc by mid point.
|
Sets the primary radius of the arc. The arc is converted to an arc by center point before setting the primary radius.
|
Sets the rotation of the arc. The arc is converted to an arc by center point before setting the rotation.
|
Sets the secondary radius of the arc. The arc is converted to an arc by center point before setting the secondary radius.
|
Sets the start angle of the arc, measured counter-clockwise up from the horizontal. Note: 'startAngle' is a t angle. Refer to the @Arc (function) in the FME Functions and Factories manual for a detailed definition of startAngle.
|
Sets the sweep angle of the arc, measured counter-clockwise up from the horizontal. Note: 'sweepAngle' is a t angle. The arc is first converted to an arc by center point before the 'sweepAngle' is set. Refer to the @Arc (function) in the FME Functions and Factories manual for a detailed definition of sweepAngle.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 20 06:20:53 2017 | http://epydoc.sourceforge.net |