public interface CurveCollection extends TaggedObjectCollection
Curve
.
Iterating this collection only returns live uncondemned objects contained in the owning part
of the collection. Note that Curve
is a smart object and many smart objects are condemned as they
only exist to support other objects and are not displayed. Condemned objects will be deleted when
their references go away. BasePart
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
Arc |
createArc(Point3d center,
NXMatrix matrix,
double radius,
double startAngle,
double endAngle)
Creates an
Arc . |
Arc |
createArc(Point3d startPoint,
Point3d pointOn,
Point3d endPoint,
boolean alternateSolution)
Creates an
Arc that passes through the three specified points. |
Arc |
createArc(Point3d center,
Vector3d xDirection,
Vector3d yDirection,
double radius,
double startAngle,
double endAngle)
Creates an
Arc . |
Ellipse |
createEllipse(Point3d center,
double majorRadius,
double minorRadius,
double startAngle,
double endAngle,
double rotationAngle,
NXMatrix matrix)
Creates an
Ellipse . |
Ellipse |
createEllipse(Point3d center,
Vector3d xDirection,
Vector3d yDirection,
double majorRadius,
double minorRadius,
double startAngle,
double endAngle)
Creates an
Ellipse . |
ICurve |
createExtractedCurve(ICurve curveToExtract,
int type,
int subtype,
Xform xform,
double tolerance,
SmartObject.UpdateOption updateOption)
Creates a
Curve . |
Hyperbola |
createHyperbola(Point3d center,
double semiTransverseLength,
double semiConjugateLength,
double minimumDY,
double maximumDY,
double rotationAngle,
NXMatrix matrix)
Creates a
Hyperbola . |
Hyperbola |
createHyperbola(Point3d center,
Vector3d xDirection,
Vector3d yDirection,
double semiTransverseLength,
double semiConjugateLength,
double minimumDY,
double maximumDY)
Creates a
Hyperbola . |
InfiniteLine |
createInfiniteLine(Point3d startPoint,
Point3d endPoint)
Creates a
InfiniteLine that passes through the two specified points. |
Line |
createLine(Point3d startPoint,
Point3d endPoint)
Creates a
Line . |
Line |
createLine(Point startPoint,
Point endPoint)
|
InfiniteLine |
createPairedInfiniteLine(Line line)
Creates a paired
InfiniteLine that is paired to the specified line. |
Parabola |
createParabola(Point3d center,
double focalLength,
double minimumDY,
double maximumDY,
double rotationAngle,
NXMatrix matrix)
Creates a
Parabola . |
Parabola |
createParabola(Point3d center,
Vector3d xDirection,
Vector3d yDirection,
double focalLength,
double minimumDY,
double maximumDY)
Creates a
Parabola . |
Curve |
createSmartCompositeCurve(Curve curve,
SmartObject.UpdateOption updateOption)
Creates a
Curve . |
Curve |
createSmartCompositeCurve(Section section,
SmartObject.UpdateOption updateOption,
double tolerance)
Creates a
Curve . |
Curve |
createVirtualBlendCurve(SmartObject.UpdateOption updateOption,
IParameterizedSurface blendFace,
double tolerance)
Creates a
Curve . |
Curve |
createVirtualCenterlineCurve(SmartObject.UpdateOption updateOption,
IParameterizedSurface blendFace,
double tolerance)
Creates a
Curve . |
_find_next, iterator
Line createLine(Point3d startPoint, Point3d endPoint) throws NXException, RemoteException
Line
.
startPoint
- Start pointendPoint
- End pointNXException
RemoteException
Line createLine(Point startPoint, Point endPoint) throws NXException, RemoteException
Line
joining given start Point
and
End Point
.
startPoint
- Start Point
endPoint
- End Point
NXException
RemoteException
InfiniteLine createInfiniteLine(Point3d startPoint, Point3d endPoint) throws NXException, RemoteException
InfiniteLine
that passes through the two specified points.
startPoint
- Start pointendPoint
- End pointNXException
RemoteException
InfiniteLine createPairedInfiniteLine(Line line) throws NXException, RemoteException
InfiniteLine
that is paired to the specified line.
line
- Paired Line
NXException
RemoteException
Arc createArc(Point3d startPoint, Point3d pointOn, Point3d endPoint, boolean alternateSolution) throws NXException, RemoteException
Arc
that passes through the three specified points.
startPoint
- Start pointpointOn
- Point that the arc passes through.endPoint
- End pointalternateSolution
- If true, the arc will be created using the alternate solution instead of the regular solution.
The alternate solution for an arc is the portion of the full circle that is left out of the
regular solution. For example, if the regular solution is an arc that goes from 0 to 45 degrees,
the alternate solution will be an arc with the same center and origin but that goes from 45 degrees to 360.NXException
RemoteException
Arc createArc(Point3d center, NXMatrix matrix, double radius, double startAngle, double endAngle) throws NXException, RemoteException
Arc
. The arc will be created in a plane which passes
through center and whose normal is the Z axis of the orientation
matrix. (matrix.Element.xx, matrix.Element.xy, matrix.Element.xz) is the X axis of the
orientation matrix. (matrix.Element.yx, matrix.Element.yy, matrix.Element.yz) is the
Y axis of the orientation matrix. The start and end angles are measured relative to
the X and Y axis of this orientation matrix.
center
- Center of the arcmatrix
- Orientation matrix for the arc.radius
- Radius of the arc. Must be greater than zero.startAngle
- Start angle in radiansendAngle
- End angle in radiansNXException
RemoteException
Arc createArc(Point3d center, Vector3d xDirection, Vector3d yDirection, double radius, double startAngle, double endAngle) throws NXException, RemoteException
Arc
. The arc will be created
through the origin and whose normal is Z axis. The start
and end angles are measured relative to the X and Y axes.
center
- Center of the arcxDirection
- X direction of the arcyDirection
- Y direction of the arcradius
- Radius of the arc. Must be greater than zero.startAngle
- Start angle in radiansendAngle
- End angle in radiansNXException
RemoteException
Ellipse createEllipse(Point3d center, double majorRadius, double minorRadius, double startAngle, double endAngle, double rotationAngle, NXMatrix matrix) throws NXException, RemoteException
Ellipse
. The ellipse will be created in a plane which passes
through center and whose normal is the Z axis of the orientation
matrix. (matrix.Element.xx, matrix.Element.xy, matrix.Element.xz) is the X axis of the
orientation matrix. (matrix.Element.yx, matrix.Element.yy, matrix.Element.yz) is the
Y axis of the orientation matrix. The start, end, and rotation angles are measured
relative to the X and Y axis of this orientation matrix.
center
- Center of ellipsemajorRadius
- Major radiusminorRadius
- Minor radiusstartAngle
- Start angle in radiansendAngle
- End angle in radiansrotationAngle
- Rotation angle in radiansmatrix
- Orientation matrix for the ellipseNXException
RemoteException
Ellipse createEllipse(Point3d center, Vector3d xDirection, Vector3d yDirection, double majorRadius, double minorRadius, double startAngle, double endAngle) throws NXException, RemoteException
Ellipse
. The ellipse will be created
through the origin and whose normal is Z axis. The start
and end angles are measured relative to the X and Y axes.
center
- Center of the ellipsexDirection
- X direction of the ellipseyDirection
- Y direction of the ellipsemajorRadius
- Major radius of the ellipse. Must be greater than zero.minorRadius
- Minor radius of the ellipse. Must be greater than zero.startAngle
- Start angle in radiansendAngle
- End angle in radiansNXException
RemoteException
Parabola createParabola(Point3d center, double focalLength, double minimumDY, double maximumDY, double rotationAngle, NXMatrix matrix) throws NXException, RemoteException
Parabola
. The parabola will be created in a plane which passes
through center and whose normal is the Z axis of the orientation
matrix. (matrix.Element.xx, matrix.Element.xy, matrix.Element.xz) is the X axis of the
orientation matrix. (matrix.Element.yx, matrix.Element.yy, matrix.Element.yz) is the
Y axis of the orientation matrix. The rotation angle is measured relative to the
X and Y axis of this orientation matrix.
center
- Center of parabolafocalLength
- Focal lengthminimumDY
- Minimum DY widthmaximumDY
- Maximum DY widthrotationAngle
- Rotation angle in radiansmatrix
- Orientation matrix for the parabolaNXException
RemoteException
Parabola createParabola(Point3d center, Vector3d xDirection, Vector3d yDirection, double focalLength, double minimumDY, double maximumDY) throws NXException, RemoteException
Parabola
. The parabola will be created
through the origin and whose normal is Z axis.
center
- Center of the parabolaxDirection
- X direction of the parabolayDirection
- Y direction of the parabolafocalLength
- Focal lengthminimumDY
- Minimum DY widthmaximumDY
- Maximum DY widthNXException
RemoteException
Hyperbola createHyperbola(Point3d center, double semiTransverseLength, double semiConjugateLength, double minimumDY, double maximumDY, double rotationAngle, NXMatrix matrix) throws NXException, RemoteException
Hyperbola
. The hyperbola will be created in a plane which passes
through center and whose normal is the Z axis of the orientation
matrix. (matrix.Element.xx, matrix.Element.xy, matrix.Element.xz) is the X axis of the
orientation matrix. (matrix.Element.yx, matrix.Element.yy, matrix.Element.yz) is the
Y axis of the orientation matrix. The rotation angle is measured relative to the
X and Y axis of this orientation matrix.
center
- Center of hyperbolasemiTransverseLength
- Semi-transverse lengthsemiConjugateLength
- Semi-conjugate lengthminimumDY
- Minimum DY widthmaximumDY
- Maximum DY widthrotationAngle
- Rotation angle in radiansmatrix
- Orientation matrix for the hyperbolaNXException
RemoteException
Hyperbola createHyperbola(Point3d center, Vector3d xDirection, Vector3d yDirection, double semiTransverseLength, double semiConjugateLength, double minimumDY, double maximumDY) throws NXException, RemoteException
Hyperbola
. The hyperbola will be created
through the origin and whose normal is Z axis.
center
- Center of the hyperbolaxDirection
- X direction of the hyperbolayDirection
- Y direction of the hyperbolasemiTransverseLength
- Semi-transverse lengthsemiConjugateLength
- Semi-conjugate lengthminimumDY
- Minimum DY widthmaximumDY
- Maximum DY widthNXException
RemoteException
Curve createVirtualBlendCurve(SmartObject.UpdateOption updateOption, IParameterizedSurface blendFace, double tolerance) throws NXException, RemoteException
Curve
. The virtual blend curve will be
created for the input blend face. The virtual blend curve behaves similarly
to the original edge that the blend face was applied on.
updateOption
- blendFace
- blend facetolerance
- tolerance for computing the facsimile curveNXException
RemoteException
Curve createVirtualCenterlineCurve(SmartObject.UpdateOption updateOption, IParameterizedSurface blendFace, double tolerance) throws NXException, RemoteException
Curve
. The virtual centerline curve will be
created for the input blend face.
updateOption
- blendFace
- blend facetolerance
- tolerance for computing the facsimile curveNXException
RemoteException
Curve createSmartCompositeCurve(Section section, SmartObject.UpdateOption updateOption, double tolerance) throws NXException, RemoteException
Curve
. The smart composite curve will be
created for the input section.
section
- Section from which smart composite curve will be createdupdateOption
- tolerance
- Tolerance used to join the section output curvesNXException
RemoteException
Curve createSmartCompositeCurve(Curve curve, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Curve
. The smart composite curve will be
created for the input curve.
curve
- Curve from which smart composite curve will be createdupdateOption
- NXException
RemoteException
ICurve createExtractedCurve(ICurve curveToExtract, int type, int subtype, Xform xform, double tolerance, SmartObject.UpdateOption updateOption) throws NXException, RemoteException
Curve
. The extracted curve will be
created for the input curve to extract.
curveToExtract
- Curve or edge to be extractedtype
- Typesubtype
- Sub-Typexform
- optional Xformtolerance
- tolerance for computing the extract curveupdateOption
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.